public class CxfRSService extends RESTService
RESTService.DeployedService
enabled, LOGGER, NOPATH_PREFIX, OPENEJB_JAXRS_PROVIDERS_AUTO_PROP, OPENEJB_USE_APPLICATION_PROPERTY
Constructor and Description |
---|
CxfRSService() |
Modifier and Type | Method and Description |
---|---|
protected void |
beforeStart() |
protected boolean |
containsJaxRsConfiguration(java.util.Properties properties) |
protected RsHttpListener |
createHttpListener()
It creates the service container (http listener).
|
java.lang.String |
getName() |
void |
init(java.util.Properties properties) |
void |
integrateCDIAndJaxRsInjections(WebBeansContextBeforeDeploy event) |
boolean |
isActive(java.lang.String name) |
void |
service(java.io.InputStream in,
java.io.OutputStream out) |
void |
service(java.net.Socket socket) |
void |
stop() |
afterApplicationCreated, afterApplicationCreated, getAuth, getIP, getPort, getRealm, getRestEjbs, getServices, getVirtualHost, getWildcard, hasBindings, logOldDeploymentUsage, setAuth, setRealm, setVirtualHost, start, undeploy, wrapApplication
public void service(java.io.InputStream in, java.io.OutputStream out) throws ServiceException, java.io.IOException
service
in interface ServerService
service
in class RESTService
ServiceException
java.io.IOException
public void service(java.net.Socket socket) throws ServiceException, java.io.IOException
service
in interface ServerService
service
in class RESTService
ServiceException
java.io.IOException
public java.lang.String getName()
public void integrateCDIAndJaxRsInjections(@Observes WebBeansContextBeforeDeploy event)
public void init(java.util.Properties properties) throws java.lang.Exception
init
in interface Service
init
in class RESTService
java.lang.Exception
public void stop() throws ServiceException
stop
in interface ServerService
stop
in class RESTService
ServiceException
protected void beforeStart()
beforeStart
in class RESTService
protected boolean containsJaxRsConfiguration(java.util.Properties properties)
containsJaxRsConfiguration
in class RESTService
protected RsHttpListener createHttpListener()
RESTService
createHttpListener
in class RESTService
public boolean isActive(java.lang.String name)