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.assembler.classic.DeploymentListener, org.apache.openejb.server.SelfManaging, org.apache.openejb.server.ServerService, org.apache.openejb.spi.Service

public class CxfRSService
extends RESTService

Author:
Romain Manni-Bucau

Field Summary
 
Fields inherited from class org.apache.openejb.server.rest.RESTService
LOGGER, NOPATH_PREFIX
 
Constructor Summary
CxfRSService()
           
 
Method Summary
protected  void beforeStart()
           
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, getIP, getPort, getVirtualHost, 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

createHttpListener

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


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