org.apache.openejb
Enum InterfaceType

java.lang.Object
  extended by java.lang.Enum<InterfaceType>
      extended by org.apache.openejb.InterfaceType
All Implemented Interfaces:
Serializable, Comparable<InterfaceType>

public enum InterfaceType
extends Enum<InterfaceType>

Version:
$Rev: 602704 $ $Date: 2007-12-09 18:58:22 +0100 (So, 09. Dez 2007) $

Enum Constant Summary
BUSINESS_LOCAL
           
BUSINESS_LOCAL_HOME
           
BUSINESS_REMOTE
           
BUSINESS_REMOTE_HOME
           
EJB_HOME
           
EJB_LOCAL
           
EJB_LOCAL_HOME
           
EJB_OBJECT
           
SERVICE_ENDPOINT
           
UNKNOWN
           
 
Method Summary
 InterfaceType getCounterpart()
           
 String getSpecName()
           
 boolean isBusiness()
           
 boolean isComponent()
           
 boolean isHome()
           
 boolean isLocal()
           
 boolean isRemote()
           
static InterfaceType valueOf(String name)
          Returns the enum constant of this type with the specified name.
static InterfaceType[] 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

EJB_HOME

public static final InterfaceType EJB_HOME

EJB_OBJECT

public static final InterfaceType EJB_OBJECT

EJB_LOCAL_HOME

public static final InterfaceType EJB_LOCAL_HOME

EJB_LOCAL

public static final InterfaceType EJB_LOCAL

BUSINESS_LOCAL

public static final InterfaceType BUSINESS_LOCAL

BUSINESS_LOCAL_HOME

public static final InterfaceType BUSINESS_LOCAL_HOME

BUSINESS_REMOTE

public static final InterfaceType BUSINESS_REMOTE

BUSINESS_REMOTE_HOME

public static final InterfaceType BUSINESS_REMOTE_HOME

SERVICE_ENDPOINT

public static final InterfaceType SERVICE_ENDPOINT

UNKNOWN

public static final InterfaceType UNKNOWN
Method Detail

values

public static InterfaceType[] 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 (InterfaceType c : InterfaceType.values())
    System.out.println(c);

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

valueOf

public static InterfaceType valueOf(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:
IllegalArgumentException - if this enum type has no constant with the specified name
NullPointerException - if the argument is null

getSpecName

public String getSpecName()

isHome

public boolean isHome()

isComponent

public boolean isComponent()

isBusiness

public boolean isBusiness()

isRemote

public boolean isRemote()

isLocal

public boolean isLocal()

getCounterpart

public InterfaceType getCounterpart()


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