public class EJBClient extends Object
Constructor and Description |
---|
EJBClient() |
Modifier and Type | Method and Description |
---|---|
static String |
getEJBClientLookupName(String earNameVersion,
String ejbModuleNameVersion,
String distinctName,
String ejbClassName,
String remoteInterface,
boolean stateful)
This method returns an remote JNDI name that is usable by the
jboss-ejb-client org.jboss.ejb.client.naming.ejb.ejbURLContextFactory
context factory.
|
static String |
getEJBClientLookupName(String earName,
String ejbModuleName,
String distinctName,
String ejbClassName,
String remoteInterface,
boolean stateful,
String version)
This method provides a convenience wrapper around the alternate
getEJBLookupName() helper method.
|
static String |
getRemoteLookupName(String moduleNameVersion,
String ejbClassName,
String remoteInterface)
This method returns a JNDI name usable with JBoss remote-naming for
EJBs deployed within a WAR (i.e., no EAR).
The physical JNDI name will be listed as:
|
static String |
getRemoteLookupName(String earNameVersion,
String ejbModuleNameVersion,
String ejbClassName,
String remoteInterface)
This method returns a JNDI name usable with JBoss remote-naming
for EJBs deployed within an EAR.
org.jboss.naming.remote.client.InitialContextFactory
The physical JNDI name will be listed as:
|
public static String getEJBClientLookupName(String earName, String ejbModuleName, String distinctName, String ejbClassName, String remoteInterface, boolean stateful, String version)
earName
- ejbModuleName
- distinctName
- ejbClassName
- remoteInterface
- version
- public static String getEJBClientLookupName(String earNameVersion, String ejbModuleNameVersion, String distinctName, String ejbClassName, String remoteInterface, boolean stateful)
java:jboss/exported/(ear)/(module)/(ejbClass)!(remoteInterface)JNDI names returned will be in the following form:
ejb:(ear)/(module)/(distinctName)/(ejbClass)!(remoteInterface) ejb:(ear)/(module)/(distinctName)/(ejbClass)!(remoteInterface)?statefulWhere the distinct name is commonly an empty string.
earNameVersion
- ejbModuleNameVersion
- distinctName
- ejbClassName
- remoteInterface
- public static String getRemoteLookupName(String earNameVersion, String ejbModuleNameVersion, String ejbClassName, String remoteInterface)
java:jboss/exported/(ear)/(module)/(ejbClass)!(remoteInterface)The name returned will have the following form:
(ear)/(module)/(ejbClass)!(remoteInterface)
earNameVersion
- ejbModuleNameVersion
- ejbClassName
- remoteInterface
- public static String getRemoteLookupName(String moduleNameVersion, String ejbClassName, String remoteInterface)
java:jboss/exported/(war)/(ejbClass)!(remoteInterface)The name returned will have the following form:
(war)/(ejbClass)!(remoteInterface)
moduleNameVersion
- ejbClassName
- remoteInterface
- Copyright © 2015 John's Hopkins University, Engineering Programs for Professionals. All rights reserved.