|
Oracle Fusion Middleware Java API Reference for Oracle WebLogic Server 12c (12.2.1) Part Number E55141-01 P4 Change 1723563 on 2015/10/09 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
weblogic.rmi.Naming
public final class Naming
The Naming class is supported by WebLogic Server but Oracle 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:
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 |
---|
public static final String RMI_NAMING_JNDI_HOME
public static final String RMI_NAMING_JNDI_PATH
Method Detail |
---|
public static Remote lookup(String name) throws NotBoundException, MalformedURLException, RemoteException
NotBoundException
- if there is an errorMalformedURLException
- if there is an errorUnknownHostException
- if there is an errorRemoteException
- if there is an errorContext.lookup(java.lang.String)
public static void bindJava(String name, Remote impl) throws AlreadyBoundException, MalformedURLException, RemoteException
AlreadyBoundException
MalformedURLException
RemoteException
public static void bind(String name, Remote impl) throws AlreadyBoundException, MalformedURLException, RemoteException
AlreadyBoundException
- if there is an errorMalformedURLException
- if there is an errorUnknownHostException
- if there is an errorRemoteException
- if there is an errorContext.bind(java.lang.String, java.lang.Object)
public static void unbind(String name) throws NotBoundException, MalformedURLException, RemoteException
NotBoundException
- if there is an errorMalformedURLException
- if there is an errorUnknownHostException
- if there is an errorRemoteException
- if there is an errorContext.unbind(java.lang.String name)
public static void rebindJava(String name, Remote obj) throws MalformedURLException, RemoteException
MalformedURLException
RemoteException
public static void rebind(String name, Remote obj) throws MalformedURLException, RemoteException
MalformedURLException
- if there is an errorUnknownHostException
- if there is an errorRemoteException
- if there is an errorContext.rebind(java.lang.String, java.lang.Object)
public static String[] list(String name) throws MalformedURLException, RemoteException
MalformedURLException
- if there is an errorUnknownHostException
- if there is an errorRemoteException
- if there is an errorContext.list(java.lang.String)
|
Copyright 1996, 2015, 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 Java API Reference for Oracle WebLogic Server 12c (12.2.1) Part Number E55141-01 P4 Change 1723563 on 2015/10/09 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |