|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jboss.metadata.WebMetaData
A representation of the web.xml and jboss-web.xml deployment descriptors as used by the AbstractWebContainer web container integration support class.
XmlLoadable
,
AbstractWebContainer
Field Summary | |
static int |
REPLICATION_GRANULARITY_ATTRIBUTE
|
static int |
REPLICATION_GRANULARITY_FIELD
|
static int |
REPLICATION_GRANULARITY_SESSION
Specify the session replication granularity level: session --- whole session level, attribute --- per attribute change, field --- fine grained user object level. |
static int |
REPLICATION_TYPE_ASYNC
|
static int |
REPLICATION_TYPE_SYNC
|
static int |
SESSION_COOKIES_DEFAULT
|
static int |
SESSION_COOKIES_DISABLED
|
static int |
SESSION_COOKIES_ENABLED
|
static int |
SESSION_INVALIDATE_ACCESS
|
static int |
SESSION_INVALIDATE_SET
|
static int |
SESSION_INVALIDATE_SET_AND_GET
|
static int |
SESSION_INVALIDATE_SET_AND_NON_PRIMITIVE_GET
|
Constructor Summary | |
WebMetaData()
|
Method Summary | |
String |
getContextRoot()
This the the jboss-web.xml descriptor context-root and it is only meaningful if a war is deployed outside of an ear. |
Collection |
getDepends()
Access the web application depends |
boolean |
getDistributable()
The distributable flag. |
Iterator |
getEjbLocalReferences()
Return an iterator of the ejb-local-ref mappings. |
Iterator |
getEjbReferences()
Return an iterator of the ejb-ref mappings. |
ClassLoader |
getENCLoader()
|
Iterator |
getEnvironmentEntries()
Return an iterator of the env-entry mappings. |
int |
getInvalidateSessionPolicy()
|
boolean |
getJava2ClassLoadingCompliance()
A flag indicating if the normal Java2 parent first class loading model should be used over the servlet 2.3 web container first model. |
org.jboss.mx.loading.LoaderRepositoryFactory.LoaderRepositoryConfig |
getLoaderConfig()
|
int |
getReplicationGranularity()
|
int |
getReplicationType()
|
Iterator |
getResourceEnvReferences()
Return an iterator of the resource-ref mappings. |
Iterator |
getResourceReferences()
Return an iterator of the resource-ref mappings. |
String |
getSecurityDomain()
Return the optional security-domain jboss-web.xml element. |
int |
getSessionCookies()
|
Iterator |
getVirtualHosts()
The servlet container virtual hosts the war should be deployed into. |
protected void |
importJBossWebXml(Element jbossWeb)
Parse the elements of the jboss-web element used by the integration layer. |
protected void |
importWebXml(Element webApp)
Parse the elements of the web-app element used by the integration layer. |
void |
importXml(Element element)
|
boolean |
isFlushOnSessionInvalidation()
The flag indicating whether the associated security domain cache should be flushed when the session is invalidated. |
void |
parseMetaData(String ctxPath,
URL warURL)
This method creates a context-root string from either the WEB-INF/jboss-web.xml context-root element is one exists, or the filename portion of the warURL. |
void |
setContextRoot(String contextRoot)
|
void |
setENCLoader(ClassLoader encLoader)
|
void |
setFlushOnSessionInvalidation(boolean flag)
The flag indicating whether the associated security domain cache should be flushed when the session is invalidated. |
void |
setJava2ClassLoadingCompliance(boolean flag)
|
void |
setLoaderConfig(org.jboss.mx.loading.LoaderRepositoryFactory.LoaderRepositoryConfig loaderConfig)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final int SESSION_INVALIDATE_ACCESS
public static final int SESSION_INVALIDATE_SET_AND_GET
public static final int SESSION_INVALIDATE_SET_AND_NON_PRIMITIVE_GET
public static final int SESSION_INVALIDATE_SET
public static final int REPLICATION_TYPE_SYNC
public static final int REPLICATION_TYPE_ASYNC
public static final int REPLICATION_GRANULARITY_SESSION
public static final int REPLICATION_GRANULARITY_ATTRIBUTE
public static final int REPLICATION_GRANULARITY_FIELD
public static final int SESSION_COOKIES_DEFAULT
public static final int SESSION_COOKIES_ENABLED
public static final int SESSION_COOKIES_DISABLED
Constructor Detail |
public WebMetaData()
Method Detail |
public Iterator getEnvironmentEntries()
public Iterator getEjbReferences()
public Iterator getEjbLocalReferences()
public Iterator getResourceReferences()
public Iterator getResourceEnvReferences()
public String getContextRoot()
public void setContextRoot(String contextRoot)
public String getSecurityDomain()
public boolean isFlushOnSessionInvalidation()
public void setFlushOnSessionInvalidation(boolean flag)
flag
- - true if the flush should occur, false otherwise.public Iterator getVirtualHosts()
public boolean getDistributable()
public Collection getDepends()
public boolean getJava2ClassLoadingCompliance()
public void setJava2ClassLoadingCompliance(boolean flag)
public org.jboss.mx.loading.LoaderRepositoryFactory.LoaderRepositoryConfig getLoaderConfig()
public void setLoaderConfig(org.jboss.mx.loading.LoaderRepositoryFactory.LoaderRepositoryConfig loaderConfig)
public ClassLoader getENCLoader()
public void setENCLoader(ClassLoader encLoader)
public int getSessionCookies()
public int getInvalidateSessionPolicy()
public int getReplicationType()
public int getReplicationGranularity()
public void importXml(Element element) throws Exception
importXml
in interface XmlLoadable
Exception
protected void importWebXml(Element webApp) throws Exception
Exception
protected void importJBossWebXml(Element jbossWeb) throws Exception
Exception
public void parseMetaData(String ctxPath, URL warURL) throws org.jboss.deployment.DeploymentException
org.jboss.deployment.DeploymentException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |