org.apache.openejb.tomcat.naming
Class NamingUtil

java.lang.Object
  extended by org.apache.openejb.tomcat.naming.NamingUtil

public class NamingUtil
extends java.lang.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 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 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 Summary
NamingUtil()
           
 
Method Summary
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 setStaticValue(NamingUtil.Resource resource, java.lang.Object value)
           
static void setStaticValue(NamingUtil.Resource resource, java.lang.String name, java.lang.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 java.lang.String NAME
See Also:
Constant Field Values

DEPLOYMENT_ID

public static final java.lang.String DEPLOYMENT_ID
See Also:
Constant Field Values

EXTERNAL

public static final java.lang.String EXTERNAL
See Also:
Constant Field Values

LOCAL

public static final java.lang.String LOCAL
See Also:
Constant Field Values

REMOTE

public static final java.lang.String REMOTE
See Also:
Constant Field Values

JNDI_NAME

public static final java.lang.String JNDI_NAME
See Also:
Constant Field Values

JNDI_PROVIDER_ID

public static final java.lang.String JNDI_PROVIDER_ID
See Also:
Constant Field Values

UNIT

public static final java.lang.String UNIT
See Also:
Constant Field Values

EXTENDED

public static final java.lang.String EXTENDED
See Also:
Constant Field Values

PROPERTIES

public static final java.lang.String PROPERTIES
See Also:
Constant Field Values

RESOURCE_ID

public static final java.lang.String RESOURCE_ID
See Also:
Constant Field Values

COMPONENT_TYPE

public static final java.lang.String COMPONENT_TYPE
See Also:
Constant Field Values

WS_ID

public static final java.lang.String WS_ID
See Also:
Constant Field Values

WS_CLASS

public static final java.lang.String WS_CLASS
See Also:
Constant Field Values

WS_QNAME

public static final java.lang.String WS_QNAME
See Also:
Constant Field Values

WS_PORT_QNAME

public static final java.lang.String WS_PORT_QNAME
See Also:
Constant Field Values

WSDL_URL

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

NamingUtil

public NamingUtil()
Method Detail

getProperty

public static java.lang.String getProperty(javax.naming.Reference ref,
                                           java.lang.String name)

isPropertyTrue

public static boolean isPropertyTrue(javax.naming.Reference ref,
                                     java.lang.String name)

setStaticValue

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

setStaticValue

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

getStaticValue

public static <T> T getStaticValue(javax.naming.Reference ref)

getStaticValue

public static <T> T getStaticValue(javax.naming.Reference ref,
                                   java.lang.String name)

loadClass

public static java.lang.Class<?> loadClass(java.lang.String className)


Copyright © 1999-2008 The Apache OpenEJB development community. All Rights Reserved.