Class RemoteLookups
java.lang.Object
org.jboss.as.test.integration.transactions.RemoteLookups
Util class which is used for remote lookups in transaction related tests.
- Author:
- Ondra Chaloupka <ochaloup@redhat.com>
-
Method Summary
Modifier and TypeMethodDescriptionstatic <T> TlookupEjbStateful(String host, int port, String archiveName, Class<? extends T> beanType, Class<T> remoteInterface) static <T> TlookupEjbStateful(InitialContext ctx, String archiveName, Class<? extends T> beanType, Class<T> remoteInterface) static <T> TlookupEjbStateless(String host, int port, String archiveName, Class<? extends T> beanType, Class<T> remoteInterface) static <T> TlookupEjbStateless(InitialContext ctx, String archiveName, Class<? extends T> beanType, Class<T> remoteInterface) static <T> TlookupEjbStateless(org.jboss.as.arquillian.container.ManagementClient managementClient, String archiveName, Class<? extends T> beanType, Class<T> remoteInterface) static <T> TlookupIIOP(String serverHost, int iiopPort, Class<T> homeClass, Class<?> beanClass) static <T> TlookupModule(InitialContext ctx, Class<T> beanType)
-
Method Details
-
lookupModule
- Throws:
NamingException
-
lookupEjbStateless
public static <T> T lookupEjbStateless(InitialContext ctx, String archiveName, Class<? extends T> beanType, Class<T> remoteInterface) throws NamingException - Throws:
NamingException
-
lookupEjbStateful
public static <T> T lookupEjbStateful(InitialContext ctx, String archiveName, Class<? extends T> beanType, Class<T> remoteInterface) throws NamingException - Throws:
NamingException
-
lookupEjbStateless
public static <T> T lookupEjbStateless(String host, int port, String archiveName, Class<? extends T> beanType, Class<T> remoteInterface) throws NamingException, URISyntaxException - Throws:
NamingExceptionURISyntaxException
-
lookupEjbStateful
public static <T> T lookupEjbStateful(String host, int port, String archiveName, Class<? extends T> beanType, Class<T> remoteInterface) throws NamingException, URISyntaxException - Throws:
NamingExceptionURISyntaxException
-
lookupEjbStateless
public static <T> T lookupEjbStateless(org.jboss.as.arquillian.container.ManagementClient managementClient, String archiveName, Class<? extends T> beanType, Class<T> remoteInterface) throws NamingException, URISyntaxException - Throws:
NamingExceptionURISyntaxException
-
lookupIIOP
public static <T> T lookupIIOP(String serverHost, int iiopPort, Class<T> homeClass, Class<?> beanClass) throws NamingException - Throws:
NamingException
-