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
ClientServiceFactorygetService in interface ClientServiceFactoryapplication - application identifier on the containerserviceInterface - remote service interface to be foundNamingExceptionpublic String getName()
ClientServiceFactorygetName in interface ClientServiceFactoryCopyright © 2001–2015 JBoss by Red Hat. All rights reserved.