Class JBossEJBClientServiceFactory
- java.lang.Object
-
- org.jbpm.services.ejb.client.impl.JBossEJBClientServiceFactory
-
- All Implemented Interfaces:
ClientServiceFactory
public class JBossEJBClientServiceFactory extends Object implements ClientServiceFactory
JBoss specific (AS 7 / EAP6 / WildFly 8) implementation ofClientServiceFactorythat is responsible for remote EJB look up.
-
-
Constructor Summary
Constructors Constructor Description JBossEJBClientServiceFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetName()Returns unique name of given factory implementation<T> TgetService(String application, Class<T> serviceInterface)Returns remote view of given service interface from selected application
-
-
-
Method Detail
-
getService
public <T> T getService(String application, Class<T> serviceInterface) throws NamingException
Description copied from interface:ClientServiceFactoryReturns remote view of given service interface from selected application- Specified by:
getServicein interfaceClientServiceFactory- Parameters:
application- application identifier on the containerserviceInterface- remote service interface to be found- Returns:
- Throws:
NamingException
-
getName
public String getName()
Description copied from interface:ClientServiceFactoryReturns unique name of given factory implementation- Specified by:
getNamein interfaceClientServiceFactory- Returns:
-
-