public abstract class JeeProcessingUnitContainerProvider extends ApplicationContextProcessingUnitContainerProvider
ApplicationContextProcessingUnitContainerProvider
 that can handle JEE processing units.| Modifier and Type | Field and Description | 
|---|---|
| static String | APPLICATION_CONTEXT_CONTEXT | 
| static String | BEAN_LEVEL_PROPERTIES_CONTEXTThe  ServletContextkey under which theBeanLevelPropertiesis stored. | 
| static String | CLUSTER_INFO_CONTEXTThe  ServletContextkey under which theClusterInfois stored. | 
| static String | DEFAULT_JEE_CONTAINER | 
| static String | JEE_CONTAINER_PROPERTY_NAME | 
DEFAULT_FS_PU_CONTEXT_LOCATION, DEFAULT_PU_CONTEXT_LOCATIONCONTAINER_CLASS_PROP, CONTEXT_PROPERTY_DEPLOY_PATH| Constructor and Description | 
|---|
| JeeProcessingUnitContainerProvider() | 
| Modifier and Type | Method and Description | 
|---|---|
| void | addConfigLocation(Resource resource)Adds a config location using Springs  Resourceabstraction. | 
| void | addConfigLocation(String path)Adds a config location based on a String description using Springs
  PathMatchingResourcePatternResolver. | 
| File | getDeployPath() | 
| protected ClassLoader | getJeeClassLoader() | 
| static String | getJeeContainer(BeanLevelProperties properties) | 
| static String | getJeeContainerJarPath(String jeeContainer) | 
| abstract String | getJeeContainerType() | 
| Iterable<URL> | getManifestURLs() | 
| protected Iterable<String> | getWebAppClassLoaderClassPath() | 
| protected Iterable<String> | getWebAppClassLoaderJars() | 
| protected ResourceApplicationContext | initApplicationContext() | 
| void | setClassLoader(ClassLoader classLoader)Sets the class loader this processing unit container will load the application context with. | 
| void | setDeployPath(File warPath)Sets the deploy path where the exploded war jetty will work with is located. | 
| void | setManifestUrls(Iterable<URL> manifestURLs) | 
| void | setParentContext(ApplicationContext parentContext)Sets Spring parent  ApplicationContextthat will be used
 when constructing this processing unit application context. | 
createContainer, getBeanLevelProperties, getClusterInfo, getConfig, setBeanLevelProperties, setClusterInfo, setMetricRegistratorpublic static final String CLUSTER_INFO_CONTEXT
ServletContext key under which the ClusterInfo
 is stored.public static final String BEAN_LEVEL_PROPERTIES_CONTEXT
ServletContext key under which the BeanLevelProperties
 is stored.public static final String APPLICATION_CONTEXT_CONTEXT
public static final String JEE_CONTAINER_PROPERTY_NAME
public static final String DEFAULT_JEE_CONTAINER
public abstract String getJeeContainerType()
public void setManifestUrls(Iterable<URL> manifestURLs)
setManifestUrls in class ProcessingUnitContainerProviderpublic void setClassLoader(ClassLoader classLoader)
setClassLoader in class ProcessingUnitContainerProviderpublic void setDeployPath(File warPath)
setDeployPath in class ProcessingUnitContainerProviderpublic File getDeployPath()
public void addConfigLocation(Resource resource)
Resource
 abstraction. This config location represents a Spring xml context.
 Note, once a config location is added that default location used when no config location is
 defined won't be used (the default location is classpath*:/META-INF/spring/pu.xml).
addConfigLocation in class ApplicationContextProcessingUnitContainerProviderpublic void addConfigLocation(String path) throws IOException
PathMatchingResourcePatternResolver.addConfigLocation in class ApplicationContextProcessingUnitContainerProviderIOExceptionPathMatchingResourcePatternResolverpublic void setParentContext(ApplicationContext parentContext)
ApplicationContext that will be used
 when constructing this processing unit application context.protected ClassLoader getJeeClassLoader() throws Exception
Exceptionprotected ResourceApplicationContext initApplicationContext()
public static String getJeeContainer(BeanLevelProperties properties)
Copyright © GigaSpaces.