public class ResteasyDeployment extends Object
Constructor and Description |
---|
ResteasyDeployment() |
protected boolean widerRequestMatching
protected boolean jaxrs_2_0_RequestMatching
protected boolean useContainerFormParams
protected boolean deploymentSensitiveFactoryEnabled
protected boolean asyncJobServiceEnabled
protected boolean addCharset
protected int asyncJobServiceMaxJobResults
protected long asyncJobServiceMaxWait
protected int asyncJobServiceThreadPoolSize
protected String asyncJobServiceBasePath
protected String applicationClass
protected String injectorFactoryClass
protected InjectorFactory injectorFactory
protected Application application
protected boolean registerBuiltin
protected boolean securityEnabled
protected List<ResourceFactory> resourceFactories
protected Registry registry
protected Dispatcher dispatcher
protected ResteasyProviderFactory providerFactory
protected ThreadLocalResteasyProviderFactory threadLocalProviderFactory
protected String paramMapping
protected boolean statisticsEnabled
public static boolean onServer()
public void start()
protected void startInternal()
public void merge(ResteasyDeployment other)
public static Application createApplication(String applicationClass, Dispatcher dispatcher, ResteasyProviderFactory providerFactory)
public static Object createFromInjectorFactory(String classname, ResteasyProviderFactory providerFactory)
public void registration()
protected void registerJndiComponentResource(String resource)
public void stop()
protected boolean processApplication(Application config)
config
- applicationprotected void registerProvider(String clazz)
public boolean isUseContainerFormParams()
public void setUseContainerFormParams(boolean useContainerFormParams)
public void setJndiComponentResources(List<String> jndiComponentResources)
public String getApplicationClass()
public void setApplicationClass(String applicationClass)
public String getInjectorFactoryClass()
public void setInjectorFactoryClass(String injectorFactoryClass)
public boolean isDeploymentSensitiveFactoryEnabled()
public void setDeploymentSensitiveFactoryEnabled(boolean deploymentSensitiveFactoryEnabled)
public boolean isAsyncJobServiceEnabled()
public void setAsyncJobServiceEnabled(boolean asyncJobServiceEnabled)
public int getAsyncJobServiceMaxJobResults()
public void setAsyncJobServiceMaxJobResults(int asyncJobServiceMaxJobResults)
public long getAsyncJobServiceMaxWait()
public void setAsyncJobServiceMaxWait(long asyncJobServiceMaxWait)
public int getAsyncJobServiceThreadPoolSize()
public void setAsyncJobServiceThreadPoolSize(int asyncJobServiceThreadPoolSize)
public String getAsyncJobServiceBasePath()
public void setAsyncJobServiceBasePath(String asyncJobServiceBasePath)
public Application getApplication()
public void setApplication(Application application)
public boolean isRegisterBuiltin()
public void setRegisterBuiltin(boolean registerBuiltin)
public void setDisabledProviderClasses(Set<String> disabledProviderClasses)
public boolean isSecurityEnabled()
public void setSecurityEnabled(boolean securityEnabled)
public void setInterceptorPrecedences(List<String> interceptorPrecedences)
public void setInterceptorBeforePrecedences(Map<String,String> interceptorBeforePrecedences)
public void setInterceptorAfterPrecedences(Map<String,String> interceptorAfterPrecedences)
public Registry getRegistry()
public void setRegistry(Registry registry)
public Dispatcher getDispatcher()
public void setDispatcher(Dispatcher dispatcher)
public ResteasyProviderFactory getProviderFactory()
public void setProviderFactory(ResteasyProviderFactory providerFactory)
public void setMediaTypeParamMapping(String paramMapping)
public List<ResourceFactory> getResourceFactories()
public void setResourceFactories(List<ResourceFactory> resourceFactories)
public void setConstructedDefaultContextObjects(Map<String,String> constructedDefaultContextObjects)
public void setDefaultContextObjects(Map<Class,Object> defaultContextObjects)
public void setScannedResourceClasses(List<String> scannedResourceClasses)
public void setScannedProviderClasses(List<String> scannedProviderClasses)
public void setScannedJndiComponentResources(List<String> scannedJndiComponentResources)
public boolean isWiderRequestMatching()
public void setWiderRequestMatching(boolean widerRequestMatching)
public boolean isJaxrs_2_0_RequestMatching()
public void setJaxrs_2_0_RequestMatching(boolean jaxrs_2_0_RequestMatching)
public boolean isAddCharset()
public void setAddCharset(boolean addCharset)
public InjectorFactory getInjectorFactory()
public void setInjectorFactory(InjectorFactory injectorFactory)
public void setStatisticsEnabled(boolean statisticsEnabled)
Copyright © 2021 JBoss by Red Hat. All rights reserved.