|
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 a EAR file or EAR directory. The EAR file contains a set of components such as WAR, EJB and JMS JAR components. These components might include EJBs, servlets, JMS destinations, or connector components.
An application represents the actual EAR file for this application.
Method Summary | |
boolean |
addComponent(ComponentMBean component)
Add a component to this application. |
void |
deploy()
|
ComponentMBean[] |
getComponents()
Returns the components that make up this application. |
long |
getLastModified()
Returns the time when this application was last loaded. |
java.lang.Exception |
getLoadError()
Return the error thrown the last attempt to call load or reload if any, null otherwise. |
java.lang.String |
getPath()
Returns the path pointing to the application's EAR file. |
java.lang.String[] |
getStagedTargets()
List of servers this application is known to be staged on. |
boolean |
isDeployed()
Returns whether or not this application is deployed. |
void |
load()
Intializes all the MBeans for an application,for any changes in the application descriptor to take into affect the load has to be called on the Application MBean before the application is deployed/redeployed. |
void |
load(boolean autoDiscover)
Load or reload the application, automatically discovering components. |
boolean |
removeComponent(ComponentMBean component)
Remove a component from this application. |
void |
setDeployed(boolean deployed)
Deploy or undeploy the entire application. |
void |
setLastModified(long time)
|
void |
setPath(java.lang.String path)
Set the path pointing to the application's EAR file. |
boolean |
staged(java.lang.String server)
Convenience method for determining whether this application is currently staged on a particular server. |
void |
undeploy()
|
Methods inherited from interface weblogic.management.configuration.ConfigurationMBean |
getNotes,
setNotes,
setPersistenceEnabled |
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 |
Method Detail |
public java.lang.String getPath()
public void setPath(java.lang.String path) throws ManagementException, javax.management.InvalidAttributeValueException
public ComponentMBean[] getComponents()
public boolean addComponent(ComponentMBean component) throws javax.management.InvalidAttributeValueException, DistributedManagementException
public boolean removeComponent(ComponentMBean component) throws javax.management.InvalidAttributeValueException, DistributedManagementException
public void load() throws ManagementException
public void load(boolean autoDiscover) throws ManagementException
public java.lang.Exception getLoadError()
public long getLastModified()
public void setDeployed(boolean deployed) throws DeploymentException, UndeploymentException, DistributedManagementException
public void deploy() throws DeploymentException, DistributedManagementException
public void undeploy() throws UndeploymentException, DistributedManagementException
public boolean isDeployed()
public void setLastModified(long time)
public java.lang.String[] getStagedTargets()
public boolean staged(java.lang.String server)
|
Documentation is available at http://download.oracle.com/docs/cd/E13222_01/wls/docs61 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |