|
BEA Systems, Inc. | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
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.
Field Summary | |
static java.lang.String |
WLS_CONTEXT_FACTORY
Description of the Field |
Fields inherited from class weblogic.management.configuration.DeploymentMBean |
CACHING_STUB_SVUID,
DEFAULT_ORDER,
MAX_ORDER,
MIN_ORDER |
Fields inherited from class weblogic.management.configuration.ConfigurationMBean |
CACHING_STUB_SVUID |
Method Summary | |
boolean |
addConnectionFactory(ForeignJMSConnectionFactoryMBean factory)
Add a destination. |
boolean |
addDestination(ForeignJMSDestinationMBean destination)
Add a destination. |
ForeignJMSConnectionFactoryMBean[] |
getConnectionFactories()
Get the remote connection factories. |
java.lang.String |
getConnectionURL()
The URL that WebLogic Server will use to contact the JNDI provider. |
ForeignJMSDestinationMBean[] |
getDestinations()
Get the remote destinations. |
java.lang.String |
getInitialContextFactory()
The name of the class that must be instantiated to access the JNDI provider. |
java.util.Properties |
getJNDIProperties()
Additional properties that must be set for the particular JNDI provider. |
boolean |
removeConnectionFactory(ForeignJMSConnectionFactoryMBean factory)
Remove a destination. |
boolean |
removeDestination(ForeignJMSDestinationMBean destination)
Remove a destination. |
void |
setConnectionFactories(ForeignJMSConnectionFactoryMBean[] factories)
Set the remote destinations. |
void |
setConnectionURL(java.lang.String url)
The URL that WebLogic Server will use to contact the JNDI provider. |
void |
setDestinations(ForeignJMSDestinationMBean[] destinations)
Set the remote destinations. |
void |
setInitialContextFactory(java.lang.String f)
The name of the class that must be instantiated to access the JNDI provider. |
void |
setJNDIProperties(java.util.Properties params)
Additional properties that must be set for the particular JNDI provider. |
Methods inherited from interface weblogic.management.configuration.DeploymentMBean |
addTarget,
getDeploymentOrder,
getTargets,
removeTarget,
setDeploymentOrder,
setTargets |
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 |
public static final java.lang.String WLS_CONTEXT_FACTORY
Method Detail |
public ForeignJMSDestinationMBean[] getDestinations()
public void setDestinations(ForeignJMSDestinationMBean[] destinations)
destinations
- The new destinations valuepublic boolean addDestination(ForeignJMSDestinationMBean destination)
destination
- The feature to be added to the Destination attributepublic boolean removeDestination(ForeignJMSDestinationMBean destination)
destination
- Description of the Parameterpublic ForeignJMSConnectionFactoryMBean[] getConnectionFactories()
public void setConnectionFactories(ForeignJMSConnectionFactoryMBean[] factories)
factories
- The new connectionFactories valuepublic boolean addConnectionFactory(ForeignJMSConnectionFactoryMBean factory)
factory
- The feature to be added to the ConnectionFactory attributepublic boolean removeConnectionFactory(ForeignJMSConnectionFactoryMBean factory)
factory
- Description of the Parameterpublic void setInitialContextFactory(java.lang.String f) throws javax.management.InvalidAttributeValueException
It defaults to weblogic.jndi.WLInitialContextFactory, which is the correct value for WebLogic Server. This value corresponds to the standard JNDI property, java.naming.factory.initial.
f
- The new initialContextFactory valuepublic java.lang.String getInitialContextFactory()
It defaults to weblogic.jndi.WLInitialContextFactory, which is the correct value for WebLogic Server. This value corresponds to the standard JNDI property, java.naming.factory.initial.
public void setConnectionURL(java.lang.String url) throws javax.management.InvalidAttributeValueException
If not specified, look-ups will be performed on the JNDI server within the WebLogic Server instance where this connection factory is deployed.
url
- The new connectionURL valuepublic java.lang.String getConnectionURL()
If not specified, look-ups will be performed on the JNDI server within the WebLogic Server instance where this connection factory is deployed.
public void setJNDIProperties(java.util.Properties params) throws javax.management.InvalidAttributeValueException
params
- The new jNDIProperties valuepublic java.util.Properties getJNDIProperties()
|
Documentation is available at http://download.oracle.com/docs/cd/E13222_01/wls/docs81b |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |