public class CxfRSService extends RESTService
RESTService.DeployedServiceenabled, 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, wrapApplicationpublic void service(java.io.InputStream in,
java.io.OutputStream out)
throws ServiceException,
java.io.IOException
service in interface ServerServiceservice in class RESTServiceServiceExceptionjava.io.IOExceptionpublic void service(java.net.Socket socket)
throws ServiceException,
java.io.IOException
service in interface ServerServiceservice in class RESTServiceServiceExceptionjava.io.IOExceptionpublic java.lang.String getName()
public void integrateCDIAndJaxRsInjections(@Observes WebBeansContextBeforeDeploy event)
public void init(java.util.Properties properties)
throws java.lang.Exception
init in interface Serviceinit in class RESTServicejava.lang.Exceptionpublic void stop()
throws ServiceException
stop in interface ServerServicestop in class RESTServiceServiceExceptionprotected void beforeStart()
beforeStart in class RESTServiceprotected boolean containsJaxRsConfiguration(java.util.Properties properties)
containsJaxRsConfiguration in class RESTServiceprotected RsHttpListener createHttpListener()
RESTServicecreateHttpListener in class RESTServicepublic boolean isActive(java.lang.String name)