org.apache.openejb.assembler.classic
Enum JndiBuilder.JndiNameStrategy.Interface

java.lang.Object
  extended by java.lang.Enum<JndiBuilder.JndiNameStrategy.Interface>
      extended by org.apache.openejb.assembler.classic.JndiBuilder.JndiNameStrategy.Interface
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<JndiBuilder.JndiNameStrategy.Interface>
Enclosing interface:
JndiBuilder.JndiNameStrategy

public static enum JndiBuilder.JndiNameStrategy.Interface
extends java.lang.Enum<JndiBuilder.JndiNameStrategy.Interface>


Enum Constant Summary
BUSINESS_LOCAL
           
BUSINESS_REMOTE
           
LOCAL_HOME
           
LOCALBEAN
           
REMOTE_HOME
           
SERVICE_ENDPOINT
           
 
Method Summary
 java.lang.String getAnnotationName()
           
 java.lang.String getOpenejbLegacy()
           
 InterfaceType getType()
           
 java.lang.String getXmlName()
           
 java.lang.String getXmlNameCc()
           
static JndiBuilder.JndiNameStrategy.Interface valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static JndiBuilder.JndiNameStrategy.Interface[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

REMOTE_HOME

public static final JndiBuilder.JndiNameStrategy.Interface REMOTE_HOME

LOCAL_HOME

public static final JndiBuilder.JndiNameStrategy.Interface LOCAL_HOME

BUSINESS_LOCAL

public static final JndiBuilder.JndiNameStrategy.Interface BUSINESS_LOCAL

LOCALBEAN

public static final JndiBuilder.JndiNameStrategy.Interface LOCALBEAN

BUSINESS_REMOTE

public static final JndiBuilder.JndiNameStrategy.Interface BUSINESS_REMOTE

SERVICE_ENDPOINT

public static final JndiBuilder.JndiNameStrategy.Interface SERVICE_ENDPOINT
Method Detail

values

public static JndiBuilder.JndiNameStrategy.Interface[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (JndiBuilder.JndiNameStrategy.Interface c : JndiBuilder.JndiNameStrategy.Interface.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static JndiBuilder.JndiNameStrategy.Interface valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
java.lang.NullPointerException - if the argument is null

getType

public InterfaceType getType()

getAnnotationName

public java.lang.String getAnnotationName()

getXmlName

public java.lang.String getXmlName()

getXmlNameCc

public java.lang.String getXmlNameCc()

getOpenejbLegacy

public java.lang.String getOpenejbLegacy()


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