BEA Systems, Inc.

Type-Safe Access to BEA WebLogic Server 9.2 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.


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.
 String getJNDIPropertiesCredential()
          Deprecated. The encrypted value of the value set via java.naming.security.credentials property of the JNDIProperties attribute.
 byte[] getJNDIPropertiesCredentialEncrypted()
          Deprecated. The encrypted value of the value set via java.naming.security.credentials property of the JNDIProperties attribute.
 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.
 void setJNDIPropertiesCredential(String s)
          Deprecated. Encrypts the password and sets the value of the JNDIPropertiesCredential attribute.
 void setJNDIPropertiesCredentialEncrypted(byte[] bytes)
          Deprecated. Encrypts the password and sets the value of the JNDIPropertiesCredentialEncrypted 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

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

getForeignJMSConnectionFactories

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

Get all the Members


getForeignJMSDestinations

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

Get all the Members


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

getJNDIPropertiesCredential

public String getJNDIPropertiesCredential()
Deprecated. 

The encrypted value of the value set via java.naming.security.credentials property of the JNDIProperties attribute. set via setJNDIPropertiesCredential ,

Returns:
The value of the JNDIPropertiesCredential as String.
See Also:
EncryptionHelper

getJNDIPropertiesCredentialEncrypted

public byte[] getJNDIPropertiesCredentialEncrypted()
Deprecated. 

The encrypted value of the value set via java.naming.security.credentials property of the JNDIProperties attribute. set via setJNDIPropertiesCredentialEncrypted ,

Returns:
The value of the JNDIPropertiesCredential as an encrypted byte array
See Also:
EncryptionHelper

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

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

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

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

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

setJNDIPropertiesCredential

public void setJNDIPropertiesCredential(String s)
                                 throws InvalidAttributeValueException
Deprecated. 

Encrypts the password and sets the value of the JNDIPropertiesCredential attribute.

Throws:
InvalidAttributeValueException
See Also:
getJNDIPropertiesCredentialEncrypted()

setJNDIPropertiesCredentialEncrypted

public void setJNDIPropertiesCredentialEncrypted(byte[] bytes)
                                          throws InvalidAttributeValueException
Deprecated. 

Encrypts the password and sets the value of the JNDIPropertiesCredentialEncrypted attribute.

Parameters:
bytes - The new password value as a byte array.
Throws:
InvalidAttributeValueException
See Also:
getJNDIPropertiesCredentialEncrypted()

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