public class EjbEnvServiceFactory
extends org.eclipse.stardust.engine.core.runtime.beans.AbstractSessionAwareServiceFactory
ServiceFactoryLocator| Constructor and Description |
|---|
EjbEnvServiceFactory() |
| Modifier and Type | Method and Description |
|---|---|
<T extends org.eclipse.stardust.engine.api.runtime.Service> |
getService(Class<T> type)
Retrieves a service instance.
|
void |
setCredentials(Map credentials)
Retrieves
username and password credentials, if available,
for later use. |
close, getSessionIdpublic <T extends org.eclipse.stardust.engine.api.runtime.Service> T getService(Class<T> type) throws ServiceNotAvailableException, org.eclipse.stardust.common.error.LoginFailedException
ServiceFactorygetService in interface ServiceFactorygetService in class org.eclipse.stardust.engine.core.runtime.beans.AbstractSessionAwareServiceFactorytype - The class name of the service to be retrieved.ServiceNotAvailableException - In case the (possible remote) service could not
be reached.org.eclipse.stardust.common.error.LoginFailedException - In case the authentication to the service fails.public void setCredentials(Map credentials)
username and password credentials, if available,
for later use.credentials - The credentials available in the current configuration.Copyright © 2016 Eclipse Stardust. All Rights Reserved.