Package fish.payara.ejb.http.client
Class RemoteEJBContextFactory
- java.lang.Object
-
- fish.payara.ejb.http.client.RemoteEJBContextFactory
-
- All Implemented Interfaces:
InitialContextFactory
- Direct Known Subclasses:
RemoteEJBContextFactory
public class RemoteEJBContextFactory extends Object implements InitialContextFactory
This is the context factory that creates the context used for looking up and invoking remote EJBs.Clients wanting to use remote EJB in this way should set the property in the initial context environment as follows:
Hashtable<String, String> environment = new Hashtable<>(); environment.put(INITIAL_CONTEXT_FACTORY, "fish.payara.ejb.rest.client.RemoteEJBContextFactory"); ... new InitialContext(environment);
- Since:
- Payara 5.191
- Author:
- Arjan Tijms
-
-
Field Summary
-
Constructor Summary
Constructors Constructor Description RemoteEJBContextFactory()
-
-
-
Field Detail
-
FACTORY_CLASS
public static final String FACTORY_CLASS
-
CLIENT_ADAPTER
public static final String CLIENT_ADAPTER
- See Also:
- Constant Field Values
-
PROVIDER_AUTH_TYPE
public static final String PROVIDER_AUTH_TYPE
- See Also:
- Constant Field Values
-
PROVIDER_PRINCIPAL
public static final String PROVIDER_PRINCIPAL
- See Also:
- Constant Field Values
-
PROVIDER_CREDENTIALS
public static final String PROVIDER_CREDENTIALS
- See Also:
- Constant Field Values
-
JAXRS_CLIENT_REQUEST_FILTER
public static final String JAXRS_CLIENT_REQUEST_FILTER
- See Also:
- Constant Field Values
-
JAXRS_CLIENT_RESPONSE_FILTER
public static final String JAXRS_CLIENT_RESPONSE_FILTER
- See Also:
- Constant Field Values
-
JAXRS_CLIENT_CONFIG
public static final String JAXRS_CLIENT_CONFIG
- See Also:
- Constant Field Values
-
JAXRS_CLIENT_TRUST_STORE
public static final String JAXRS_CLIENT_TRUST_STORE
- See Also:
- Constant Field Values
-
JAXRS_CLIENT_SSL_CONTEXT
public static final String JAXRS_CLIENT_SSL_CONTEXT
- See Also:
- Constant Field Values
-
JAXRS_CLIENT_SCHEDULED_EXECUTOR_SERVICE
public static final String JAXRS_CLIENT_SCHEDULED_EXECUTOR_SERVICE
- See Also:
- Constant Field Values
-
JAXRS_CLIENT_READ_TIMEOUT
public static final String JAXRS_CLIENT_READ_TIMEOUT
- See Also:
- Constant Field Values
-
JAXRS_CLIENT_KEY_STORE
public static final String JAXRS_CLIENT_KEY_STORE
- See Also:
- Constant Field Values
-
JAXRS_CLIENT_KEY_STORE_PASSOWRD
public static final String JAXRS_CLIENT_KEY_STORE_PASSOWRD
- See Also:
- Constant Field Values
-
JAXRS_CLIENT_HOSTNAME_VERIFIER
public static final String JAXRS_CLIENT_HOSTNAME_VERIFIER
- See Also:
- Constant Field Values
-
JAXRS_CLIENT_EXECUTOR_SERVICE
public static final String JAXRS_CLIENT_EXECUTOR_SERVICE
- See Also:
- Constant Field Values
-
JAXRS_CLIENT_CONNECT_TIMEOUT
public static final String JAXRS_CLIENT_CONNECT_TIMEOUT
- See Also:
- Constant Field Values
-
JAXRS_CLIENT_SERIALIZATION
public static final String JAXRS_CLIENT_SERIALIZATION
- See Also:
- Constant Field Values
-
JAXRS_CLIENT_PROTOCOL_VERSION
public static final String JAXRS_CLIENT_PROTOCOL_VERSION
- See Also:
- Constant Field Values
-
FISH_PAYARA_WITH_CONFIG
@Deprecated public static final String FISH_PAYARA_WITH_CONFIG
Deprecated.- See Also:
- Constant Field Values
-
FISH_PAYARA_TRUST_STORE
@Deprecated public static final String FISH_PAYARA_TRUST_STORE
Deprecated.- See Also:
- Constant Field Values
-
FISH_PAYARA_SSL_CONTEXT
@Deprecated public static final String FISH_PAYARA_SSL_CONTEXT
Deprecated.- See Also:
- Constant Field Values
-
FISH_PAYARA_SCHEDULED_EXECUTOR_SERVICE
@Deprecated public static final String FISH_PAYARA_SCHEDULED_EXECUTOR_SERVICE
Deprecated.- See Also:
- Constant Field Values
-
FISH_PAYARA_READ_TIMEOUT
@Deprecated public static final String FISH_PAYARA_READ_TIMEOUT
Deprecated.- See Also:
- Constant Field Values
-
FISH_PAYARA_KEY_STORE
@Deprecated public static final String FISH_PAYARA_KEY_STORE
Deprecated.- See Also:
- Constant Field Values
-
FISH_PAYARA_HOSTNAME_VERIFIER
@Deprecated public static final String FISH_PAYARA_HOSTNAME_VERIFIER
Deprecated.- See Also:
- Constant Field Values
-
FISH_PAYARA_EXECUTOR_SERVICE
@Deprecated public static final String FISH_PAYARA_EXECUTOR_SERVICE
Deprecated.- See Also:
- Constant Field Values
-
FISH_PAYARA_CONNECT_TIMEOUT
@Deprecated public static final String FISH_PAYARA_CONNECT_TIMEOUT
Deprecated.- See Also:
- Constant Field Values
-
FISH_PAYARA_CLIENT_ADAPTER
@Deprecated public static final String FISH_PAYARA_CLIENT_ADAPTER
Deprecated.- See Also:
- Constant Field Values
-
-
Method Detail
-
getInitialContext
public Context getInitialContext(Hashtable<?,?> environment) throws NamingException
- Specified by:
getInitialContext
in interfaceInitialContextFactory
- Throws:
NamingException
-
-