public class ContainerWrapperBean extends Object
| Constructor and Description |
|---|
ContainerWrapperBean() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
filterDataSources(List<ApplicationResource> resources,
List<ApplicationResource> dataSources)
Filter data sources.
|
List<String> |
getAdapterClasses()
Gets the adapter classes.
|
List<ApplicationResource> |
getDataSources()
Gets the data sources.
|
List<ApplicationResource> |
getGlobalDataSources()
Gets the global data sources.
|
List<ApplicationResource> |
getPrivateDataSources()
Gets the private data sources.
|
ResourceResolver |
getResourceResolver()
Gets the resource resolver.
|
Map<String,ResourceResolver> |
getResourceResolvers()
Gets the resource resolvers.
|
TomcatContainer |
getTomcatContainer()
Gets the tomcat container.
|
boolean |
isForceFirstAdapter()
Checks if is force first adapter.
|
void |
setAdapterClasses(List<String> adapterClasses)
Sets the adapter classes.
|
void |
setForceFirstAdapter(boolean forceFirstAdapter)
Sets the force first adapter.
|
void |
setResourceResolvers(Map<String,ResourceResolver> resourceResolvers)
Sets the resource resolvers.
|
void |
setWrapper(org.apache.catalina.Wrapper wrapper)
Sets the wrapper.
|
public boolean isForceFirstAdapter()
@Value(value="false") public void setForceFirstAdapter(boolean forceFirstAdapter)
forceFirstAdapter - the new force first adapterpublic void setWrapper(org.apache.catalina.Wrapper wrapper)
wrapper - the new wrapperpublic TomcatContainer getTomcatContainer()
public List<String> getAdapterClasses()
public void setAdapterClasses(List<String> adapterClasses)
adapterClasses - the new adapter classespublic ResourceResolver getResourceResolver()
public Map<String,ResourceResolver> getResourceResolvers()
public void setResourceResolvers(Map<String,ResourceResolver> resourceResolvers)
resourceResolvers - the resource resolverspublic List<ApplicationResource> getDataSources() throws Exception
Exception - the exceptionpublic List<ApplicationResource> getPrivateDataSources() throws Exception
Exception - the exceptionpublic List<ApplicationResource> getGlobalDataSources() throws Exception
Exception - the exceptionprotected void filterDataSources(List<ApplicationResource> resources, List<ApplicationResource> dataSources)
resources - the resourcesdataSources - the data sourcesCopyright © 2009–2020 psi-probe. All rights reserved.