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
ServerAPIException
public EJB3ServerAPI() throws RemoteException
RemoteException
protected ServerAPI lookup(String name, Hashtable<String,String> environment) throws NamingException
NamingException
public Object invokeMethod(Map<String,Serializable> options, String apiInterfaceName, String methodName, List<String> classNameParameters, Object[] parametersValues) throws ServerWrappedException, RemoteException
invokeMethod
in interface ServerAPI
ServerWrappedException
RemoteException
protected void initServerAPIReference() throws ServerAPIException
ServerAPIException
Copyright © 2020 Bonitasoft S.A. All rights reserved.