Overview | Package | Class | Use | Tree | Deprecated | Index | Help
|  | BEA Systems, Inc.
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## Type-Safe Access to BEA WebLogic Server 9.1 MBeans (Deprecated)
(Methods marked with @since 9.0.0.0 or later are not available through the deprecated `MBeanHome` interface.)

## weblogic.management.configuration
Interface ForeignJNDIProviderMBean

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

public interface ForeignJNDIProviderMBean
extends ConfigurationMBean

### 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://edocs.bea.com.

  Copyright © 2005 BEA Systems, Inc. All Rights Reserved.

Field Summary

Fields inherited from interface weblogic.management.configuration.ConfigurationMBean
`DEFAULT_EMPTY_BYTE_ARRAY`

Method Summary
`ForeignJNDILinkMBean` | `createForeignJNDILink(String name)` Create a ForeignJNDILink resource with the given name
`void` | `destroyForeignJNDILink(ForeignJNDILinkMBean bean)` Destroy the given ForeignJNDILink resource
`ForeignJNDILinkMBean[]` | `getForeignJNDILinks()` The foreign links.
`String` | `getInitialContextFactory()` The initial context factory to use to connect.
`String` | `getPassword()` The remote server's user password.
`Properties` | `getProperties()` Any additional properties that must be set for the JNDI provider.
`String` | `getProviderURL()` The foreign jndi provider url.
`String` | `getUser()` The remote server's user name.
`ForeignJNDILinkMBean` | `lookupForeignJNDILink(String name)` Find a ForeignJNDILink resource with the given name
`void` | `setInitialContextFactory(String ic)` The initial context factory to use to connect.
`void` | `setPassword(String password)` The password to connect.
`void` | `setProperties(Properties params)` Sets the value of the JNDIProperties attribute.
`void` | `setProviderURL(String url)` The initial context factory to use to connect.
`void` | `setUser(String user)` The username to connect.

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`

Method Detail

### createForeignJNDILink

    public ForeignJNDILinkMBean createForeignJNDILink(String name)

  Create a ForeignJNDILink resource with the given name

  Parameters:
    `name` -
  Since:
    9.0.0.0

### destroyForeignJNDILink

    public void destroyForeignJNDILink(ForeignJNDILinkMBean bean)

  Destroy the given ForeignJNDILink resource

  Parameters:
    `bean` -
  Since:
    9.0.0.0

### getForeignJNDILinks

    public ForeignJNDILinkMBean[] getForeignJNDILinks()

  The foreign links.

  Returns:
    foreign links.
  Since:
    9.0.0.0
  A dynamic MBean attribute.

### getInitialContextFactory

    public String getInitialContextFactory()

  The initial context factory to use to connect. This class name depends on the JNDI provider and the vendor that are being used. The value corresponds to the standard JNDI property, `java.naming.factory.initial`

  Returns:
    The initial context factory value
  A dynamic MBean attribute.

### getPassword

    public String getPassword()

  The remote server's user password.

  Returns:
    The foreign jndi provider password.
  A dynamic MBean attribute.

### getProperties

    public Properties getProperties()

  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

### getProviderURL

    public String getProviderURL()

  The foreign jndi provider url. This value corresponds to the standard JNDI property, `java.naming.provider.url`

  Returns:
    The foreign jndi provider url.
  A dynamic MBean attribute.

### getUser

    public String getUser()

  The remote server's user name.

  Returns:
    The foreign jndi provider user name.
  A dynamic MBean attribute.

### lookupForeignJNDILink

    public ForeignJNDILinkMBean lookupForeignJNDILink(String name)

  Find a ForeignJNDILink resource with the given name

  Parameters:
    `name` -
  Since:
    9.0.0.0
  A dynamic MBean attribute.

### setInitialContextFactory

    public void setInitialContextFactory(String ic)
                                  throws InvalidAttributeValueException

  The initial context factory to use to connect.

  Throws:
    `InvalidAttributeValueException`
  A dynamic MBean attribute.

### setPassword

    public void setPassword(String password)
                     throws InvalidAttributeValueException

  The password to connect.

  Throws:
    `InvalidAttributeValueException`
  A dynamic MBean attribute.

### setProperties

    public void setProperties(Properties params)
                       throws InvalidAttributeValueException

  Sets the value of the JNDIProperties attribute.

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

### setProviderURL

    public void setProviderURL(String url)
                        throws InvalidAttributeValueException

  The initial context factory to use to connect.

  Throws:
    `InvalidAttributeValueException`
  A dynamic MBean attribute.

### setUser

    public void setUser(String user)
                 throws InvalidAttributeValueException

  The username to connect.

  Throws:
    `InvalidAttributeValueException`
  A dynamic MBean attribute.

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| Documentation is available at http://e-docs.bea.com/wls/docs91 Copyright 2005 BEA Systems Inc.
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD