public class EJB3ServerAPI extends Object implements ServerAPI
| Modifier and Type | Field and Description |
|---|---|
static String |
EJB_NAMING_REFERENCE_PROPERTY |
protected Map<String,String> |
parameters |
protected ServerAPI |
remoteServAPI |
protected static String |
SERVER_API_BEAN_NAME |
| Constructor and Description |
|---|
EJB3ServerAPI() |
EJB3ServerAPI(Map<String,String> parameters) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
initServerAPIReference() |
Object |
invokeMethod(Map<String,Serializable> options,
String apiInterfaceName,
String methodName,
List<String> classNameParameters,
Object[] parametersValues) |
protected ServerAPI |
lookup(String name,
Hashtable<String,String> environment) |
public static final String EJB_NAMING_REFERENCE_PROPERTY
protected volatile ServerAPI remoteServAPI
protected static final String SERVER_API_BEAN_NAME
public EJB3ServerAPI(Map<String,String> parameters) throws ServerAPIException
ServerAPIExceptionpublic EJB3ServerAPI()
throws RemoteException
RemoteExceptionprotected ServerAPI lookup(String name, Hashtable<String,String> environment) throws NamingException
NamingExceptionpublic Object invokeMethod(Map<String,Serializable> options, String apiInterfaceName, String methodName, List<String> classNameParameters, Object[] parametersValues) throws ServerWrappedException, RemoteException
invokeMethod in interface ServerAPIServerWrappedExceptionRemoteExceptionprotected void initServerAPIReference()
throws ServerAPIException
ServerAPIExceptionCopyright © 2018 Bonitasoft S.A.. All rights reserved.