org.jboss.resteasy.plugins.server.tjws
Class TJWSEmbeddedJaxrsServer

java.lang.Object
  extended by org.jboss.resteasy.plugins.server.tjws.TJWSServletServer
      extended by org.jboss.resteasy.plugins.server.tjws.TJWSEmbeddedJaxrsServer
All Implemented Interfaces:
EmbeddedJaxrsServer

public class TJWSEmbeddedJaxrsServer
extends TJWSServletServer
implements EmbeddedJaxrsServer

Version:
$Revision: 1 $
Author:
Bill Burke

Field Summary
protected  java.lang.Class[] defaultResourceMethodInterceptors
           
protected  Dispatcher dispatcher
           
protected  ResteasyProviderFactory factory
           
protected  Registry registry
           
protected  java.lang.String rootResourcePath
           
protected  TJWSServletDispatcher servlet
           
 
Fields inherited from class org.jboss.resteasy.plugins.server.tjws.TJWSServletServer
props, server
 
Constructor Summary
TJWSEmbeddedJaxrsServer()
           
 
Method Summary
 void addApplicationConfig(Application config)
           
 Dispatcher getDispatcher()
           
 ResteasyProviderFactory getFactory()
           
 Registry getRegistry()
           
 void setDefaultResourceMethodInterceptors(java.lang.Class[] interceptorClasses)
           
 void setDispatcher(Dispatcher dispatcher)
           
 void setFactory(ResteasyProviderFactory factory)
           
 void setRootResourcePath(java.lang.String rootResourcePath)
           
 void setSecurityDomain(SecurityDomain sc)
           
 void start()
           
 
Methods inherited from class org.jboss.resteasy.plugins.server.tjws.TJWSServletServer
addServlet, addServlet, setBindAddress, setKeepAlive, setKeepAliveTimeout, setMaxKeepAliveConnections, setPort, setProps, setSessionTimeout, setSSLAlgorithm, setSSLKeyStoreFile, setSSLKeyStorePass, setSSLKeyStoreType, setSSLPort, setSSLProtocol, setThreadPoolSize, stop
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.jboss.resteasy.plugins.server.embedded.EmbeddedJaxrsServer
stop
 

Field Detail

factory

protected ResteasyProviderFactory factory

registry

protected Registry registry

dispatcher

protected Dispatcher dispatcher

servlet

protected TJWSServletDispatcher servlet

defaultResourceMethodInterceptors

protected java.lang.Class[] defaultResourceMethodInterceptors

rootResourcePath

protected java.lang.String rootResourcePath
Constructor Detail

TJWSEmbeddedJaxrsServer

public TJWSEmbeddedJaxrsServer()
Method Detail

setRootResourcePath

public void setRootResourcePath(java.lang.String rootResourcePath)
Specified by:
setRootResourcePath in interface EmbeddedJaxrsServer

setDefaultResourceMethodInterceptors

public void setDefaultResourceMethodInterceptors(java.lang.Class[] interceptorClasses)
Specified by:
setDefaultResourceMethodInterceptors in interface EmbeddedJaxrsServer

start

public void start()
Specified by:
start in interface EmbeddedJaxrsServer
Overrides:
start in class TJWSServletServer

setDispatcher

public void setDispatcher(Dispatcher dispatcher)

setFactory

public void setFactory(ResteasyProviderFactory factory)

getFactory

public ResteasyProviderFactory getFactory()
Specified by:
getFactory in interface EmbeddedJaxrsServer

getRegistry

public Registry getRegistry()
Specified by:
getRegistry in interface EmbeddedJaxrsServer

getDispatcher

public Dispatcher getDispatcher()

setSecurityDomain

public void setSecurityDomain(SecurityDomain sc)
Specified by:
setSecurityDomain in interface EmbeddedJaxrsServer

addApplicationConfig

public void addApplicationConfig(Application config)
Specified by:
addApplicationConfig in interface EmbeddedJaxrsServer


Copyright © 2009. All Rights Reserved.