|
BEA Systems, Inc. | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
An application represents a J2EE application contained in an EAR file or EAR directory. The EAR file contains a set of components such as WAR, EJB and RAR connector components, each of which can be deployed on one or more Targets. A target is a server or a cluster. If the application is provided as a standalone module, then this MBean is a synthetic wrapper application only.
TargetMBean
,
EJBComponentMBean
,
WebAppComponentMBean
,
ConnectorComponentMBean
Field Summary | |
static long |
CACHING_STUB_SVUID
|
static int |
DEPLOYMENT_TIMEOUT
Default deployment timeout value for 2 phase deployments. |
static java.lang.String |
EXTERNAL_STAGE
Indicates that the files will be located in the staging directory but that an external application will be responsible for delivering them there. |
static java.lang.String |
NO_STAGE
Indicates the application will not be staged. |
static java.lang.String |
STAGE
Indicates the WebLogic Server will stage the application to the staging directory. |
static java.lang.String |
TYPE_COMPONENT
Application is an archived component/module |
static java.lang.String |
TYPE_EAR
Application is an archived EAR |
static java.lang.String |
TYPE_EXPLODED_COMPONENT
Application is an unarchived component/module |
static java.lang.String |
TYPE_EXPLODED_EAR
Application is an unarchived EAR |
static java.lang.String |
TYPE_UNKNOWN
Application is of unknown type - default |
Fields inherited from class weblogic.management.configuration.ConfigurationMBean |
CACHING_STUB_SVUID |
Method Summary | |
void |
deploy()
Deprecated. weblogic.management.runtime.DeployerRuntimeMBean is the appropriate class for deploying an application. Applications using this interface will not use the 2 phase deployment protocol. |
ComponentMBean[] |
getComponents()
Returns the components that make up this application. |
int |
getDeploymentTimeout()
Milliseconds granted for a cluster deployment task on this application. |
java.lang.String |
getDeploymentType()
Specifies category of this application. |
long |
getLastModified()
Deprecated. the 2 phase deployment protocol does not maintain application file modification times |
java.lang.Exception |
getLoadError()
Deprecated. |
int |
getLoadOrder()
Specifies the order applications are loaded at server startup. |
java.lang.String |
getPath()
The location of the original source application files on the Admin Server. |
java.lang.String[] |
getStagedTargets()
List of servers this application is known to be staged on. |
java.lang.String |
getStagingMode()
Returns the staging mode of this application, which overrides the managed server's StagingMode attribute. |
java.lang.String |
getStagingPath()
Identifies the directory path on the managed server relative to the server's StagingDirectoryName. |
boolean |
isDeployed()
Deprecated. This attribute is unused for applications deployed with the 2 phase deployment protocol. Application modules are deployed based on whether they have targets. |
boolean |
isTwoPhase()
Indicates whether this application is deployed using the 2 phase deployment protocol DeployerRuntimeMBean . |
void |
load()
Deprecated. weblogic.management.runtime.DeployerRuntimeMBean is the appropriate class for initializing application and component MBeans. Applications using this interface will not use the 2 phase deployment protocol. |
void |
load(boolean autoDiscover)
Deprecated. weblogic.management.runtime.DeployerRuntimeMBean is the appropriate class for initializing application and component MBeans. Applications using this interface will not use the 2 phase deployment protocol. |
void |
setDeploymentTimeout(int timeInMillis)
Override the timeout value for a clustered deployment. |
void |
setDeploymentType(java.lang.String deploymentType)
|
void |
setLastModified(long time)
|
void |
setLoadOrder(int order)
|
void |
setPath(java.lang.String path)
relative to the root directory of the Admin Server installation. |
void |
setStagingMode(java.lang.String mode)
Overrides staging mode of server for this application. |
boolean |
staged(java.lang.String server)
Convenience method for determining whether this application is currently staged on a particular server. |
boolean |
stagingEnabled(java.lang.String server)
Convenience method for determining whether this application is to be staged on a particular server. |
void |
undeploy()
Deprecated. weblogic.management.runtime.DeployerRuntimeMBean is the appropriate class for undeploying an application. Applications using this interface will not use the 2 phase deployment protocol. |
boolean |
useStagingDirectory(java.lang.String server)
Convenience method for determining where the file will be loaded from on the managed servers. |
Methods inherited from interface weblogic.management.configuration.ConfigurationMBean |
addLinkMbeanAttribute,
getNotes,
isPersistenceEnabled,
setNotes |
Methods inherited from interface weblogic.management.WebLogicMBean |
getMBeanInfo,
getName,
getObjectName,
getParent,
getType,
isCachingDisabled,
isRegistered,
setName,
setParent |
Methods inherited from interface javax.management.DynamicMBean |
getAttribute,
getAttributes,
invoke,
setAttribute,
setAttributes |
Methods inherited from interface javax.management.MBeanRegistration |
postDeregister,
postRegister,
preDeregister,
preRegister |
Methods inherited from interface javax.management.NotificationBroadcaster |
addNotificationListener,
getNotificationInfo,
removeNotificationListener |
Field Detail |
public static final long CACHING_STUB_SVUID
public static final java.lang.String TYPE_EAR
public static final java.lang.String TYPE_EXPLODED_EAR
public static final java.lang.String TYPE_COMPONENT
public static final java.lang.String TYPE_EXPLODED_COMPONENT
public static final java.lang.String TYPE_UNKNOWN
public static final java.lang.String NO_STAGE
public static final java.lang.String STAGE
public static final java.lang.String EXTERNAL_STAGE
public static final int DEPLOYMENT_TIMEOUT
Method Detail |
public java.lang.String getPath()
If the application is not being staged (StagingMode==nostage) then the path must be valid on the target server.
The path to an Enterprise application (EAR) is the location of the .ear file or the root of the EAR if it is unarchived. e.g. Path="myapps/app.ear" is valid. If the application is a standalone module then the path is the parent directory of the module. e.g. If the module is located at myapps/webapp/webapp.war, the Path="myapps/webapp" is correct, whereas Path="myapps/webapp/webapp.war" is incorrect.
public void setPath(java.lang.String path) throws ManagementException, javax.management.InvalidAttributeValueException
public ComponentMBean[] getComponents()
public void load() throws ManagementException
public void load(boolean autoDiscover) throws ManagementException
public java.lang.Exception getLoadError()
public long getLastModified()
public void deploy() throws DeploymentException, DistributedManagementException
public void undeploy() throws UndeploymentException, DistributedManagementException
public boolean isDeployed()
public void setLastModified(long time)
public java.lang.String getStagingPath()
public java.lang.String[] getStagedTargets()
public java.lang.String getStagingMode()
ServerMBean
public void setStagingMode(java.lang.String mode) throws ManagementException
public boolean stagingEnabled(java.lang.String server)
public boolean staged(java.lang.String server)
public boolean useStagingDirectory(java.lang.String server)
public boolean isTwoPhase()
DeployerRuntimeMBean
. If true then
the application's components may only be targeted to release 7.0 and later servers.
If false then the application may be deployed to all releases supporting the release
6 deployment protocol, which is deprecated in release 7.
public int getLoadOrder()
Application ordering is only supported for applications deployed with the 2 phase protocol.
public void setLoadOrder(int order)
public java.lang.String getDeploymentType()
public void setDeploymentType(java.lang.String deploymentType)
public int getDeploymentTimeout()
Only cluster deployments can be timed out.
public void setDeploymentTimeout(int timeInMillis)
The value is specified in milliseconds. The server will, however, only check for timed out deployments about once a minute.
|
Documentation is available at http://download.oracle.com/docs/cd/E13222_01/wls/docs70 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |