Oracle Fusion Middleware
Oracle WebLogic Server MBean Javadoc
11g Release 1 (10.3.6)

Part Number E13945-06

weblogic.management.configuration
Interface ComponentMBean

All Superinterfaces:
ConfigurationMBean, DeploymentMBean
All Known Subinterfaces:
ConnectorComponentMBean, EJBComponentMBean, WebAppComponentMBean, WebServiceComponentMBean

Deprecated. 9.0.0.0 in favor of AppDeploymentMBean

public interface ComponentMBean
extends DeploymentMBean

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.

Deprecation of MBeanHome and Type-Safe Interfaces

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

getApplication

ApplicationMBean getApplication()
Deprecated. 

The application this component is a part of. This is guaranteed to never be null.

Returns:
The application value

setApplication

void setApplication(ApplicationMBean app)
                    throws InvalidAttributeValueException
Deprecated. 

Sets the value of the Application attribute.

Parameters:
app - The new application value
Throws:
InvalidAttributeValueException
See Also:
ComponentMBean.getApplication()

getURI

String getURI()
Deprecated. 

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.

*

Returns:
The uRI value

setURI

void setURI(String uri)
Deprecated. 

Sets the value of the URI attribute.

Parameters:
uri - The new uRI value
See Also:
ComponentMBean.getURI()

getActivatedTargets

TargetMBean[] getActivatedTargets()
Deprecated. 

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.

Returns:
The activatedTargets value
Since:
7.0.0.0
See Also:
ApplicationMBean.isTwoPhase()

activated

boolean activated(TargetMBean target)
Deprecated. 

Indicates whether component has been activated on a server

Parameters:
target -
Returns:
Since:
7.0.0.0

refreshDDsIfNeeded

void refreshDDsIfNeeded(String[] changedFiles)
Deprecated. 

Copyright 1996, 2011, 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 MBean Javadoc
11g Release 1 (10.3.6)

Part Number E13945-06