public class EmbeddedServiceFactory
extends org.eclipse.stardust.engine.core.runtime.beans.DefaultServiceFactory
| Modifier and Type | Class and Description |
|---|---|
static class |
EmbeddedServiceFactory.EmbeddedInvocationManager |
| Constructor and Description |
|---|
EmbeddedServiceFactory() |
| Modifier and Type | Method and Description |
|---|---|
static EmbeddedServiceFactory |
CURRENT_TX_WITH_AUTO_FLUSH()
ServiceFactory that works within the same transaction
without creating a new Property Layer.
|
static EmbeddedServiceFactory |
CURRENT_TX_WITH_PROPERTY_LAYER()
ServiceFactory that works within the same transaction
with an added Property Layer.
|
static EmbeddedServiceFactory |
CURRENT_TX()
ServiceFactory that works within the same transaction
without creating a new Property Layer.
|
<T extends org.eclipse.stardust.engine.api.runtime.Service> |
getService(Class<T> service)
Retrieves a service instance.
|
void |
setCredentials(Map credentials) |
public static EmbeddedServiceFactory CURRENT_TX()
SecurityProperties.getUser() must be set.public static EmbeddedServiceFactory CURRENT_TX_WITH_AUTO_FLUSH()
SecurityProperties.getUser() must be set.public static EmbeddedServiceFactory CURRENT_TX_WITH_PROPERTY_LAYER()
SecurityProperties.getUser() must be set.public <T extends org.eclipse.stardust.engine.api.runtime.Service> T getService(Class<T> service) throws ServiceNotAvailableException, org.eclipse.stardust.common.error.LoginFailedException
ServiceFactoryservice - 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)
Copyright © 2016 Eclipse Stardust. All Rights Reserved.