Package org.jboss.resteasy.core
Class ResteasyDeploymentImpl
- java.lang.Object
 - 
- org.jboss.resteasy.core.ResteasyDeploymentImpl
 
 
- 
- All Implemented Interfaces:
 ResteasyDeployment
- Direct Known Subclasses:
 VertxResteasyDeployment
public class ResteasyDeploymentImpl extends Object implements ResteasyDeployment
This class is used to configure and initialize the core components of RESTEasy.- Version:
 - $Revision: 1 $
 - Author:
 - Bill Burke
 
 
- 
- 
Field Summary
 
- 
Constructor Summary
Constructors Constructor Description ResteasyDeploymentImpl()ResteasyDeploymentImpl(boolean quarkus) 
- 
Method Summary
 
 - 
 
- 
- 
Field Detail
- 
widerRequestMatching
protected boolean widerRequestMatching
 
- 
useContainerFormParams
protected boolean useContainerFormParams
 
- 
deploymentSensitiveFactoryEnabled
protected boolean deploymentSensitiveFactoryEnabled
 
- 
asyncJobServiceEnabled
protected boolean asyncJobServiceEnabled
 
- 
addCharset
protected boolean addCharset
 
- 
asyncJobServiceMaxJobResults
protected int asyncJobServiceMaxJobResults
 
- 
asyncJobServiceMaxWait
protected long asyncJobServiceMaxWait
 
- 
asyncJobServiceThreadPoolSize
protected int asyncJobServiceThreadPoolSize
 
- 
asyncJobServiceBasePath
protected String asyncJobServiceBasePath
 
- 
applicationClass
protected String applicationClass
 
- 
injectorFactoryClass
protected String injectorFactoryClass
 
- 
injectorFactory
protected InjectorFactory injectorFactory
 
- 
application
protected javax.ws.rs.core.Application application
 
- 
registerBuiltin
protected boolean registerBuiltin
 
- 
scannedResourceClassesWithBuilder
protected Map<String,List<String>> scannedResourceClassesWithBuilder
 
- 
securityEnabled
protected boolean securityEnabled
 
- 
resourceFactories
protected List<ResourceFactory> resourceFactories
 
- 
registry
protected Registry registry
 
- 
dispatcher
protected Dispatcher dispatcher
 
- 
providerFactory
protected ResteasyProviderFactory providerFactory
 
- 
threadLocalProviderFactory
protected ThreadLocalResteasyProviderFactory threadLocalProviderFactory
 
- 
paramMapping
protected String paramMapping
 
- 
statisticsEnabled
protected boolean statisticsEnabled
 
 - 
 
- 
Method Detail
- 
start
public void start()
- Specified by:
 startin interfaceResteasyDeployment
 
- 
registerMappers
protected void registerMappers()
 
- 
pushContext
protected void pushContext()
 
- 
initializeObjects
protected void initializeObjects()
 
- 
initializeDispatcher
protected void initializeDispatcher()
 
- 
initializeFactory
protected void initializeFactory()
 
- 
merge
public void merge(ResteasyDeployment other)
- Specified by:
 mergein interfaceResteasyDeployment
 
- 
createApplication
public static javax.ws.rs.core.Application createApplication(String applicationClass, Dispatcher dispatcher, ResteasyProviderFactory providerFactory)
 
- 
registration
public void registration()
- Specified by:
 registrationin interfaceResteasyDeployment
 
- 
registerResources
protected void registerResources(boolean useScanning)
 
- 
registerApplication
protected boolean registerApplication()
 
- 
stop
public void stop()
- Specified by:
 stopin interfaceResteasyDeployment
 
- 
isUseContainerFormParams
public boolean isUseContainerFormParams()
- Specified by:
 isUseContainerFormParamsin interfaceResteasyDeployment
 
- 
setUseContainerFormParams
public void setUseContainerFormParams(boolean useContainerFormParams)
- Specified by:
 setUseContainerFormParamsin interfaceResteasyDeployment
 
- 
getJndiComponentResources
public List<String> getJndiComponentResources()
- Specified by:
 getJndiComponentResourcesin interfaceResteasyDeployment
 
- 
setJndiComponentResources
public void setJndiComponentResources(List<String> jndiComponentResources)
- Specified by:
 setJndiComponentResourcesin interfaceResteasyDeployment
 
- 
getApplicationClass
public String getApplicationClass()
- Specified by:
 getApplicationClassin interfaceResteasyDeployment
 
- 
setApplicationClass
public void setApplicationClass(String applicationClass)
- Specified by:
 setApplicationClassin interfaceResteasyDeployment
 
- 
getInjectorFactoryClass
public String getInjectorFactoryClass()
- Specified by:
 getInjectorFactoryClassin interfaceResteasyDeployment
 
- 
setInjectorFactoryClass
public void setInjectorFactoryClass(String injectorFactoryClass)
- Specified by:
 setInjectorFactoryClassin interfaceResteasyDeployment
 
- 
isDeploymentSensitiveFactoryEnabled
public boolean isDeploymentSensitiveFactoryEnabled()
- Specified by:
 isDeploymentSensitiveFactoryEnabledin interfaceResteasyDeployment
 
- 
setDeploymentSensitiveFactoryEnabled
public void setDeploymentSensitiveFactoryEnabled(boolean deploymentSensitiveFactoryEnabled)
- Specified by:
 setDeploymentSensitiveFactoryEnabledin interfaceResteasyDeployment
 
- 
isAsyncJobServiceEnabled
public boolean isAsyncJobServiceEnabled()
- Specified by:
 isAsyncJobServiceEnabledin interfaceResteasyDeployment
 
- 
setAsyncJobServiceEnabled
public void setAsyncJobServiceEnabled(boolean asyncJobServiceEnabled)
- Specified by:
 setAsyncJobServiceEnabledin interfaceResteasyDeployment
 
- 
getAsyncJobServiceMaxJobResults
public int getAsyncJobServiceMaxJobResults()
- Specified by:
 getAsyncJobServiceMaxJobResultsin interfaceResteasyDeployment
 
- 
setAsyncJobServiceMaxJobResults
public void setAsyncJobServiceMaxJobResults(int asyncJobServiceMaxJobResults)
- Specified by:
 setAsyncJobServiceMaxJobResultsin interfaceResteasyDeployment
 
- 
getAsyncJobServiceMaxWait
public long getAsyncJobServiceMaxWait()
- Specified by:
 getAsyncJobServiceMaxWaitin interfaceResteasyDeployment
 
- 
setAsyncJobServiceMaxWait
public void setAsyncJobServiceMaxWait(long asyncJobServiceMaxWait)
- Specified by:
 setAsyncJobServiceMaxWaitin interfaceResteasyDeployment
 
- 
getAsyncJobServiceThreadPoolSize
public int getAsyncJobServiceThreadPoolSize()
- Specified by:
 getAsyncJobServiceThreadPoolSizein interfaceResteasyDeployment
 
- 
setAsyncJobServiceThreadPoolSize
public void setAsyncJobServiceThreadPoolSize(int asyncJobServiceThreadPoolSize)
- Specified by:
 setAsyncJobServiceThreadPoolSizein interfaceResteasyDeployment
 
- 
getAsyncJobServiceBasePath
public String getAsyncJobServiceBasePath()
- Specified by:
 getAsyncJobServiceBasePathin interfaceResteasyDeployment
 
- 
setAsyncJobServiceBasePath
public void setAsyncJobServiceBasePath(String asyncJobServiceBasePath)
- Specified by:
 setAsyncJobServiceBasePathin interfaceResteasyDeployment
 
- 
getApplication
public javax.ws.rs.core.Application getApplication()
- Specified by:
 getApplicationin interfaceResteasyDeployment
 
- 
setApplication
public void setApplication(javax.ws.rs.core.Application application)
- Specified by:
 setApplicationin interfaceResteasyDeployment
 
- 
isRegisterBuiltin
public boolean isRegisterBuiltin()
- Specified by:
 isRegisterBuiltinin interfaceResteasyDeployment
 
- 
setRegisterBuiltin
public void setRegisterBuiltin(boolean registerBuiltin)
- Specified by:
 setRegisterBuiltinin interfaceResteasyDeployment
 
- 
getProviderClasses
public List<String> getProviderClasses()
- Specified by:
 getProviderClassesin interfaceResteasyDeployment
 
- 
setProviderClasses
public void setProviderClasses(List<String> providerClasses)
- Specified by:
 setProviderClassesin interfaceResteasyDeployment
 
- 
getProviders
public List<Object> getProviders()
- Specified by:
 getProvidersin interfaceResteasyDeployment
 
- 
setProviders
public void setProviders(List<Object> providers)
- Specified by:
 setProvidersin interfaceResteasyDeployment
 
- 
getActualProviderClasses
public List<Class> getActualProviderClasses()
- Specified by:
 getActualProviderClassesin interfaceResteasyDeployment
 
- 
setActualProviderClasses
public void setActualProviderClasses(List<Class> actualProviderClasses)
- Specified by:
 setActualProviderClassesin interfaceResteasyDeployment
 
- 
getActualResourceClasses
public List<Class> getActualResourceClasses()
- Specified by:
 getActualResourceClassesin interfaceResteasyDeployment
 
- 
setActualResourceClasses
public void setActualResourceClasses(List<Class> actualResourceClasses)
- Specified by:
 setActualResourceClassesin interfaceResteasyDeployment
 
- 
isSecurityEnabled
public boolean isSecurityEnabled()
- Specified by:
 isSecurityEnabledin interfaceResteasyDeployment
 
- 
setSecurityEnabled
public void setSecurityEnabled(boolean securityEnabled)
- Specified by:
 setSecurityEnabledin interfaceResteasyDeployment
 
- 
getJndiResources
public List<String> getJndiResources()
- Specified by:
 getJndiResourcesin interfaceResteasyDeployment
 
- 
setJndiResources
public void setJndiResources(List<String> jndiResources)
- Specified by:
 setJndiResourcesin interfaceResteasyDeployment
 
- 
getResourceClasses
public List<String> getResourceClasses()
- Specified by:
 getResourceClassesin interfaceResteasyDeployment
 
- 
setResourceClasses
public void setResourceClasses(List<String> resourceClasses)
- Specified by:
 setResourceClassesin interfaceResteasyDeployment
 
- 
getMediaTypeMappings
public Map<String,String> getMediaTypeMappings()
- Specified by:
 getMediaTypeMappingsin interfaceResteasyDeployment
 
- 
setMediaTypeMappings
public void setMediaTypeMappings(Map<String,String> mediaTypeMappings)
- Specified by:
 setMediaTypeMappingsin interfaceResteasyDeployment
 
- 
getResources
public List<Object> getResources()
- Specified by:
 getResourcesin interfaceResteasyDeployment
 
- 
setResources
public void setResources(List<Object> resources)
- Specified by:
 setResourcesin interfaceResteasyDeployment
 
- 
getLanguageExtensions
public Map<String,String> getLanguageExtensions()
- Specified by:
 getLanguageExtensionsin interfaceResteasyDeployment
 
- 
setLanguageExtensions
public void setLanguageExtensions(Map<String,String> languageExtensions)
- Specified by:
 setLanguageExtensionsin interfaceResteasyDeployment
 
- 
getRegistry
public Registry getRegistry()
- Specified by:
 getRegistryin interfaceResteasyDeployment
 
- 
setRegistry
public void setRegistry(Registry registry)
- Specified by:
 setRegistryin interfaceResteasyDeployment
 
- 
getDispatcher
public Dispatcher getDispatcher()
- Specified by:
 getDispatcherin interfaceResteasyDeployment
 
- 
setDispatcher
public void setDispatcher(Dispatcher dispatcher)
- Specified by:
 setDispatcherin interfaceResteasyDeployment
 
- 
getProviderFactory
public ResteasyProviderFactory getProviderFactory()
- Specified by:
 getProviderFactoryin interfaceResteasyDeployment
 
- 
setProviderFactory
public void setProviderFactory(ResteasyProviderFactory providerFactory)
- Specified by:
 setProviderFactoryin interfaceResteasyDeployment
 
- 
setMediaTypeParamMapping
public void setMediaTypeParamMapping(String paramMapping)
- Specified by:
 setMediaTypeParamMappingin interfaceResteasyDeployment
 
- 
getResourceFactories
public List<ResourceFactory> getResourceFactories()
- Specified by:
 getResourceFactoriesin interfaceResteasyDeployment
 
- 
setResourceFactories
public void setResourceFactories(List<ResourceFactory> resourceFactories)
- Specified by:
 setResourceFactoriesin interfaceResteasyDeployment
 
- 
getUnwrappedExceptions
public List<String> getUnwrappedExceptions()
- Specified by:
 getUnwrappedExceptionsin interfaceResteasyDeployment
 
- 
setUnwrappedExceptions
public void setUnwrappedExceptions(List<String> unwrappedExceptions)
- Specified by:
 setUnwrappedExceptionsin interfaceResteasyDeployment
 
- 
getConstructedDefaultContextObjects
public Map<String,String> getConstructedDefaultContextObjects()
- Specified by:
 getConstructedDefaultContextObjectsin interfaceResteasyDeployment
 
- 
setConstructedDefaultContextObjects
public void setConstructedDefaultContextObjects(Map<String,String> constructedDefaultContextObjects)
- Specified by:
 setConstructedDefaultContextObjectsin interfaceResteasyDeployment
 
- 
getDefaultContextObjects
public Map<Class,Object> getDefaultContextObjects()
- Specified by:
 getDefaultContextObjectsin interfaceResteasyDeployment
 
- 
setDefaultContextObjects
public void setDefaultContextObjects(Map<Class,Object> defaultContextObjects)
- Specified by:
 setDefaultContextObjectsin interfaceResteasyDeployment
 
- 
getScannedResourceClasses
public List<String> getScannedResourceClasses()
- Specified by:
 getScannedResourceClassesin interfaceResteasyDeployment
 
- 
setScannedResourceClasses
public void setScannedResourceClasses(List<String> scannedResourceClasses)
- Specified by:
 setScannedResourceClassesin interfaceResteasyDeployment
 
- 
getScannedProviderClasses
public List<String> getScannedProviderClasses()
- Specified by:
 getScannedProviderClassesin interfaceResteasyDeployment
 
- 
setScannedProviderClasses
public void setScannedProviderClasses(List<String> scannedProviderClasses)
- Specified by:
 setScannedProviderClassesin interfaceResteasyDeployment
 
- 
getScannedJndiComponentResources
public List<String> getScannedJndiComponentResources()
- Specified by:
 getScannedJndiComponentResourcesin interfaceResteasyDeployment
 
- 
setScannedJndiComponentResources
public void setScannedJndiComponentResources(List<String> scannedJndiComponentResources)
- Specified by:
 setScannedJndiComponentResourcesin interfaceResteasyDeployment
 
- 
getScannedResourceClassesWithBuilder
public Map<String,List<String>> getScannedResourceClassesWithBuilder()
- Specified by:
 getScannedResourceClassesWithBuilderin interfaceResteasyDeployment
 
- 
setScannedResourceClassesWithBuilder
public void setScannedResourceClassesWithBuilder(Map<String,List<String>> scannedResourceClassesWithBuilder)
- Specified by:
 setScannedResourceClassesWithBuilderin interfaceResteasyDeployment
 
- 
isWiderRequestMatching
public boolean isWiderRequestMatching()
- Specified by:
 isWiderRequestMatchingin interfaceResteasyDeployment
 
- 
setWiderRequestMatching
public void setWiderRequestMatching(boolean widerRequestMatching)
- Specified by:
 setWiderRequestMatchingin interfaceResteasyDeployment
 
- 
isAddCharset
public boolean isAddCharset()
- Specified by:
 isAddCharsetin interfaceResteasyDeployment
 
- 
setAddCharset
public void setAddCharset(boolean addCharset)
- Specified by:
 setAddCharsetin interfaceResteasyDeployment
 
- 
getInjectorFactory
public InjectorFactory getInjectorFactory()
- Specified by:
 getInjectorFactoryin interfaceResteasyDeployment
 
- 
setInjectorFactory
public void setInjectorFactory(InjectorFactory injectorFactory)
- Specified by:
 setInjectorFactoryin interfaceResteasyDeployment
 
- 
getProperty
public Object getProperty(String key)
- Specified by:
 getPropertyin interfaceResteasyDeployment
 
- 
setProperty
public void setProperty(String key, Object value)
- Specified by:
 setPropertyin interfaceResteasyDeployment
 
- 
setStatisticsEnabled
public void setStatisticsEnabled(boolean statisticsEnabled)
- Specified by:
 setStatisticsEnabledin interfaceResteasyDeployment
 
 - 
 
 -