BEA Systems, Inc.

Type-Safe Access to BEA WebLogic Server 9.0 MBeans (Deprecated)

(Methods marked with @since 9.0.0.0 are not available through the deprecated MBeanHome interface.)


weblogic.management.configuration
Interface ComponentMBean

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

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. For more information, see "Developing Manageable Applications with JMX" on http://www.oracle.com/technology/documentation/index.html.

Copyright © 2005 BEA Systems, Inc. All Rights Reserved.

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
 
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
addBeanUpdateListener, addPropertyChangeListener, createChildCopy, createChildCopyIncludingObsolete, getDescriptor, getParentBean, isEditable, removeBeanUpdateListener, removePropertyChangeListener
 

Method Detail

activated

public boolean activated(TargetMBean target)
Deprecated. 

Indicates whether component has been activated on a server

Parameters:
target -
Returns:
Since:
7.0.0.0

getActivatedTargets

public 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()
A dynamic MBean attribute.
false

getApplication

public ApplicationMBean getApplication()
Deprecated. 

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

Returns:
The application value

getURI

public 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

refreshDDsIfNeeded

public void refreshDDsIfNeeded(String[] changedFiles)
Deprecated. 

setApplication

public void setApplication(ApplicationMBean app)
                    throws InvalidAttributeValueException
Deprecated. 

Sets the value of the Application attribute.

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

setURI

public void setURI(String uri)
Deprecated. 

Sets the value of the URI attribute.

Parameters:
uri - The new uRI value
See Also:
getURI()
A dynamic MBean attribute.

Documentation is available at
http://download.oracle.com/docs/cd/E13222_01/wls/docs90
Copyright 2005 BEA Systems Inc.