Package org.jboss.ejb.client.legacy
Class JBossEJBProperties
java.lang.Object
org.jboss.ejb.client.legacy.JBossEJBProperties
- All Implemented Interfaces:
org.wildfly.common.context.Contextual<JBossEJBProperties>
public final class JBossEJBProperties
extends Object
implements org.wildfly.common.context.Contextual<JBossEJBProperties>
An object model of the legacy
jboss-ejb.properties
file format.- Author:
- Jaikiran Pai, Tomasz Adamski, David M. Lloyd
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic final class
static class
static final class
static class
static class
-
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic JBossEJBProperties
static JBossEJBProperties
fromClassPath
(ClassLoader classLoader, String pathName) static JBossEJBProperties
static JBossEJBProperties
static JBossEJBProperties
fromProperties
(String fileName, Properties properties) static <T,
U> JBossEJBProperties fromResource
(String fileName, org.wildfly.common.function.ExceptionBiFunction<T, U, InputStream, IOException> streamSupplier, T param1, U param2) static <T> JBossEJBProperties
fromResource
(String fileName, org.wildfly.common.function.ExceptionFunction<T, InputStream, IOException> streamSupplier, T param) static JBossEJBProperties
fromResource
(String fileName, org.wildfly.common.function.ExceptionSupplier<InputStream, IOException> streamSupplier) static org.wildfly.common.context.ContextManager<JBossEJBProperties>
Get the context manager.org.wildfly.common.function.ExceptionSupplier<CallbackHandler,
ReflectiveOperationException> org.wildfly.common.function.ExceptionSupplier<DeploymentNodeSelector,
ReflectiveOperationException> org.xnio.OptionMap
org.wildfly.common.context.ContextManager<JBossEJBProperties>
Get the context manager.long
long
org.xnio.OptionMap
boolean
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.wildfly.common.context.Contextual
run, runAction, runBiConsumer, runBiFunction, runBiPredicate, runCallable, runConsumer, runExBiConsumer, runExBiFunction, runExBiPredicate, runExceptionAction, runExConsumer, runExFunction, runExIntFunction, runExLongFunction, runExPredicate, runFunction, runIntFunction, runLongFunction, runPredicate
-
Field Details
-
DEFAULT_PATH_NAME
- See Also:
-
PROPERTY_KEY_CLUSTERS
- See Also:
-
-
Method Details
-
getEndpointName
-
getDefaultCallbackHandlerClassName
-
getAuthenticationConfiguration
-
getEndpointCreationOptions
public org.xnio.OptionMap getEndpointCreationOptions() -
getRemoteConnectionProviderCreationOptions
public org.xnio.OptionMap getRemoteConnectionProviderCreationOptions() -
getConnectionList
-
getHttpConnectionList
-
getDefaultCallbackHandlerSupplier
public org.wildfly.common.function.ExceptionSupplier<CallbackHandler,ReflectiveOperationException> getDefaultCallbackHandlerSupplier() -
getDeploymentNodeSelectorSupplier
public org.wildfly.common.function.ExceptionSupplier<DeploymentNodeSelector,ReflectiveOperationException> getDeploymentNodeSelectorSupplier() -
getClusterConfigurations
-
getInvocationTimeout
public long getInvocationTimeout() -
getReconnectTimeout
public long getReconnectTimeout() -
getDeploymentNodeSelectorClassName
-
isDefaultConnectEagerly
public boolean isDefaultConnectEagerly() -
getInstanceContextManager
@NotNull public org.wildfly.common.context.ContextManager<JBossEJBProperties> getInstanceContextManager()Get the context manager.- Specified by:
getInstanceContextManager
in interfaceorg.wildfly.common.context.Contextual<JBossEJBProperties>
- Returns:
- the context manager (not
null
)
-
getContextManager
@NotNull public static org.wildfly.common.context.ContextManager<JBossEJBProperties> getContextManager()Get the context manager.- Returns:
- the context manager (not
null
)
-
fromProperties
-
fromResource
public static <T,U> JBossEJBProperties fromResource(String fileName, org.wildfly.common.function.ExceptionBiFunction<T, U, throws IOExceptionInputStream, IOException> streamSupplier, T param1, U param2) - Throws:
IOException
-
fromResource
public static <T> JBossEJBProperties fromResource(String fileName, org.wildfly.common.function.ExceptionFunction<T, InputStream, throws IOExceptionIOException> streamSupplier, T param) - Throws:
IOException
-
fromResource
public static JBossEJBProperties fromResource(String fileName, org.wildfly.common.function.ExceptionSupplier<InputStream, IOException> streamSupplier) throws IOException- Throws:
IOException
-
fromFile
- Throws:
IOException
-
fromPath
- Throws:
IOException
-
fromClassPath
public static JBossEJBProperties fromClassPath(ClassLoader classLoader, String pathName) throws IOException - Throws:
IOException
-
fromClassPath
- Throws:
IOException
-