org.apache.openejb.server.webservices
Class WsService
java.lang.Object
org.apache.openejb.server.webservices.WsService
- All Implemented Interfaces:
- DeploymentListener, SelfManaging, ServerService, Service
- Direct Known Subclasses:
- Axis2Service, AxisService, CxfService
public abstract class WsService
- extends java.lang.Object
- implements ServerService, SelfManaging, DeploymentListener
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
logger
public static final Logger logger
WS_ADDRESS_FORMAT
public static final java.lang.String WS_ADDRESS_FORMAT
- See Also:
- Constant Field Values
WsService
public WsService()
getWsAddressTemplate
public StringTemplate getWsAddressTemplate()
setWsAddressTemplate
public void setWsAddressTemplate(StringTemplate wsAddressTemplate)
getRealmName
public java.lang.String getRealmName()
setRealmName
public void setRealmName(java.lang.String realmName)
getTransportGuarantee
public java.lang.String getTransportGuarantee()
setTransportGuarantee
public void setTransportGuarantee(java.lang.String transportGuarantee)
getAuthMethod
public java.lang.String getAuthMethod()
setAuthMethod
public void setAuthMethod(java.lang.String authMethod)
getVirtualHost
public java.lang.String getVirtualHost()
setVirtualHost
public void setVirtualHost(java.lang.String virtualHost)
getIP
public java.lang.String getIP()
- Specified by:
getIP
in interface ServerService
getPort
public int getPort()
- Specified by:
getPort
in interface ServerService
init
public void init(java.util.Properties props)
throws java.lang.Exception
- Specified by:
init
in interface Service
- Throws:
java.lang.Exception
start
public void start()
throws ServiceException
- Specified by:
start
in interface ServerService
- Throws:
ServiceException
stop
public void stop()
throws ServiceException
- Specified by:
stop
in interface ServerService
- Throws:
ServiceException
createEjbWsContainer
protected abstract HttpListener createEjbWsContainer(java.net.URL moduleBaseUrl,
PortData port,
DeploymentInfo deploymentInfo)
throws java.lang.Exception
- Throws:
java.lang.Exception
destroyEjbWsContainer
protected abstract void destroyEjbWsContainer(java.lang.String deploymentId)
createPojoWsContainer
protected abstract HttpListener createPojoWsContainer(java.net.URL moduleBaseUrl,
PortData port,
java.lang.String serviceId,
java.lang.Class target,
javax.naming.Context context,
java.lang.String contextRoot)
throws java.lang.Exception
- Throws:
java.lang.Exception
destroyPojoWsContainer
protected abstract void destroyPojoWsContainer(java.lang.String serviceId)
afterApplicationCreated
public void afterApplicationCreated(AppInfo appInfo)
- Specified by:
afterApplicationCreated
in interface DeploymentListener
afterApplicationCreated
public void afterApplicationCreated(WebAppInfo webApp)
beforeApplicationDestroyed
public void beforeApplicationDestroyed(AppInfo appInfo)
- Specified by:
beforeApplicationDestroyed
in interface DeploymentListener
getEjbType
public static java.lang.String getEjbType(int type)
service
public void service(java.io.InputStream in,
java.io.OutputStream out)
throws ServiceException,
java.io.IOException
- Specified by:
service
in interface ServerService
- Throws:
ServiceException
java.io.IOException
service
public void service(java.net.Socket socket)
throws ServiceException,
java.io.IOException
- Specified by:
service
in interface ServerService
- Throws:
ServiceException
java.io.IOException
Copyright © 1999-2011 The Apache OpenEJB development community. All Rights Reserved.