org.jboss.metadata.ejb.jboss.jndipolicy.spi
Enum KnownInterfaces.KnownInterfaceType
java.lang.Object
java.lang.Enum<KnownInterfaces.KnownInterfaceType>
org.jboss.metadata.ejb.jboss.jndipolicy.spi.KnownInterfaces.KnownInterfaceType
- All Implemented Interfaces:
- Serializable, Comparable<KnownInterfaces.KnownInterfaceType>
- Enclosing class:
- KnownInterfaces
public static enum KnownInterfaces.KnownInterfaceType
- extends Enum<KnownInterfaces.KnownInterfaceType>
Enums for the standard types of ejb interfaces
BUSINESS_LOCAL
public static final KnownInterfaces.KnownInterfaceType BUSINESS_LOCAL
BUSINESS_REMOTE
public static final KnownInterfaces.KnownInterfaceType BUSINESS_REMOTE
LOCAL_HOME
public static final KnownInterfaces.KnownInterfaceType LOCAL_HOME
REMOTE_HOME
public static final KnownInterfaces.KnownInterfaceType REMOTE_HOME
UNKNOWN
public static final KnownInterfaces.KnownInterfaceType UNKNOWN
values
public static KnownInterfaces.KnownInterfaceType[] 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 (KnownInterfaces.KnownInterfaceType c : KnownInterfaces.KnownInterfaceType.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static KnownInterfaces.KnownInterfaceType 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
toSuffix
public String toSuffix()
- Get the preferred jndi binding suffix
- Returns:
- the preferred jndi binding suffix for the interface type
Copyright © 2011 JBoss, a division of Red Hat, Inc.. All Rights Reserved.