|
Oracle Fusion Middleware Oracle WebLogic Server 10.3.1 MBean API Reference 11g Release 1 (10.3.1) Part Number E13945-01 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
AppDeploymentMBean
public interface ComponentMBean
A component is a specific type of deployment that is part of a J2EE application (see ApplicationMBean). Typically it is a JAR, WAR, or RAR file that contains application code. Deploying an application is primarily the sum of its component deployments. Components define the target servers for the application. A target may be a server or cluster. Web Applications may also reference Virtual hosts, which in turn define additional server/cluster targets.
This is a type-safe interface for a
WebLogic Server MBean, which you can import into your client
classes and access through
weblogic.management.MBeanHome
. As of 9.0, the
MBeanHome
interface and all type-safe interfaces for
WebLogic Server MBeans are deprecated. Instead, client classes that
interact with WebLogic Server MBeans should use standard JMX design
patterns in which clients use the
javax.management.MBeanServerConnection
interface to
discover MBeans, attributes, and attribute types at runtime.
Field Summary |
---|
Fields inherited from interface weblogic.management.configuration.DeploymentMBean |
---|
DEFAULT_ORDER, MAX_ORDER, MIN_ORDER |
Fields inherited from interface weblogic.management.configuration.ConfigurationMBean |
---|
DEFAULT_EMPTY_BYTE_ARRAY |
Method Summary | |
---|---|
boolean |
activated(TargetMBean target)
Deprecated. Indicates whether component has been activated on a server |
TargetMBean[] |
getActivatedTargets()
Deprecated. List of servers and clusters where this module is currently active. |
ApplicationMBean |
getApplication()
Deprecated. The application this component is a part of. |
String |
getURI()
Deprecated. A URI that points to the application module, usually on the Administration Server. |
void |
refreshDDsIfNeeded(String[] changedFiles)
Deprecated. |
void |
setApplication(ApplicationMBean app)
Deprecated. Sets the value of the Application attribute. |
void |
setURI(String uri)
Deprecated. Sets the value of the URI attribute. |
Methods inherited from interface weblogic.management.configuration.DeploymentMBean |
---|
addTarget, getDeploymentOrder, getTargets, removeTarget, setDeploymentOrder, setTargets |
Methods inherited from interface weblogic.management.configuration.ConfigurationMBean |
---|
freezeCurrentValue, getName, getNotes, isSet, restoreDefaultValue, setComments, setDefaultedMBean, setName, setNotes, setPersistenceEnabled, unSet |
Method Detail |
---|
ApplicationMBean getApplication()
The application this component is a part of. This is guaranteed to never be null.
void setApplication(ApplicationMBean app) throws InvalidAttributeValueException
Sets the value of the Application attribute.
app
- The new application value
InvalidAttributeValueException
ComponentMBean.getApplication()
String getURI()
A URI that points to the application module, usually on the Administration Server.
URI can only be set if this is a standalone component; the URI for an application is defined in the application's deployment descriptor.
*
void setURI(String uri)
Sets the value of the URI attribute.
uri
- The new uRI valueComponentMBean.getURI()
TargetMBean[] getActivatedTargets()
List of servers and clusters where this module is currently
active. This attribute is valid only for modules deployed via the
two phase protocol. Modules deployed with the WLS 6.x deployment
protocol do not maintain this attribute. To determine active
targets for a module regardless of deployment protocol, use weblogic.management.runtime.DeployerRuntimeMBean#lookupActiveTargetsForComponent
.
ApplicationMBean.isTwoPhase()
boolean activated(TargetMBean target)
Indicates whether component has been activated on a server
target
-
void refreshDDsIfNeeded(String[] changedFiles)
|
Documentation is available at http://download.oracle.com/docs/cd/E12839_01/web.1111/wls.htm Copyright 1996, 2009, Oracle and/or its affiliates. All rights reserved. Oracle is a registered trademark of Oracle Corporation and/or its affiliates. Other names may be trademarks of their respective owners. Oracle Fusion Middleware Oracle WebLogic Server 10.3.1 MBean API Reference 11g Release 1 (10.3.1) Part Number E13945-01 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |