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 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 String WS_ADDRESS_FORMAT
- See Also:
- Constant Field Values
WsService
public WsService()
getWsAddressTemplate
public StringTemplate getWsAddressTemplate()
setWsAddressTemplate
public void setWsAddressTemplate(StringTemplate wsAddressTemplate)
getRealmName
public String getRealmName()
setRealmName
public void setRealmName(String realmName)
getTransportGuarantee
public String getTransportGuarantee()
setTransportGuarantee
public void setTransportGuarantee(String transportGuarantee)
getAuthMethod
public String getAuthMethod()
setAuthMethod
public void setAuthMethod(String authMethod)
getVirtualHost
public String getVirtualHost()
setVirtualHost
public void setVirtualHost(String virtualHost)
getIP
public String getIP()
- Specified by:
getIP
in interface ServerService
getPort
public int getPort()
- Specified by:
getPort
in interface ServerService
init
public void init(Properties props)
throws Exception
- Specified by:
init
in interface Service
- Throws:
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(URL moduleBaseUrl,
PortData port,
DeploymentInfo deploymentInfo)
throws Exception
- Throws:
Exception
destroyEjbWsContainer
protected abstract void destroyEjbWsContainer(String deploymentId)
createPojoWsContainer
protected abstract HttpListener createPojoWsContainer(URL moduleBaseUrl,
PortData port,
String serviceId,
Class target,
Context context,
String contextRoot)
throws Exception
- Throws:
Exception
destroyPojoWsContainer
protected abstract void destroyPojoWsContainer(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 String getEjbType(int type)
service
public void service(InputStream in,
OutputStream out)
throws ServiceException,
IOException
- Specified by:
service
in interface ServerService
- Throws:
ServiceException
IOException
service
public void service(Socket socket)
throws ServiceException,
IOException
- Specified by:
service
in interface ServerService
- Throws:
ServiceException
IOException
Copyright © 1999-2013 The Apache OpenEJB development community. All Rights Reserved.