public class JBossEJBClientServiceFactory extends Object implements ClientServiceFactory
ClientServiceFactory
that is responsible for remote EJB look up.Constructor and Description |
---|
JBossEJBClientServiceFactory() |
Modifier and Type | Method and 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
|
public <T> T getService(String application, Class<T> serviceInterface) throws NamingException
ClientServiceFactory
getService
in interface ClientServiceFactory
application
- application identifier on the containerserviceInterface
- remote service interface to be foundNamingException
public String getName()
ClientServiceFactory
getName
in interface ClientServiceFactory
Copyright © 2001–2019 JBoss by Red Hat. All rights reserved.