|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.mortbay.jetty.plus.naming.NamingEntryUtil
public class NamingEntryUtil
| Constructor Summary | |
|---|---|
NamingEntryUtil()
|
|
| Method Summary | |
|---|---|
static boolean |
bindToENC(Object scope,
String asName,
String mappedName)
Link a name in a webapp's java:/comp/evn namespace to a pre-existing resource. |
static Context |
getContextForNamingEntries(Object scope)
|
static Context |
getContextForScope(Object scope)
|
static Name |
getNameForScope(Object scope)
|
static List |
lookupNamingEntries(Object scope,
Class clazz)
Get all NameEntries of a certain type in the given naming environment scope (server-wide names or context-specific names) |
static NamingEntry |
lookupNamingEntry(Object scope,
String jndiName)
Find a NamingEntry instance. |
static Name |
makeNamingEntryName(NameParser parser,
NamingEntry namingEntry)
|
static Name |
makeNamingEntryName(NameParser parser,
String jndiName)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public NamingEntryUtil()
| Method Detail |
|---|
public static boolean bindToENC(Object scope,
String asName,
String mappedName)
throws NamingException
asName - the name to bind asmappedName - the name from the environment to link to asNamenamingEntryType -
NamingException
public static NamingEntry lookupNamingEntry(Object scope,
String jndiName)
throws NamingException
jndiName - name to lookup
NamingException
public static List lookupNamingEntries(Object scope,
Class clazz)
throws NamingException
scope - clazz - the type of the entry
NamingException
public static Name makeNamingEntryName(NameParser parser,
if(window==top) {
document.writeln('All Classes');
}
//-->
SUMMARY: NESTED | FIELD | CONSTR | METHOD
DETAIL: FIELD | CONSTR | METHOD
org.mortbay.jetty.plus.naming
Class NamingEntryUtil
java.lang.Object
org.mortbay.jetty.plus.naming.NamingEntryUtil
public class NamingEntryUtil
| Constructor Summary | |
|---|---|
NamingEntryUtil()
|
|
| Method Summary | |
|---|---|
static boolean |
bindToENC(Object scope,
String asName,
String mappedName)
Link a name in a webapp's java:/comp/evn namespace to a pre-existing resource. |
static Context |
getContextForNamingEntries(Object scope)
|
static Context |
getContextForScope(Object scope)
|
static Name |
getNameForScope(Object scope)
|
static List |
lookupNamingEntries(Object scope,
Class clazz)
Get all NameEntries of a certain type in the given naming environment scope (server-wide names or context-specific names) |
static NamingEntry |
lookupNamingEntry(Object scope,
String jndiName)
  |