Oracle Fusion Middleware
Java API Reference for Oracle WebLogic Server
12c (12.1.2)

Part Number E27170-02

weblogic.management.configuration
Interface ComponentMBean

All Superinterfaces:
ConfigurationMBean, DeploymentMBean, DescriptorBean, DynamicMBean, MBeanRegistration, NotificationBroadcaster, SettableBean, WebLogicMBean
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.


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, getId, getInheritedProperties, getName, getNotes, isDynamicallyCreated, isInherited, isSet, restoreDefaultValue, setComments, setDefaultedMBean, setName, setNotes, setPersistenceEnabled, unSet
 
Methods inherited from interface weblogic.management.WebLogicMBean
getMBeanInfo, getObjectName, getParent, getType, isCachingDisabled, isRegistered, 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
 
Methods inherited from interface weblogic.descriptor.DescriptorBean
addPropertyChangeListener, createChildCopyIncludingObsolete, getParentBean, isEditable, removePropertyChangeListener
 

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.

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

activated

boolean activated(TargetMBean target)
Deprecated. 

Indicates whether component has been activated on a server

Parameters:
target -
Returns:
returns true if activated

refreshDDsIfNeeded

void refreshDDsIfNeeded(String[] changedFiles)
Deprecated. 

Copyright 1996, 2013, 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
Java API Reference for Oracle WebLogic Server
12c (12.1.2)

Part Number E27170-02