public class ImplementationBootstrapLoader extends Object
SagaFactories
,
one for each Java Saga implementation that is to be used. A SagaFactory
must be used to actually create Saga objects. All factory creation methods have an optional
parameter, the classname of the Saga factory. When this parameter is not specified,
a default Saga factory is used.
The classname of the default Saga factory is to be provided by the
the environment variable (Java property) saga.factory
.
The
ImplementationBootstrapLoader
instantiates
exactly one instance of each Saga factory classname. A Saga factory must have a public parameter-less
constructor.
Modifier and Type | Method and Description |
---|---|
static BufferFactory |
getBufferFactory(String factoryName)
Creates a buffer factory, using the specified SagaFactory.
|
static ContextFactory |
getContextFactory(String factoryName)
Creates a context factory, using the specified SagaFactory.
|
static FileFactory |
getFileFactory(String factoryName)
Creates a file factory, using the specified SagaFactory.
|
static ISNFactory |
getISNFactory(String factoryName)
Creates a ISN factory for the Information System Navigator, using the specified SagaFactory.
|
static JobFactory |
getJobFactory(String factoryName)
Creates a job factory, using the specified SagaFactory.
|
static LogicalFileFactory |
getLogicalFileFactory(String factoryName)
Creates a logical file factory, using the specified SagaFactory.
|
static MonitoringFactory |
getMonitoringFactory(String factoryName)
Creates a monitoring factory, using the specified SagaFactory.
|
static NSFactory |
getNamespaceFactory(String factoryName)
Creates a namespace factory, using the specified SagaFactory.
|
static ResourceFactory |
getResourceFactory(String factoryName)
Creates a resource factory, using the specified SagaFactory.
|
static RPCFactory |
getRPCFactory(String factoryName)
Creates an RPC factory, using the specified SagaFactory.
|
static SDFactory |
getSDFactory(String factoryName)
Creates a SD factory for Service Discovery, using the specified SagaFactory.
|
static SessionFactory |
getSessionFactory(String factoryName)
Creates a session factory, using the specified SagaFactory.
|
static StreamFactory |
getStreamFactory(String factoryName)
Creates a stream factory, using the specified SagaFactory.
|
static TaskFactory |
getTaskFactory(String factoryName)
Creates a task factory, using the specified SagaFactory.
|
static URLFactory |
getURLFactory(String factoryName)
Creates an URL factory, using the specified SagaFactory.
|
public static BufferFactory getBufferFactory(String factoryName) throws NoSuccessException
factoryName
- classname of the Saga factory to be used, or null.NoSuccessException
- is thrown when the Saga factory could not be created.public static ContextFactory getContextFactory(String factoryName) throws NoSuccessException
factoryName
- classname of the Saga factory to be used, or null.NoSuccessException
- is thrown when the Saga factory could not be created.public static SessionFactory getSessionFactory(String factoryName) throws NoSuccessException
factoryName
- classname of the Saga factory to be used, or null.NoSuccessException
- is thrown when the Saga factory could not be created.public static FileFactory getFileFactory(String factoryName) throws NoSuccessException
factoryName
- classname of the Saga factory to be used, or null.NoSuccessException
- is thrown when the Saga factory could not be created.public static JobFactory getJobFactory(String factoryName) throws NotImplementedException, NoSuccessException
factoryName
- classname of the Saga factory to be used, or null.NotImplementedException
- is thrown when jobs are not implemented.NoSuccessException
- is thrown when the Saga factory could not be created.public static LogicalFileFactory getLogicalFileFactory(String factoryName) throws NotImplementedException, NoSuccessException
factoryName
- classname of the Saga factory to be used, or null.NotImplementedException
- is thrown when logical files are not implemented.NoSuccessException
- is thrown when the Saga factory could not be created.public static MonitoringFactory getMonitoringFactory(String factoryName) throws NotImplementedException, NoSuccessException
factoryName
- classname of the Saga factory to be used, or null.NotImplementedException
- is thrown when monitoring is not implemented.NoSuccessException
- is thrown when the Saga factory could not be created.public static NSFactory getNamespaceFactory(String factoryName) throws NotImplementedException, NoSuccessException
factoryName
- classname of the Saga factory to be used, or null.NotImplementedException
- is thrown when namespace is not implemented.NoSuccessException
- is thrown when the Saga factory could not be created.public static RPCFactory getRPCFactory(String factoryName) throws NoSuccessException, NotImplementedException
factoryName
- classname of the Saga factory to be used, or null.NoSuccessException
- is thrown when the Saga factory could not be created.NotImplementedException
NotImplementedException
- is thrown when RPC is not implemented.public static StreamFactory getStreamFactory(String factoryName) throws NotImplementedException, NoSuccessException
factoryName
- classname of the Saga factory to be used, or null.NotImplementedException
- is thrown when streams are not implemented.NoSuccessException
- is thrown when the Saga factory could not be created.public static TaskFactory getTaskFactory(String factoryName) throws NotImplementedException, NoSuccessException
factoryName
- classname of the Saga factory to be used, or null.NotImplementedException
- is thrown when tasks are not implemented.NoSuccessException
- is thrown when the Saga factory could not be created.public static URLFactory getURLFactory(String factoryName) throws NoSuccessException
factoryName
- classname of the Saga factory to be used, or null.NoSuccessException
- is thrown when the Saga factory could not be created.public static SDFactory getSDFactory(String factoryName) throws NotImplementedException, NoSuccessException
factoryName
- classname of the Saga factory to be used, or null.NoSuccessException
- is thrown when the Saga factory could not be created.NotImplementedException
- is thrown when SD is not implemented.public static ISNFactory getISNFactory(String factoryName) throws NotImplementedException, NoSuccessException
factoryName
- classname of the Saga factory to be used, or null.NoSuccessException
- is thrown when the Saga factory could not be created.NotImplementedException
- is thrown when ISN is not implemented.public static ResourceFactory getResourceFactory(String factoryName) throws NotImplementedException, NoSuccessException
factoryName
- classname of the Saga factory to be used, or null.NotImplementedException
- is thrown when resource management is not implemented.NoSuccessException
- is thrown when the Saga factory could not be created.Copyright © 2016 Open Grid Forum. All rights reserved.