public final class EJBIdentifier extends Object implements Serializable
EJBLocator family of types.
EJB identifiers are suitable for use as hash keys.
| Constructor and Description |
|---|
EJBIdentifier(String appName,
String moduleName,
String beanName,
String distinctName)
Construct a new instance.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(EJBIdentifier other)
Determine if this EJB identifier is equal to the given object.
|
boolean |
equals(Object other)
Determine if this EJB identifier is equal to the given object.
|
String |
getAppName()
Get the application name, which may be empty.
|
String |
getBeanName()
Get the bean name.
|
String |
getDistinctName()
Get the distinct name.
|
String |
getModuleName()
Get the module name.
|
int |
hashCode()
Get the hash code of this identifier.
|
String |
toString()
Get the EJB identifier as a human-readable string.
|
public EJBIdentifier(String appName, String moduleName, String beanName, String distinctName)
appName - the application name (must not be null)moduleName - the module name (must not be null or empty)beanName - the bean name (must not be null or empty)distinctName - the distinct name (must not be null)public String getAppName()
null)public String getModuleName()
null)public String getBeanName()
null)public String getDistinctName()
null)public boolean equals(Object other)
public boolean equals(EJBIdentifier other)
other - the object to testtrue if the object is equal to this one, false otherwisepublic int hashCode()
Copyright © 2017 JBoss by Red Hat. All rights reserved.