|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.openmdx.kernel.naming.Contexts
public class Contexts
Naming Utilities
| Field Summary | |
|---|---|
static String |
NAMING_SERVICE
This system property contains the id under which the lightweight container's naming service is bound to RMI registry. |
static String |
REGISTRY_PORT
This system property contains the port to be used by the lightweight container's RMI registry. |
| Constructor Summary | |
|---|---|
protected |
Contexts()
Constructor |
| Method Summary | |
|---|---|
static void |
bind(Context context,
Name name,
Object object)
Binds an object to a name creating intermediate contexts if necessary |
static void |
bind(Context context,
String name,
Object object)
Binds an object to a name creating intermediate contexts if necessary |
static String |
getNamingService()
The name under which the lightweight container is bound to the registry |
static int |
getRegistryPort()
The lightweight container's RMI registry's port. |
static Context |
getSubcontext(Context context,
Name name)
Lookup or create a subcontext |
static Context |
getSubcontext(Context context,
String name)
Lookup or create a subcontext |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final String NAMING_SERVICE
public static final String REGISTRY_PORT
| Constructor Detail |
|---|
protected Contexts()
| Method Detail |
|---|
public static void bind(Context context,
Name name,
Object object)
throws NamingException
context - name - the name relative to the contextobject - the object to be bound to the name
NamingException
public static void bind(Context context,
String name,
Object object)
throws NamingException
context - name - the name relative to the contextobject - the object to be bound to the name
NamingException
public static Context getSubcontext(Context context,
Name name)
throws NamingException
context - name - the name relative to the context
NamingException
public static Context getSubcontext(Context context,
String name)
throws NamingException
context - name - the name relative to the context
NamingExceptionpublic static String getNamingService()
public static int getRegistryPort()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||