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 ofClientServiceFactory
that 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 String
getName()
Returns unique name of given factory implementation<T> T
getService(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:ClientServiceFactory
Returns remote view of given service interface from selected application- Specified by:
getService
in 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:ClientServiceFactory
Returns unique name of given factory implementation- Specified by:
getName
in interfaceClientServiceFactory
- Returns:
-
-