jrun.servlet
Interface WebApplicationFactoryMBean

All Superinterfaces:
J2EEModuleFactoryMBean, java.io.Serializable, Service, ServiceMBean
All Known Subinterfaces:
WebApplicationFactoryMBean, WebApplicationFactoryMBean
All Known Implementing Classes:
WebApplicationFactory

public interface WebApplicationFactoryMBean
extends J2EEModuleFactoryMBean

Management view of the web application factory.

Author:
Paul Reilly

Field Summary
static java.lang.String OBJECT_NAME
           
 
Fields inherited from interface jrunx.kernel.Service
INITIALIZED, STARTED, STARTING, STOPPED, STOPPING, UNINITIALIZED
 
Method Summary
 java.util.Collection create(java.net.URL url, java.lang.String deploymentOrigin, java.lang.String webModuleName, java.net.URL altDDURL, java.lang.String contextRoot, java.lang.String earName)
          This method is used by the EnterpriseApplicationFactory.
 java.lang.String getRootContextAppName()
           
 void setRootContextAppName(java.lang.String name)
           
 
Methods inherited from interface jrun.j2ee.J2EEModuleFactoryMBean
addMandatoryFingerPrint, addPotentialFingerPrint, clearResources, create, getMandatoryFingerPrintList, getPotentialFingerPrintList, getResource, getResources, getTemporaryDirectory, isPersistXML, isValidateXML, setMandatoryFingerPrint, setPersistXML, setPotentialFingerPrint, setTemporaryDirectory, setValidateXML
 
Methods inherited from interface jrunx.kernel.ServiceMBean
bind, getBindToJNDI, getDeactivated, getDomainName, getJRunService, getLogger, getName, getParentService, getServerName, requestServer, setBindToJNDI, setDeactivated, setDomainName, setName, setParentService, unbind
 
Methods inherited from interface jrunx.kernel.Service
destroy, getStatus, init, start, stop, updateStatus
 

Field Detail

OBJECT_NAME

public static final java.lang.String OBJECT_NAME
Method Detail

create

public java.util.Collection create(java.net.URL url,
                                   java.lang.String deploymentOrigin,
                                   java.lang.String webModuleName,
                                   java.net.URL altDDURL,
                                   java.lang.String contextRoot,
                                   java.lang.String earName)
                            throws DeploymentException
This method is used by the EnterpriseApplicationFactory.
Parameters:
url - The URL pointing to the local open directory or war.
deploymentOrigin - The original URL passed into the DeployerService. It differs from the url parameter if the URL was remote.
webModuleName - The web module name. For open directories, this will be the directory name. For war files, this will be the war file name.
altDDURL - The optional URL for the post assembly deployment descriptor file.
contextRoot - The context root from application.xml.
earName - The name of the ear file or open directory.

setRootContextAppName

public void setRootContextAppName(java.lang.String name)

getRootContextAppName

public java.lang.String getRootContextAppName()


Copyright � 2002 Macromedia Corporation. All Rights Reserved.