org.ogf.saga.bootstrap
Interface SagaFactory


public interface SagaFactory

This interface must be implemented by a SAGA implementation that uses these language bindings. It creates factories for all packages in SAGA. See the ImplementationBootstrapLoader description.


Method Summary
 BufferFactory createBufferFactory()
          Creates a factory for the Saga buffer package.
 ContextFactory createContextFactory()
          Creates a factory for the Saga context package.
 FileFactory createFileFactory()
          Creates a factory for the Saga file package.
 ISNFactory createISNFactory()
          Creates a factory for the Saga Information System Navigator package.
 JobFactory createJobFactory()
          Creates a factory for the Saga jobs package.
 LogicalFileFactory createLogicalFileFactory()
          Creates a factory for the Saga logical file package.
 MonitoringFactory createMonitoringFactory()
          Creates a factory for the Saga monitoring package.
 NSFactory createNamespaceFactory()
          Creates a factory for the Saga namespace package.
 RPCFactory createRPCFactory()
          Creates a factory for the Saga RPC package.
 SDFactory createSDFactory()
          Creates a factory for the Saga Service Discovery package.
 SessionFactory createSessionFactory()
          Creates a factory for the Saga session package.
 StreamFactory createStreamFactory()
          Creates a factory for the Saga stream package.
 TaskFactory createTaskFactory()
          Creates a factory for the Saga task package.
 URLFactory createURLFactory()
          Creates a factory for the Saga URL package.
 

Method Detail

createBufferFactory

BufferFactory createBufferFactory()
Creates a factory for the Saga buffer package.

Returns:
the buffer factory.

createContextFactory

ContextFactory createContextFactory()
Creates a factory for the Saga context package.

Returns:
the context factory.

createFileFactory

FileFactory createFileFactory()
Creates a factory for the Saga file package. Note: this method cannot throw NotImplemented, because the IOVec constructor from the SAGA specs does not throw NotImplemented.

Returns:
the File factory.

createJobFactory

JobFactory createJobFactory()
                            throws NotImplementedException
Creates a factory for the Saga jobs package.

Returns:
the jobs factory.
Throws:
NotImplementedException - is thrown when jobs are not implemented.

createLogicalFileFactory

LogicalFileFactory createLogicalFileFactory()
                                            throws NotImplementedException
Creates a factory for the Saga logical file package.

Returns:
the logical file factory.
Throws:
NotImplementedException - is thrown when logical file is not implemented.

createMonitoringFactory

MonitoringFactory createMonitoringFactory()
                                          throws NotImplementedException
Creates a factory for the Saga monitoring package.

Returns:
the monitoring factory.
Throws:
NotImplementedException - is thrown when monitoring is not implemented.

createNamespaceFactory

NSFactory createNamespaceFactory()
                                 throws NotImplementedException
Creates a factory for the Saga namespace package.

Returns:
the namespace factory.
Throws:
NotImplementedException - is thrown when namespaces are not implemented.

createRPCFactory

RPCFactory createRPCFactory()
                            throws NotImplementedException
Creates a factory for the Saga RPC package.

Returns:
the RPC factory.
Throws:
NotImplementedException - is thrown when RPC is not implemented.

createSessionFactory

SessionFactory createSessionFactory()
Creates a factory for the Saga session package.

Returns:
the session factory.

createStreamFactory

StreamFactory createStreamFactory()
                                  throws NotImplementedException
Creates a factory for the Saga stream package.

Returns:
the stream factory.
Throws:
NotImplementedException - is thrown when streams are not implemented.

createTaskFactory

TaskFactory createTaskFactory()
                              throws NotImplementedException
Creates a factory for the Saga task package.

Returns:
the task factory.
Throws:
NotImplementedException - is thrown when tasks are not implemented.

createURLFactory

URLFactory createURLFactory()
Creates a factory for the Saga URL package.

Returns:
the URL factory.

createSDFactory

SDFactory createSDFactory()
                          throws NotImplementedException
Creates a factory for the Saga Service Discovery package.

Returns:
the SD factory.
Throws:
NotImplementedException - is thrown when SD is not implemented.

createISNFactory

ISNFactory createISNFactory()
                            throws NotImplementedException
Creates a factory for the Saga Information System Navigator package.

Returns:
the ISN factory.
Throws:
NotImplementedException - is thrown when ISN is not implemented.


Copyright © 2014 Open Grid Forum. All rights reserved.