org.jboss.resteasy.spi
Class ResteasyDeployment

java.lang.Object
  extended by org.jboss.resteasy.spi.ResteasyDeployment

public class ResteasyDeployment
extends java.lang.Object

Version:
$Revision: 1 $
Author:
Bill Burke

Field Summary
protected  Application application
           
protected  java.lang.String applicationClass
           
protected  java.lang.String asyncJobServiceBasePath
           
protected  boolean asyncJobServiceEnabled
           
protected  int asyncJobServiceMaxJobResults
           
protected  long asyncJobServiceMaxWait
           
protected  int asyncJobServiceThreadPoolSize
           
protected  boolean deploymentSensitiveFactoryEnabled
           
protected  Dispatcher dispatcher
           
protected  java.util.Map<java.lang.String,java.lang.String> interceptorAfterPrecedences
           
protected  java.util.Map<java.lang.String,java.lang.String> interceptorBeforePrecedences
           
protected  java.util.List<java.lang.String> interceptorPrecedences
           
protected  java.util.List<java.lang.String> jndiResources
           
protected  java.util.Map<java.lang.String,java.lang.String> languageExtensions
           
protected  java.util.Map<java.lang.String,java.lang.String> mediaTypeMappings
           
protected  java.util.List<java.lang.String> providerClasses
           
protected  ResteasyProviderFactory providerFactory
           
protected  java.util.List<java.lang.Object> providers
           
protected  boolean registerBuiltin
           
protected  Registry registry
           
protected  java.util.List<java.lang.String> resourceClasses
           
protected  java.util.List<java.lang.Object> resources
           
protected  boolean securityEnabled
           
 
Constructor Summary
ResteasyDeployment()
           
 
Method Summary
 Application getApplication()
           
 java.lang.String getApplicationClass()
           
 java.lang.String getAsyncJobServiceBasePath()
           
 int getAsyncJobServiceMaxJobResults()
           
 long getAsyncJobServiceMaxWait()
           
 int getAsyncJobServiceThreadPoolSize()
           
 Dispatcher getDispatcher()
           
 java.util.Map<java.lang.String,java.lang.String> getInterceptorAfterPrecedences()
           
 java.util.Map<java.lang.String,java.lang.String> getInterceptorBeforePrecedences()
           
 java.util.List<java.lang.String> getInterceptorPrecedences()
           
 java.util.List<java.lang.String> getJndiResources()
           
 java.util.Map<java.lang.String,java.lang.String> getLanguageExtensions()
           
 java.util.Map<java.lang.String,java.lang.String> getMediaTypeMappings()
           
 java.util.List<java.lang.String> getProviderClasses()
           
 ResteasyProviderFactory getProviderFactory()
           
 java.util.List<java.lang.Object> getProviders()
           
 Registry getRegistry()
           
 java.util.List<java.lang.String> getResourceClasses()
           
 java.util.List<java.lang.Object> getResources()
           
 boolean isAsyncJobServiceEnabled()
           
 boolean isDeploymentSensitiveFactoryEnabled()
           
 boolean isRegisterBuiltin()
           
 boolean isSecurityEnabled()
           
static void processApplication(Application config, Registry registry, ResteasyProviderFactory factory)
           
protected  void processResource(java.lang.String clazz)
           
protected  void registerProvider(java.lang.String clazz)
           
 void setApplication(Application application)
           
 void setApplicationClass(java.lang.String applicationClass)
           
 void setAsyncJobServiceBasePath(java.lang.String asyncJobServiceBasePath)
           
 void setAsyncJobServiceEnabled(boolean asyncJobServiceEnabled)
           
 void setAsyncJobServiceMaxJobResults(int asyncJobServiceMaxJobResults)
           
 void setAsyncJobServiceMaxWait(long asyncJobServiceMaxWait)
           
 void setAsyncJobServiceThreadPoolSize(int asyncJobServiceThreadPoolSize)
           
 void setDeploymentSensitiveFactoryEnabled(boolean deploymentSensitiveFactoryEnabled)
           
 void setDispatcher(Dispatcher dispatcher)
           
 void setInterceptorAfterPrecedences(java.util.Map<java.lang.String,java.lang.String> interceptorAfterPrecedences)
           
 void setInterceptorBeforePrecedences(java.util.Map<java.lang.String,java.lang.String> interceptorBeforePrecedences)
           
 void setInterceptorPrecedences(java.util.List<java.lang.String> interceptorPrecedences)
           
 void setJndiResources(java.util.List<java.lang.String> jndiResources)
           
 void setLanguageExtensions(java.util.Map<java.lang.String,java.lang.String> languageExtensions)
           
 void setMediaTypeMappings(java.util.Map<java.lang.String,java.lang.String> mediaTypeMappings)
           
 void setProviderClasses(java.util.List<java.lang.String> providerClasses)
           
 void setProviderFactory(ResteasyProviderFactory providerFactory)
           
 void setProviders(java.util.List<java.lang.Object> providers)
           
 void setRegisterBuiltin(boolean registerBuiltin)
           
 void setRegistry(Registry registry)
           
 void setResourceClasses(java.util.List<java.lang.String> resourceClasses)
           
 void setResources(java.util.List<java.lang.Object> resources)
           
 void setSecurityEnabled(boolean securityEnabled)
           
 void start()
           
 void stop()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

deploymentSensitiveFactoryEnabled

protected boolean deploymentSensitiveFactoryEnabled

asyncJobServiceEnabled

protected boolean asyncJobServiceEnabled

asyncJobServiceMaxJobResults

protected int asyncJobServiceMaxJobResults

asyncJobServiceMaxWait

protected long asyncJobServiceMaxWait

asyncJobServiceThreadPoolSize

protected int asyncJobServiceThreadPoolSize

asyncJobServiceBasePath

protected java.lang.String asyncJobServiceBasePath

applicationClass

protected java.lang.String applicationClass

application

protected Application application

registerBuiltin

protected boolean registerBuiltin

providerClasses

protected java.util.List<java.lang.String> providerClasses

providers

protected java.util.List<java.lang.Object> providers

securityEnabled

protected boolean securityEnabled

jndiResources

protected java.util.List<java.lang.String> jndiResources

resourceClasses

protected java.util.List<java.lang.String> resourceClasses

resources

protected java.util.List<java.lang.Object> resources

mediaTypeMappings

protected java.util.Map<java.lang.String,java.lang.String> mediaTypeMappings

languageExtensions

protected java.util.Map<java.lang.String,java.lang.String> languageExtensions

interceptorPrecedences

protected java.util.List<java.lang.String> interceptorPrecedences

interceptorBeforePrecedences

protected java.util.Map<java.lang.String,java.lang.String> interceptorBeforePrecedences

interceptorAfterPrecedences

protected java.util.Map<java.lang.String,java.lang.String> interceptorAfterPrecedences

registry

protected Registry registry

dispatcher

protected Dispatcher dispatcher

providerFactory

protected ResteasyProviderFactory providerFactory
Constructor Detail

ResteasyDeployment

public ResteasyDeployment()
Method Detail

start

public void start()

stop

public void stop()

processApplication

public static void processApplication(Application config,
                                      Registry registry,
                                      ResteasyProviderFactory factory)

registerProvider

protected void registerProvider(java.lang.String clazz)

processResource

protected void processResource(java.lang.String clazz)

getApplicationClass

public java.lang.String getApplicationClass()

setApplicationClass

public void setApplicationClass(java.lang.String applicationClass)

isDeploymentSensitiveFactoryEnabled

public boolean isDeploymentSensitiveFactoryEnabled()

setDeploymentSensitiveFactoryEnabled

public void setDeploymentSensitiveFactoryEnabled(boolean deploymentSensitiveFactoryEnabled)

isAsyncJobServiceEnabled

public boolean isAsyncJobServiceEnabled()

setAsyncJobServiceEnabled

public void setAsyncJobServiceEnabled(boolean asyncJobServiceEnabled)

getAsyncJobServiceMaxJobResults

public int getAsyncJobServiceMaxJobResults()

setAsyncJobServiceMaxJobResults

public void setAsyncJobServiceMaxJobResults(int asyncJobServiceMaxJobResults)

getAsyncJobServiceMaxWait

public long getAsyncJobServiceMaxWait()

setAsyncJobServiceMaxWait

public void setAsyncJobServiceMaxWait(long asyncJobServiceMaxWait)

getAsyncJobServiceThreadPoolSize

public int getAsyncJobServiceThreadPoolSize()

setAsyncJobServiceThreadPoolSize

public void setAsyncJobServiceThreadPoolSize(int asyncJobServiceThreadPoolSize)

getAsyncJobServiceBasePath

public java.lang.String getAsyncJobServiceBasePath()

setAsyncJobServiceBasePath

public void setAsyncJobServiceBasePath(java.lang.String asyncJobServiceBasePath)

getApplication

public Application getApplication()

setApplication

public void setApplication(Application application)

isRegisterBuiltin

public boolean isRegisterBuiltin()

setRegisterBuiltin

public void setRegisterBuiltin(boolean registerBuiltin)

getProviderClasses

public java.util.List<java.lang.String> getProviderClasses()

setProviderClasses

public void setProviderClasses(java.util.List<java.lang.String> providerClasses)

getProviders

public java.util.List<java.lang.Object> getProviders()

setProviders

public void setProviders(java.util.List<java.lang.Object> providers)

isSecurityEnabled

public boolean isSecurityEnabled()

setSecurityEnabled

public void setSecurityEnabled(boolean securityEnabled)

getJndiResources

public java.util.List<java.lang.String> getJndiResources()

setJndiResources

public void setJndiResources(java.util.List<java.lang.String> jndiResources)

getResourceClasses

public java.util.List<java.lang.String> getResourceClasses()

setResourceClasses

public void setResourceClasses(java.util.List<java.lang.String> resourceClasses)

getMediaTypeMappings

public java.util.Map<java.lang.String,java.lang.String> getMediaTypeMappings()

setMediaTypeMappings

public void setMediaTypeMappings(java.util.Map<java.lang.String,java.lang.String> mediaTypeMappings)

getResources

public java.util.List<java.lang.Object> getResources()

setResources

public void setResources(java.util.List<java.lang.Object> resources)

getLanguageExtensions

public java.util.Map<java.lang.String,java.lang.String> getLanguageExtensions()

setLanguageExtensions

public void setLanguageExtensions(java.util.Map<java.lang.String,java.lang.String> languageExtensions)

getInterceptorPrecedences

public java.util.List<java.lang.String> getInterceptorPrecedences()

setInterceptorPrecedences

public void setInterceptorPrecedences(java.util.List<java.lang.String> interceptorPrecedences)

getInterceptorBeforePrecedences

public java.util.Map<java.lang.String,java.lang.String> getInterceptorBeforePrecedences()

setInterceptorBeforePrecedences

public void setInterceptorBeforePrecedences(java.util.Map<java.lang.String,java.lang.String> interceptorBeforePrecedences)

getInterceptorAfterPrecedences

public java.util.Map<java.lang.String,java.lang.String> getInterceptorAfterPrecedences()

setInterceptorAfterPrecedences

public void setInterceptorAfterPrecedences(java.util.Map<java.lang.String,java.lang.String> interceptorAfterPrecedences)

getRegistry

public Registry getRegistry()

setRegistry

public void setRegistry(Registry registry)

getDispatcher

public Dispatcher getDispatcher()

setDispatcher

public void setDispatcher(Dispatcher dispatcher)

getProviderFactory

public ResteasyProviderFactory getProviderFactory()

setProviderFactory

public void setProviderFactory(ResteasyProviderFactory providerFactory)


Copyright © 2009. All Rights Reserved.