ome.services.blitz.impl
Class SharedResourcesI

java.lang.Object
  extended by ome.services.blitz.impl.AbstractAmdServant
      extended by ome.services.blitz.impl.SharedResourcesI
All Implemented Interfaces:
CloseableServant, BlitzOnly, ServiceFactoryAware, omero.grid._SharedResourcesOperations, ParamsHelper.Acquirer, org.springframework.context.ApplicationContextAware

public class SharedResourcesI
extends AbstractAmdServant
implements omero.grid._SharedResourcesOperations, BlitzOnly, ServiceFactoryAware, ParamsHelper.Acquirer

Implementation of the SharedResources interface.

Since:
Beta4.1
Author:
Josh Moore, josh at glencoesoftware.com
See Also:
ome.grid.SharedResources

Field Summary
 
Fields inherited from class ome.services.blitz.impl.AbstractAmdServant
be, ctx, invoker, service
 
Constructor Summary
SharedResourcesI(BlitzExecutor be, TopicManager topicManager, Registry registry, ScriptRepoHelper helper)
           
SharedResourcesI(BlitzExecutor be, TopicManager topicManager, Registry registry, ScriptRepoHelper helper, long waitMillis)
           
 
Method Summary
 omero.grid.InteractiveProcessorPrx acquireProcessor(omero.model.Job submittedJob, int seconds, Ice.Current current)
           
 void addProcessor(omero.grid.ProcessorPrx proc, Ice.Current __current)
           
 boolean areTablesEnabled(Ice.Current __current)
           
 omero.grid.RepositoryPrx getScriptRepository(Ice.Current __current)
           
 omero.grid.TablePrx newTable(long repo, String path, Ice.Current __current)
           
 omero.grid.TablePrx openTable(omero.model.OriginalFile file, Ice.Current __current)
           
protected  void preClose()
           
 void removeProcessor(omero.grid.ProcessorPrx proc, Ice.Current __current)
           
 omero.grid.RepositoryMap repositories(Ice.Current current)
           
 void setServiceFactory(ServiceFactoryI sf)
           
 
Methods inherited from class ome.services.blitz.impl.AbstractAmdServant
activate_async, applyHardWiredInterceptors, callInvokerOnMappedArgs, callInvokerOnRawArgs, close_async, close, executorWorkCall, getCurrentEventContext_async, onSetOmeroContext, passivate_async, runnableCall, safeRunnableCall, setApplicationContext
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SharedResourcesI

public SharedResourcesI(BlitzExecutor be,
                        TopicManager topicManager,
                        Registry registry,
                        ScriptRepoHelper helper)

SharedResourcesI

public SharedResourcesI(BlitzExecutor be,
                        TopicManager topicManager,
                        Registry registry,
                        ScriptRepoHelper helper,
                        long waitMillis)
Method Detail

setServiceFactory

public void setServiceFactory(ServiceFactoryI sf)
                       throws omero.ServerError
Specified by:
setServiceFactory in interface ServiceFactoryAware
Throws:
omero.ServerError

preClose

protected void preClose()
Overrides:
preClose in class AbstractAmdServant

getScriptRepository

public omero.grid.RepositoryPrx getScriptRepository(Ice.Current __current)
                                             throws omero.ServerError
Specified by:
getScriptRepository in interface omero.grid._SharedResourcesOperations
Throws:
omero.ServerError

repositories

public omero.grid.RepositoryMap repositories(Ice.Current current)
                                      throws omero.ServerError
Specified by:
repositories in interface omero.grid._SharedResourcesOperations
Throws:
omero.ServerError

areTablesEnabled

public boolean areTablesEnabled(Ice.Current __current)
                         throws omero.ServerError
Specified by:
areTablesEnabled in interface omero.grid._SharedResourcesOperations
Throws:
omero.ServerError

newTable

public omero.grid.TablePrx newTable(long repo,
                                    String path,
                                    Ice.Current __current)
                             throws omero.ServerError
Specified by:
newTable in interface omero.grid._SharedResourcesOperations
Throws:
omero.ServerError

openTable

public omero.grid.TablePrx openTable(omero.model.OriginalFile file,
                                     Ice.Current __current)
                              throws omero.ServerError
Specified by:
openTable in interface omero.grid._SharedResourcesOperations
Throws:
omero.ServerError

acquireProcessor

public omero.grid.InteractiveProcessorPrx acquireProcessor(omero.model.Job submittedJob,
                                                           int seconds,
                                                           Ice.Current current)
                                                    throws omero.ServerError
Specified by:
acquireProcessor in interface omero.grid._SharedResourcesOperations
Specified by:
acquireProcessor in interface ParamsHelper.Acquirer
Throws:
omero.ServerError

addProcessor

public void addProcessor(omero.grid.ProcessorPrx proc,
                         Ice.Current __current)
                  throws omero.ServerError
Specified by:
addProcessor in interface omero.grid._SharedResourcesOperations
Throws:
omero.ServerError

removeProcessor

public void removeProcessor(omero.grid.ProcessorPrx proc,
                            Ice.Current __current)
                     throws omero.ServerError
Specified by:
removeProcessor in interface omero.grid._SharedResourcesOperations
Throws:
omero.ServerError


OmeroJava Api

Version: 4.3.3-00d1137e-b2894

Copyright © 2009 The University of Dundee. All Rights Reserved.