org.jboss.web.deployers
Interface AbstractWarDeployerMBean


public interface AbstractWarDeployerMBean

MBean interface.

See Also:
web.AbstractWebDeployer

Method Summary
 String getDefaultSecurityDomain()
          Get the default security domain implementation to use if a war does not declare a security-domain.
 boolean getJava2ClassLoadingCompliance()
          Get the flag indicating if the normal Java2 parent first class loading model should be used over the servlet 2.3 web container first model.
 boolean getLenientEjbLink()
          Get the flag indicating if ejb-link errors should be ignored in favour of trying the jndi-name in jboss-web.xml
 String getSubjectAttributeName()
          Get the session attribute number under which the caller Subject is stored
 boolean getUnpackWars()
          Set the flag indicating if war archives should be unpacked.
 void setDefaultSecurityDomain(String defaultSecurityDomain)
          Set the default security domain implementation to use if a war does not declare a security-domain.
 void setJava2ClassLoadingCompliance(boolean flag)
          Set the flag indicating if the normal Java2 parent first class loading model should be used over the servlet 2.3 web container first model.
 void setLenientEjbLink(boolean flag)
          Set the flag indicating if ejb-link errors should be ignored in favour of trying the jndi-name in jboss-web.xml
 void setSubjectAttributeName(String subjectAttributeName)
          Set the session attribute number under which the caller Subject is stored
 void setUnpackWars(boolean flag)
          Get the flag indicating if war archives should be unpacked.
 

Method Detail

getJava2ClassLoadingCompliance

boolean getJava2ClassLoadingCompliance()
Get the flag indicating if the normal Java2 parent first class loading model should be used over the servlet 2.3 web container first model.

Returns:
true for parent first, false for the servlet 2.3 model

setJava2ClassLoadingCompliance

void setJava2ClassLoadingCompliance(boolean flag)
Set the flag indicating if the normal Java2 parent first class loading model should be used over the servlet 2.3 web container first model.

Parameters:
flag - true for parent first, false for the servlet 2.3 model

getUnpackWars

boolean getUnpackWars()
Set the flag indicating if war archives should be unpacked. This may need to be set to false as long extraction paths under deploy can show up as deployment failures on some platforms.

Returns:
true is war archives should be unpacked

setUnpackWars

void setUnpackWars(boolean flag)
Get the flag indicating if war archives should be unpacked. This may need to be set to false as long extraction paths under deploy can show up as deployment failures on some platforms.

Parameters:
flag - , true is war archives should be unpacked

getLenientEjbLink

boolean getLenientEjbLink()
Get the flag indicating if ejb-link errors should be ignored in favour of trying the jndi-name in jboss-web.xml

Returns:
the LenientEjbLink flag

setLenientEjbLink

void setLenientEjbLink(boolean flag)
Set the flag indicating if ejb-link errors should be ignored in favour of trying the jndi-name in jboss-web.xml


getDefaultSecurityDomain

String getDefaultSecurityDomain()
Get the default security domain implementation to use if a war does not declare a security-domain.

Returns:
jndi name of the security domain binding to use.

setDefaultSecurityDomain

void setDefaultSecurityDomain(String defaultSecurityDomain)
Set the default security domain implementation to use if a war does not declare a security-domain.

Parameters:
defaultSecurityDomain - - jndi name of the security domain binding to use.

getSubjectAttributeName

String getSubjectAttributeName()
Get the session attribute number under which the caller Subject is stored


setSubjectAttributeName

void setSubjectAttributeName(String subjectAttributeName)
Set the session attribute number under which the caller Subject is stored



Copyright © 2009 JBoss, a division of Red Hat, Inc.. All Rights Reserved.