|
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, each of which can be deployed on one or more Roles. A Role is a set of server, with a server serving more than one Role. For example a Role may be the whole Domain, a set of servers that implement the role, or a specific server. These components might include EJBs, servlets, JMS destinations, WebLogic startup and shutdown classes.
An application represents the actual EAR file for this application.
Method Summary | |
boolean |
addComponent(ComponentMBean component)
Add a component to this application. |
void |
deploy()
|
weblogic.management.descriptors.ApplicationDescriptorMBean |
getApplicationDescriptor()
Returns the descriptor mbean for the application |
ComponentMBean[] |
getComponents()
Returns the components that make up this application. |
int |
getInternalType()
|
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. |
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 |
setApplicationDescriptor(weblogic.management.descriptors.ApplicationDescriptorMBean descr)
Set the descriptor mbean for the application |
void |
setDeployed(boolean deployed)
Deploy or undeploy the entire application. |
void |
setInternalApp(boolean internal)
|
void |
setLastModified(long time)
|
void |
setPath(java.lang.String path)
Set the path pointing to the application's EAR file. |
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 weblogic.management.descriptors.ApplicationDescriptorMBean getApplicationDescriptor()
public void setApplicationDescriptor(weblogic.management.descriptors.ApplicationDescriptorMBean descr)
public int getInternalType()
public void setInternalApp(boolean internal)
|
Documentation is available at http://e-docs.bea.com/wls/docs61 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |