Oracle Fusion Middleware
Oracle WebLogic Server MBean Javadoc
11g Release 1 (10.3.6)

Part Number E13945-06

weblogic.management.configuration
Interface ForeignJMSServerMBean

All Superinterfaces:
ConfigurationMBean, DeploymentMBean

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


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. 9.0.0.0 Replaced by the ForeignServerBean type in the new JMS module.
 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
 

Field Detail

WLS_CONTEXT_FACTORY

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

getDestinations

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

The remote destinations.

Returns:
The destinations value

setDestinations

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:
ForeignJMSServerMBean.getDestinations()

addDestination

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:

removeDestination

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:

getConnectionFactories

ForeignJMSConnectionFactoryMBean[] getConnectionFactories()
Deprecated. 

The remote connection factories.

Returns:
The connectionFactories value

setConnectionFactories

void setConnectionFactories(ForeignJMSConnectionFactoryMBean[] factories)
Deprecated. 

Sets the ConnectionFactories attribute.

Parameters:
factories - The new connectionFactories value
See Also:
ForeignJMSServerMBean.getConnectionFactories()

addConnectionFactory

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:

removeConnectionFactory

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:

setInitialContextFactory

void setInitialContextFactory(String f)
                              throws InvalidAttributeValueException
Deprecated. 

Sets the value of the InitialContextFactory attribute.

Parameters:
f - The new initialContextFactory value
Throws:
InvalidAttributeValueException
See Also:
ForeignJMSServerMBean.getInitialContextFactory()
This method can NOT set a null value.
Default Value:
ForeignJMSServerMBean.WLS_CONTEXT_FACTORY

getInitialContextFactory

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

setConnectionURL

void setConnectionURL(String url)
                      throws InvalidAttributeValueException
Deprecated. 

Sets the value of the ConnectionURL attribute.

Parameters:
url - The new connectionURL value
Throws:
InvalidAttributeValueException
See Also:
ForeignJMSServerMBean.getConnectionURL()

getConnectionURL

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

setJNDIProperties

void setJNDIProperties(Properties params)
                       throws InvalidAttributeValueException
Deprecated. 

Sets the value of the JNDIProperties attribute.

Parameters:
params - The new jNDIProperties value
Throws:
InvalidAttributeValueException
See Also:
ForeignJMSServerMBean.getJNDIProperties()

getJNDIProperties

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

getJNDIPropertiesCredentialEncrypted

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:
weblogic.management.EncryptionHelper

setJNDIPropertiesCredentialEncrypted

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:
ForeignJMSServerMBean.getJNDIPropertiesCredentialEncrypted()

getJNDIPropertiesCredential

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:
weblogic.management.EncryptionHelper

setJNDIPropertiesCredential

void setJNDIPropertiesCredential(String s)
                                 throws InvalidAttributeValueException
Deprecated. 

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

Parameters:
String - The new password value as a String.
Throws:
InvalidAttributeValueException
See Also:
ForeignJMSServerMBean.getJNDIPropertiesCredentialEncrypted()

getForeignJMSConnectionFactories

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

Get all the Members


getForeignJMSDestinations

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

Get all the Members


Copyright 1996, 2011, 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
Oracle WebLogic Server MBean Javadoc
11g Release 1 (10.3.6)

Part Number E13945-06