org.apache.tomee.common
Class NamingUtil

java.lang.Object
  extended by org.apache.tomee.common.NamingUtil

public class NamingUtil
extends Object


Nested Class Summary
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
 
Field Summary
static String COMPONENT_TYPE
           
static String DEPLOYMENT_ID
           
static String EXTENDED
           
static String EXTERNAL
           
static String JNDI_NAME
           
static String JNDI_PROVIDER_ID
           
static String LOCAL
           
static String LOCALBEAN
           
static String NAME
           
static String PROPERTIES
           
static String REMOTE
           
static String RESOURCE_ID
           
static String UNIT
           
static String WS_CLASS
           
static String WS_ID
           
static String WS_PORT_QNAME
           
static String WS_QNAME
           
static String WSDL_URL
           
 
Constructor Summary
NamingUtil()
           
 
Method Summary
static void cleanUpContextResource(org.apache.catalina.core.StandardContext context)
           
static String getProperty(Reference ref, String name)
           
static
<T> T
getStaticValue(Reference ref)
           
static
<T> T
getStaticValue(Reference ref, String name)
           
static boolean isPropertyTrue(Reference ref, String name)
           
static Class<?> loadClass(String className)
           
static void setCurrentContext(org.apache.catalina.core.StandardContext currentContext)
           
static void setStaticValue(NamingUtil.Resource resource, Object value)
           
static void setStaticValue(NamingUtil.Resource resource, String name, Object value)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

NAME

public static final String NAME
See Also:
Constant Field Values

DEPLOYMENT_ID

public static final String DEPLOYMENT_ID
See Also:
Constant Field Values

EXTERNAL

public static final String EXTERNAL
See Also:
Constant Field Values

LOCAL

public static final String LOCAL
See Also:
Constant Field Values

LOCALBEAN

public static final String LOCALBEAN
See Also:
Constant Field Values

REMOTE

public static final String REMOTE
See Also:
Constant Field Values

JNDI_NAME

public static final String JNDI_NAME
See Also:
Constant Field Values

JNDI_PROVIDER_ID

public static final String JNDI_PROVIDER_ID
See Also:
Constant Field Values

UNIT

public static final String UNIT
See Also:
Constant Field Values

EXTENDED

public static final String EXTENDED
See Also:
Constant Field Values

PROPERTIES

public static final String PROPERTIES
See Also:
Constant Field Values

RESOURCE_ID

public static final String RESOURCE_ID
See Also:
Constant Field Values

COMPONENT_TYPE

public static final String COMPONENT_TYPE
See Also:
Constant Field Values

WS_ID

public static final String WS_ID
See Also:
Constant Field Values

WS_CLASS

public static final String WS_CLASS
See Also:
Constant Field Values

WS_QNAME

public static final String WS_QNAME
See Also:
Constant Field Values

WS_PORT_QNAME

public static final String WS_PORT_QNAME
See Also:
Constant Field Values

WSDL_URL

public static final String WSDL_URL
See Also:
Constant Field Values
Constructor Detail

NamingUtil

public NamingUtil()
Method Detail

getProperty

public static String getProperty(Reference ref,
                                 String name)

isPropertyTrue

public static boolean isPropertyTrue(Reference ref,
                                     String name)

setStaticValue

public static void setStaticValue(NamingUtil.Resource resource,
                                  Object value)

setStaticValue

public static void setStaticValue(NamingUtil.Resource resource,
                                  String name,
                                  Object value)

getStaticValue

public static <T> T getStaticValue(Reference ref)

getStaticValue

public static <T> T getStaticValue(Reference ref,
                                   String name)

loadClass

public static Class<?> loadClass(String className)

setCurrentContext

public static void setCurrentContext(org.apache.catalina.core.StandardContext currentContext)

cleanUpContextResource

public static void cleanUpContextResource(org.apache.catalina.core.StandardContext context)


Copyright © 1999–2015 The Apache Software Foundation. All rights reserved.