BEA Systems, Inc.

WebLogic Server 8.1 API Reference

weblogic.management.configuration
Interface BridgeDestinationCommonMBean

All Known Subinterfaces:
BridgeDestinationMBean, JMSBridgeDestinationMBean

public interface BridgeDestinationCommonMBean
extends ConfigurationMBean

This class represents a bridge destination for a WebLogic messaging bridge. Each messaging bridge consists of two destinations that are being bridged: a source destination that the bridge reads messages from, and a target destination where the bridge sends the messages that it receives from the source destination.

Author:
Copyright © 2002 BEA Systems, Inc. All Rights Reserved.

Field Summary
static long CACHING_STUB_SVUID
          Description of the Field.
static java.lang.String JMS_XA_ADAPTER_JNDI
          Description of the Field
 
Fields inherited from class weblogic.management.configuration.ConfigurationMBean
CACHING_STUB_SVUID
 
Method Summary
 java.lang.String getAdapterJNDIName()
          The JNDI name of the adapter used to communicate with the specified destination.
 java.lang.String getClasspath()
          The CLASSPATH of the bridge destination.
 java.lang.String getUserName()
          The optional user name that the adapter will use to access the bridge destination.
 java.lang.String getUserPassword()
          The user password that the adapter uses to access the bridge destination.
 void setAdapterJNDIName(java.lang.String name)
          The JNDI name of the adapter used to communicate with the specified destination.
 void setClasspath(java.lang.String classpath)
          The CLASSPATH of the bridge destination.
 void setUserName(java.lang.String name)
          The optional user name that the adapter will use to access the bridge destination.
 void setUserPassword(java.lang.String password)
          The user password that the adapter uses to access the bridge destination.
 
Methods inherited from interface weblogic.management.configuration.ConfigurationMBean
freezeCurrentValue, getNotes, restoreDefaultValue, setComments, setDefaultedMBean, setNotes, setPersistenceEnabled
 
Methods inherited from interface weblogic.management.WebLogicMBean
getMBeanInfo, getName, getObjectName, getParent, getType, isCachingDisabled, isRegistered, setName, setParent
 
Methods inherited from interface javax.management.DynamicMBean
getAttribute, getAttributes, invoke, setAttribute, setAttributes
 
Methods inherited from interface javax.management.MBeanRegistration
postDeregister, postRegister, preRegister
 
Methods inherited from interface javax.management.NotificationBroadcaster
addNotificationListener, getNotificationInfo, removeNotificationListener
 

Field Detail

CACHING_STUB_SVUID

public static final long CACHING_STUB_SVUID
Description of the Field.

JMS_XA_ADAPTER_JNDI

public static final java.lang.String JMS_XA_ADAPTER_JNDI
Description of the Field
Method Detail

getAdapterJNDIName

public java.lang.String getAdapterJNDIName()
The JNDI name of the adapter used to communicate with the specified destination. This name is specified in the adapter's deployment descriptor file and is used by the WebLogic Server Connector container to bind the adapter in WebLogic Server JNDI.

Returns:
The adapterJNDIName value

setAdapterJNDIName

public void setAdapterJNDIName(java.lang.String name)
                        throws javax.management.InvalidAttributeValueException
The JNDI name of the adapter used to communicate with the specified destination. This name is specified in the adapter's deployment descriptor file and is used by the WebLogic Server Connector container to bind the adapter in WebLogic Server JNDI.

Default Value: JMS_XA_ADAPTER_JNDI
Legal Value: (value != void && value != null && value.trim().length() != 0)
Legal NULL: false
Parameters:
name - The new adapterJNDIName value
Throws:
javax.management.InvalidAttributeValueException - Description of the Exception

getUserName

public java.lang.String getUserName()
The optional user name that the adapter will use to access the bridge destination.

Note: All operations done to the specified destination are done using this user name and the corresponding password. Therefore, the User Name/Password for the source and target destinations must have permission to the access the underlying destinations in order for the messaging bridge to work.

Returns:
The userName value

setUserName

public void setUserName(java.lang.String name)
                 throws javax.management.InvalidAttributeValueException
The optional user name that the adapter will use to access the bridge destination.

Note: All operations done to the specified destination are done using this user name and the corresponding password. Therefore, the User Name/Password for the source and target destinations must have permission to the access the underlying destinations in order for the messaging bridge to work.

Parameters:
name - The new userName value
Throws:
javax.management.InvalidAttributeValueException - Description of the Exception

getUserPassword

public java.lang.String getUserPassword()
The user password that the adapter uses to access the bridge destination.

Returns:
The userPassword value

setUserPassword

public void setUserPassword(java.lang.String password)
                     throws javax.management.InvalidAttributeValueException
The user password that the adapter uses to access the bridge destination.

Parameters:
password - The new userPassword value
Throws:
javax.management.InvalidAttributeValueException - Description of the Exception

getClasspath

public java.lang.String getClasspath()
The CLASSPATH of the bridge destination. This is used mainly to connect to another release of WebLogic Server.

When connecting to a destination that is running on WebLogic Server 6.0 or earlier, the bridge destination must supply a CLASSPATH that indicates the locations of the classes for the earlier WebLogic Server implementation.

Note: When connecting to a third-party JMS product, the bridge destination must supply the product's CLASSPATH in the WebLogic Server CLASSPATH.

Returns:
The classpath value

setClasspath

public void setClasspath(java.lang.String classpath)
                  throws javax.management.InvalidAttributeValueException
The CLASSPATH of the bridge destination. This is used mainly to connect to another release of WebLogic Server.

When connecting to a destination that is running on WebLogic Server 6.0 or earlier, the bridge destination must supply a CLASSPATH that indicates the locations of the classes for the earlier WebLogic Server implementation.

Note: When connecting to a third-party JMS product, the bridge destination must supply the product's CLASSPATH in the WebLogic Server CLASSPATH.

Parameters:
classpath - The new classpath value
Throws:
javax.management.InvalidAttributeValueException - Description of the Exception

Documentation is available at
http://download.oracle.com/docs/cd/E13222_01/wls/docs81b