public class EJBModuleIdentifier extends Object implements Serializable
EJB module identifiers are suitable for use as hash keys.
| Constructor and Description |
|---|
EJBModuleIdentifier(String moduleName)
Construct a new instance.
|
EJBModuleIdentifier(String appName,
String moduleName)
Construct a new instance.
|
EJBModuleIdentifier(String appName,
String moduleName,
String distinctName)
Construct a new instance.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(EJBModuleIdentifier 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 |
getDistinctName()
Get the distinct name, which may be empty.
|
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 EJBModuleIdentifier(String appName, String moduleName, String distinctName)
appName - the application name (must not be null, but may be empty)moduleName - the module name (must not be null or empty)distinctName - the distinct name (must not be null, but may be empty)public EJBModuleIdentifier(String appName, String moduleName)
appName - the application name (must not be null, but may be empty)moduleName - the module name (must not be null or empty)public EJBModuleIdentifier(String moduleName)
moduleName - the module name (must not be null or empty)public String getAppName()
null)public String getModuleName()
null)public String getDistinctName()
null)public boolean equals(Object other)
public boolean equals(EJBModuleIdentifier 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.