|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jboss.web.deployers.WebModule
public class WebModule
A container service used to introduce war dependencies. This service is created by the AbstractWebContainer during the create(DeploymentInfo) call and registered under the name "jboss.web.deployment:war="+di.shortName This name is stored in the di.context under the key AbstractWebContainer.WEB_MODULE When the jboss-web.xml dependencies are satisfied, this service is started and this triggers the AbstractWebDeployer.start. Likewise, a stop on this service triggers the AbstractWebDeployer.stop.
AbstractWarDeployer
Constructor Summary | |
---|---|
WebModule(org.jboss.deployers.structure.spi.DeploymentUnit unit,
AbstractWarDeployer container,
AbstractWarDeployment deployment)
|
Method Summary | |
---|---|
void |
create()
|
void |
destroy()
|
void |
setKernel(org.jboss.kernel.Kernel kernel)
|
void |
setPolicyRegistration(org.jboss.security.authorization.PolicyRegistration policyRegistration)
Set the PolicyRegistration instance |
void |
setSecurityManagement(ISecurityManagement securityManagement)
Set the securityManagement. |
void |
start()
|
void |
startModule()
Invokes the deployer start |
void |
stop()
|
void |
stopModule()
Invokes the deployer stop |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public WebModule(org.jboss.deployers.structure.spi.DeploymentUnit unit, AbstractWarDeployer container, AbstractWarDeployment deployment)
Method Detail |
---|
public void setKernel(org.jboss.kernel.Kernel kernel)
setKernel
in interface WebModuleMBean
public void setPolicyRegistration(org.jboss.security.authorization.PolicyRegistration policyRegistration)
setPolicyRegistration
in interface WebModuleMBean
policyRegistration
- the policy registration instancepublic void setSecurityManagement(ISecurityManagement securityManagement)
setSecurityManagement
in interface WebModuleMBean
securityManagement
- the securityManagement.public void create()
create
in interface WebModuleMBean
public void start() throws Exception
start
in interface WebModuleMBean
Exception
public void stop() throws Exception
stop
in interface WebModuleMBean
Exception
public void destroy()
destroy
in interface WebModuleMBean
public void startModule() throws Exception
Exception
public void stopModule() throws DeploymentException
DeploymentException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |