org.apache.openejb.server.cxf.rs
Class CxfRSService

java.lang.Object
  extended by org.apache.openejb.server.rest.RESTService
      extended by org.apache.openejb.server.cxf.rs.CxfRSService
All Implemented Interfaces:
org.apache.openejb.server.SelfManaging, org.apache.openejb.server.ServerService, org.apache.openejb.spi.Service

public class CxfRSService
extends RESTService


Nested Class Summary
 
Nested classes/interfaces inherited from class org.apache.openejb.server.rest.RESTService
RESTService.DeployedService
 
Field Summary
 
Fields inherited from class org.apache.openejb.server.rest.RESTService
LOGGER, NOPATH_PREFIX, OPENEJB_JAXRS_PROVIDERS_AUTO_PROP, OPENEJB_USE_APPLICATION_PROPERTY
 
Constructor Summary
CxfRSService()
           
 
Method Summary
protected  void beforeStart()
           
protected  boolean containsJaxRsConfiguration(Properties properties)
           
protected  RsHttpListener createHttpListener()
           
 String getName()
           
 void init(Properties properties)
           
 void service(InputStream in, OutputStream out)
           
 void service(Socket socket)
           
 
Methods inherited from class org.apache.openejb.server.rest.RESTService
afterApplicationCreated, afterApplicationCreated, beforeApplicationDestroyed, getAuth, getIP, getPort, getRealm, getRestEjbs, getServices, getVirtualHost, getWildcard, logOldDeploymentUsage, setAuth, setRealm, setVirtualHost, start, stop
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CxfRSService

public CxfRSService()
Method Detail

service

public void service(InputStream in,
                    OutputStream out)
             throws org.apache.openejb.server.ServiceException,
                    IOException
Specified by:
service in interface org.apache.openejb.server.ServerService
Overrides:
service in class RESTService
Throws:
org.apache.openejb.server.ServiceException
IOException

service

public void service(Socket socket)
             throws org.apache.openejb.server.ServiceException,
                    IOException
Specified by:
service in interface org.apache.openejb.server.ServerService
Overrides:
service in class RESTService
Throws:
org.apache.openejb.server.ServiceException
IOException

getName

public String getName()

init

public void init(Properties properties)
          throws Exception
Specified by:
init in interface org.apache.openejb.spi.Service
Overrides:
init in class RESTService
Throws:
Exception

beforeStart

protected void beforeStart()
Overrides:
beforeStart in class RESTService

containsJaxRsConfiguration

protected boolean containsJaxRsConfiguration(Properties properties)
Specified by:
containsJaxRsConfiguration in class RESTService

createHttpListener

protected RsHttpListener createHttpListener()
Specified by:
createHttpListener in class RESTService


Copyright © 1999-2013 The Apache Software Foundation. All Rights Reserved.