|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jboss.naming.Util
A static utility class for common JNDI operations.
Constructor Summary | |
Util()
|
Method Summary | |
static void |
bind(Context ctx,
Name name,
Object value)
Bind val to name in ctx, and make sure that all intermediate contexts exist |
static void |
bind(Context ctx,
String name,
Object value)
Bind val to name in ctx, and make sure that all intermediate contexts exist |
static Context |
createSubcontext(Context ctx,
Name name)
Create a subcontext including any intermediate contexts. |
static Context |
createSubcontext(Context ctx,
String name)
Create a subcontext including any intermediate contexts. |
static void |
rebind(Context ctx,
Name name,
Object value)
Rebind val to name in ctx, and make sure that all intermediate contexts exist |
static void |
rebind(Context ctx,
String name,
Object value)
Rebind val to name in ctx, and make sure that all intermediate contexts exist |
static void |
unbind(Context ctx,
Name name)
Unbinds a name from ctx, and removes parents if they are empty |
static void |
unbind(Context ctx,
String name)
Unbinds a name from ctx, and removes parents if they are empty |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public Util()
Method Detail |
public static Context createSubcontext(Context ctx, String name) throws NamingException
NamingException,
- on any JNDI failure
NamingException
public static Context createSubcontext(Context ctx, Name name) throws NamingException
NamingException,
- on any JNDI failure
NamingException
public static void bind(Context ctx, String name, Object value) throws NamingException
NamingException
public static void bind(Context ctx, Name name, Object value) throws NamingException
NamingException
public static void rebind(Context ctx, String name, Object value) throws NamingException
NamingException
public static void rebind(Context ctx, Name name, Object value) throws NamingException
NamingException
public static void unbind(Context ctx, String name) throws NamingException
NamingException
public static void unbind(Context ctx, Name name) throws NamingException
NamingException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |