org.jboss.metadata.ejb.jboss.jndipolicy.spi
Class KnownInterfaces
java.lang.Object
org.jboss.metadata.ejb.jboss.jndipolicy.spi.KnownInterfaces
public final class KnownInterfaces
- extends Object
Constants for known interfaces that may be passed to
DefaultJndiBindingPolicy#getJndiName(EjbDeploymentSummary, String)
- Version:
- $Revision:$
- Author:
- Scott.Stark@jboss.org
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LOCAL
public static final String LOCAL
- See Also:
- Constant Field Values
LOCAL_HOME
public static final String LOCAL_HOME
- See Also:
- Constant Field Values
REMOTE
public static final String REMOTE
- See Also:
- Constant Field Values
HOME
public static final String HOME
- See Also:
- Constant Field Values
UNKNOWN
public static final String UNKNOWN
- See Also:
- Constant Field Values
KnownInterfaces
public KnownInterfaces()
isKnownInterface
public static boolean isKnownInterface(String iface)
- Is iface one of the KnownInterfaces
- Parameters:
iface
- - the interface name to compare in a case insensitive manner.
- Returns:
- true if iface is one of the KnownInterfaces constants, false otherwise.
classifyInterface
public static KnownInterfaces.KnownInterfaceType classifyInterface(String iface)
- Utility method that compares iface to one of the KnownInterfaces constants
and returns the corresponding enum.
- Parameters:
iface
- - a
- Returns:
- a KnownInterfaceType
Copyright © 2011 JBoss, a division of Red Hat, Inc.. All Rights Reserved.