Overview | Package | Class | Use | Tree | Deprecated | Index | Help
|  | Oracle
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## weblogic.rmi
Class Naming

    java.lang.Object
      weblogic.rmi.Naming

    public final class Naming

extends Object

The Naming class is supported by WebLogic Server but BEA Systems, Inc. recommends using JNDI -- `javax.naming.InitialContext`.

In WebLogic RMI, Naming is an extension of JNDI.

JNDI access is provided based on defaults and settings drawn from your configuration. The default user is `guest` with no password and no access restrictions. The default URL is for the host in `localhost` and the port number is 7001.

If you use a URL, you may specify any of the following protocols:

- RMI
- T3
- T3S
- HTTP
- HTTPS

Field Summary
`static String` | `RMI_NAMING_JNDI_HOME`
`static String` | `RMI_NAMING_JNDI_PATH`

Method Summary
`static void` | `bind(String name, Remote impl)`
`static void` | `bindJava(String name, Remote impl)`
`static String[]` | `list(String name)`
`static Remote` | `lookup(String name)`
`static void` | `rebind(String name, Remote obj)`
`static void` | `rebindJava(String name, Remote obj)`
`static void` | `unbind(String name)`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Field Detail

### RMI_NAMING_JNDI_HOME

    public static final String RMI_NAMING_JNDI_HOME

See Also:
  Constant Field Values

### RMI_NAMING_JNDI_PATH

    public static final String RMI_NAMING_JNDI_PATH

See Also:
  Constant Field Values

Method Detail

### lookup

    public static Remote lookup(String name)
                         throws NotBoundException,
                                MalformedURLException,
                                UnknownHostException,
                                RemoteException

  Throws:
    `NotBoundException` - if there is an error
    `MalformedURLException` - if there is an error
    `UnknownHostException` - if there is an error
    `RemoteException` - if there is an error
  See Also:
    `Context.lookup(java.lang.String)`

### bindJava

    public static void bindJava(String name,
                                Remote impl)
                         throws AlreadyBoundException,
                                MalformedURLException,
                                UnknownHostException,
                                RemoteException

  Throws:
    `AlreadyBoundException`
    `MalformedURLException`
    `UnknownHostException`
    `RemoteException`

### bind

    public static void bind(String name,
                            Remote impl)
                     throws AlreadyBoundException,
                            MalformedURLException,
                            UnknownHostException,
                            RemoteException

  Throws:
    `AlreadyBoundException` - if there is an error
    `MalformedURLException` - if there is an error
    `UnknownHostException` - if there is an error
    `RemoteException` - if there is an error
  See Also:
    `Context.bind(java.lang.String, java.lang.Object)`

### unbind

    public static void unbind(String name)
                       throws NotBoundException,
                              MalformedURLException,
                              UnknownHostException,
                              RemoteException

  Throws:
    `NotBoundException` - if there is an error
    `MalformedURLException` - if there is an error
    `UnknownHostException` - if there is an error
    `RemoteException` - if there is an error
  See Also:
    `Context.unbind(java.lang.String name)`

### rebindJava

    public static void rebindJava(String name,
                                  Remote obj)
                           throws MalformedURLException,
                                  UnknownHostException,
                                  RemoteException

  Throws:
    `MalformedURLException`
    `UnknownHostException`
    `RemoteException`

### rebind

    public static void rebind(String name,
                              Remote obj)
                       throws MalformedURLException,
                              UnknownHostException,
                              RemoteException

  Throws:
    `MalformedURLException` - if there is an error
    `UnknownHostException` - if there is an error
    `RemoteException` - if there is an error
  See Also:
    `Context.rebind(java.lang.String, java.lang.Object)`

### list

    public static String[] list(String name)
                         throws MalformedURLException,
                                UnknownHostException,
                                RemoteException

  Throws:
    `MalformedURLException` - if there is an error
    `UnknownHostException` - if there is an error
    `RemoteException` - if there is an error
  See Also:
    `Context.list(java.lang.String)`

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| Documentation is available at http://edocs.bea.com/wls/docs103 Copyright 1996,2008, 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.
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD