public class NamingUtil
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static interface |
NamingUtil.Resource
This interface exists because the class org.apache.catalina.deploy.ContextResource
is not available in the common classloader in tomcat 55
|
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
COMPONENT_TYPE |
static java.lang.String |
DEPLOYMENT_ID |
static java.lang.String |
EXTENDED |
static java.lang.String |
EXTERNAL |
static java.lang.String |
JNDI_NAME |
static java.lang.String |
JNDI_PROVIDER_ID |
static java.lang.String |
LOCAL |
static java.lang.String |
LOCALBEAN |
static java.lang.String |
NAME |
static java.lang.String |
PROPERTIES |
static java.lang.String |
REMOTE |
static java.lang.String |
RESOURCE_ID |
static java.lang.String |
UNIT |
static java.lang.String |
WS_CLASS |
static java.lang.String |
WS_ID |
static java.lang.String |
WS_PORT_QNAME |
static java.lang.String |
WS_QNAME |
static java.lang.String |
WSDL_URL |
Constructor and Description |
---|
NamingUtil() |
Modifier and Type | Method and Description |
---|---|
static void |
cleanUpContextResource(StandardContext context) |
static java.lang.String |
getProperty(javax.naming.Reference ref,
java.lang.String name) |
static <T> T |
getStaticValue(javax.naming.Reference ref) |
static <T> T |
getStaticValue(javax.naming.Reference ref,
java.lang.String name) |
static boolean |
isPropertyTrue(javax.naming.Reference ref,
java.lang.String name) |
static java.lang.Class<?> |
loadClass(java.lang.String className) |
static void |
setCurrentContext(StandardContext currentContext) |
static void |
setStaticValue(NamingUtil.Resource resource,
java.lang.Object value) |
static void |
setStaticValue(NamingUtil.Resource resource,
java.lang.String name,
java.lang.Object value) |
public static final java.lang.String NAME
public static final java.lang.String DEPLOYMENT_ID
public static final java.lang.String EXTERNAL
public static final java.lang.String LOCAL
public static final java.lang.String LOCALBEAN
public static final java.lang.String REMOTE
public static final java.lang.String JNDI_NAME
public static final java.lang.String JNDI_PROVIDER_ID
public static final java.lang.String UNIT
public static final java.lang.String EXTENDED
public static final java.lang.String PROPERTIES
public static final java.lang.String RESOURCE_ID
public static final java.lang.String COMPONENT_TYPE
public static final java.lang.String WS_ID
public static final java.lang.String WS_CLASS
public static final java.lang.String WS_QNAME
public static final java.lang.String WS_PORT_QNAME
public static final java.lang.String WSDL_URL
public static java.lang.String getProperty(javax.naming.Reference ref, java.lang.String name)
public static boolean isPropertyTrue(javax.naming.Reference ref, java.lang.String name)
public static void setStaticValue(NamingUtil.Resource resource, java.lang.Object value)
public static void setStaticValue(NamingUtil.Resource resource, java.lang.String name, java.lang.Object value)
public static <T> T getStaticValue(javax.naming.Reference ref)
public static <T> T getStaticValue(javax.naming.Reference ref, java.lang.String name)
public static java.lang.Class<?> loadClass(java.lang.String className)
public static void setCurrentContext(StandardContext currentContext)
public static void cleanUpContextResource(StandardContext context)