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 ForeignJMSServerMBean

All Superinterfaces:
ConfigurationMBean, DeploymentMBean, weblogic.descriptor.DescriptorBean, DynamicMBean, MBeanRegistration, NotificationBroadcaster, weblogic.descriptor.SettableBean, weblogic.management.WebLogicMBean

Deprecated. 9.0.0.0 Replaced by the ForeignServerBean type in the new JMS module.

public interface ForeignJMSServerMBean
extends DeploymentMBean

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.

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
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

WLS_CONTEXT_FACTORY

public static final String WLS_CONTEXT_FACTORY
Deprecated. 
See Also:
Constant Field Values
Method Detail

addConnectionFactory

public boolean addConnectionFactory(ForeignJMSConnectionFactoryMBean factory)
Deprecated. 9.0.0.0 Replaced by the ForeignServerBean type in the new JMS module.

Adds a destination.

Parameters:
factory - The feature to be added to the ConnectionFactory attribute
Returns:

addDestination

public boolean addDestination(ForeignJMSDestinationMBean destination)
Deprecated. 9.0.0.0 Replaced by the ForeignServerBean type in the new JMS module.

Adds a destination.

Parameters:
destination - The feature to be added to the Destination attribute
Returns:

getConnectionFactories

public ForeignJMSConnectionFactoryMBean[] getConnectionFactories()
Deprecated. 

The remote connection factories.

Returns:
The connectionFactories value
A dynamic MBean attribute.
false

getConnectionURL

public String getConnectionURL()
Deprecated. 

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.

Returns:
The connectionURL value

getDestinations

public ForeignJMSDestinationMBean[] getDestinations()
Deprecated. 

The remote destinations.

Returns:
The destinations value
A dynamic MBean attribute.
false

getForeignJMSConnectionFactories

public ForeignJMSConnectionFactoryMBean[] getForeignJMSConnectionFactories()
Deprecated. 9.0.0.0 Replaced by the ForeignServerBean type in the new JMS module.

Get all the Members

Since:
9.0.0.0

getForeignJMSDestinations

public ForeignJMSDestinationMBean[] getForeignJMSDestinations()
Deprecated. 9.0.0.0 Replaced by the ForeignServerBean type in the new JMS module.

Get all the Members

Since:
9.0.0.0

getInitialContextFactory

public String getInitialContextFactory()
Deprecated. 

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.

Returns:
The initialContextFactory value

getJNDIProperties

public Properties getJNDIProperties()
Deprecated. 

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.

Returns:
The jNDIProperties value

removeConnectionFactory

public boolean removeConnectionFactory(ForeignJMSConnectionFactoryMBean factory)
Deprecated. 9.0.0.0 Replaced by the ForeignServerBean type in the new JMS module.

Removes a destination.

Parameters:
factory -
Returns:

removeDestination

public boolean removeDestination(ForeignJMSDestinationMBean destination)
Deprecated. 9.0.0.0 Replaced by the ForeignServerBean type in the new JMS module.

Removes a destination.

Parameters:
destination -
Returns:

setConnectionFactories

public void setConnectionFactories(ForeignJMSConnectionFactoryMBean[] factories)
Deprecated. 

Sets the ConnectionFactories attribute.

Parameters:
factories - The new connectionFactories value
See Also:
getConnectionFactories()
A dynamic MBean attribute.
false

setConnectionURL

public void setConnectionURL(String url)
                      throws InvalidAttributeValueException
Deprecated. 

Sets the value of the ConnectionURL attribute.

Parameters:
url - The new connectionURL value
Throws:
InvalidAttributeValueException
See Also:
getConnectionURL()
Legal null:
true
A dynamic MBean attribute.

setDestinations

public void setDestinations(ForeignJMSDestinationMBean[] destinations)
Deprecated. 9.0.0.0 Replaced by the ForeignServerBean type in the new JMS module.

Sets the destinations attribute.

Parameters:
destinations - The new destinations value
See Also:
getDestinations()
A dynamic MBean attribute.
false

setInitialContextFactory

public void setInitialContextFactory(String f)
                              throws InvalidAttributeValueException
Deprecated. 

Sets the value of the InitialContextFactory attribute.

Parameters:
f - The new initialContextFactory value
Throws:
InvalidAttributeValueException
See Also:
getInitialContextFactory()
Default value:
ForeignJMSServerMBean.WLS_CONTEXT_FACTORY
Legal null:
false
A dynamic MBean attribute.

setJNDIProperties

public void setJNDIProperties(Properties params)
                       throws InvalidAttributeValueException
Deprecated. 

Sets the value of the JNDIProperties attribute.

Parameters:
params - The new jNDIProperties value
Throws:
InvalidAttributeValueException
See Also:
getJNDIProperties()
A dynamic MBean attribute.

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