|
BEA Systems, Inc. | |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
MBeanHome
interface.)
This class represents a JNDI provider that is outside the WebLogic JMS server. It is a parent element of the ForeignJMSConnectionFactory and ForeignJMSDestination MBeans. It contains information that allows WebLogic Server to reach the remote JNDI provider. This way, a number of connection factory and destination objects can be defined on one JNDI directory.
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://edocs.bea.com.
Field Summary | |
static String |
WLS_CONTEXT_FACTORY
Deprecated. |
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 |
addConnectionFactory(ForeignJMSConnectionFactoryMBean factory)
Deprecated. 9.0.0.0 Replaced by the ForeignServerBean type in the new JMS module. |
boolean |
addDestination(ForeignJMSDestinationMBean destination)
Deprecated. 9.0.0.0 Replaced by the ForeignServerBean type in the new JMS module. |
ForeignJMSConnectionFactoryMBean[] |
getConnectionFactories()
Deprecated. The remote connection factories. |
String |
getConnectionURL()
Deprecated. The URL that WebLogic Server will use to contact the JNDI provider. |
ForeignJMSDestinationMBean[] |
getDestinations()
Deprecated. The remote destinations. |
ForeignJMSConnectionFactoryMBean[] |
getForeignJMSConnectionFactories()
Deprecated. 9.0.0.0 Replaced by the ForeignServerBean type in the new JMS module. |
ForeignJMSDestinationMBean[] |
getForeignJMSDestinations()
Deprecated. 9.0.0.0 Replaced by the ForeignServerBean type in the new JMS module. |
String |
getInitialContextFactory()
Deprecated. The name of the class that must be instantiated to access the JNDI provider. |
Properties |
getJNDIProperties()
Deprecated. Any additional properties that must be set for the JNDI provider. |
boolean |
removeConnectionFactory(ForeignJMSConnectionFactoryMBean factory)
Deprecated. 9.0.0.0 Replaced by the ForeignServerBean type in the new JMS module. |
boolean |
removeDestination(ForeignJMSDestinationMBean destination)
Deprecated. 9.0.0.0 Replaced by the ForeignServerBean type in the new JMS module. |
void |
setConnectionFactories(ForeignJMSConnectionFactoryMBean[] factories)
Deprecated. Sets the ConnectionFactories attribute. |
void |
setConnectionURL(String url)
Deprecated. Sets the value of the ConnectionURL attribute. |
void |
setDestinations(ForeignJMSDestinationMBean[] destinations)
Deprecated. 9.0.0.0 Replaced by the ForeignServerBean type in the new JMS module. |
void |
setInitialContextFactory(String f)
Deprecated. Sets the value of the InitialContextFactory attribute. |
void |
setJNDIProperties(Properties params)
Deprecated. Sets the value of the JNDIProperties 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 |
Field Detail |
public static final String WLS_CONTEXT_FACTORY
Method Detail |
public boolean addConnectionFactory(ForeignJMSConnectionFactoryMBean factory)
Adds a destination.
factory
- The feature to be added to the ConnectionFactory attribute
public boolean addDestination(ForeignJMSDestinationMBean destination)
Adds a destination.
destination
- The feature to be added to the Destination attribute
public ForeignJMSConnectionFactoryMBean[] getConnectionFactories()
The remote connection factories.
public String getConnectionURL()
The URL that WebLogic Server will use to contact the JNDI provider. The syntax of this URL depends on which JNDI provider is being used. For WebLogic JMS, leave this field blank if you are referencing WebLogic JMS objects within the same cluster. This value corresponds to the standard JNDI property, java.naming.provider.url.
Note: If this value is not specified, look-ups will be performed on the JNDI server within the WebLogic Server instance where this connection factory is deployed.
public ForeignJMSDestinationMBean[] getDestinations()
The remote destinations.
public ForeignJMSConnectionFactoryMBean[] getForeignJMSConnectionFactories()
public ForeignJMSDestinationMBean[] getForeignJMSDestinations()
public String getInitialContextFactory()
The name of the class that must be instantiated to access the JNDI provider. This class name depends on the JNDI provider and the vendor that are being used. This value corresponds to the standard JNDI property, java.naming.factory.initial.
Note: This value defaults to weblogic.jndi.WLInitialContextFactory, which is the correct value for WebLogic Server.
public Properties getJNDIProperties()
Any additional properties that must be set for the JNDI provider. These properties will be passed directly to the constructor for the JNDI provider's InitialContext class.
Note: This value must be filled in using a name=value<return>name=value format.
public boolean removeConnectionFactory(ForeignJMSConnectionFactoryMBean factory)
Removes a destination.
factory
-
public boolean removeDestination(ForeignJMSDestinationMBean destination)
Removes a destination.
destination
-
public void setConnectionFactories(ForeignJMSConnectionFactoryMBean[] factories)
Sets the ConnectionFactories attribute.
factories
- The new connectionFactories valuegetConnectionFactories()
public void setConnectionURL(String url) throws InvalidAttributeValueException
Sets the value of the ConnectionURL attribute.
url
- The new connectionURL value
InvalidAttributeValueException
getConnectionURL()
public void setDestinations(ForeignJMSDestinationMBean[] destinations)
Sets the destinations attribute.
destinations
- The new destinations valuegetDestinations()
public void setInitialContextFactory(String f) throws InvalidAttributeValueException
Sets the value of the InitialContextFactory attribute.
f
- The new initialContextFactory value
InvalidAttributeValueException
getInitialContextFactory()
public void setJNDIProperties(Properties params) throws InvalidAttributeValueException
Sets the value of the JNDIProperties attribute.
params
- The new jNDIProperties value
InvalidAttributeValueException
getJNDIProperties()
|
Documentation is available at http://e-docs.bea.com/wls/docs90 Copyright 2005 BEA Systems Inc. |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |