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:
BlitzOnly, ServiceFactoryAware, omero.grid._SharedResourcesOperations, org.springframework.context.ApplicationContextAware

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

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, invoker, service
 
Constructor Summary
SharedResourcesI(BlitzExecutor be, TopicManager topicManager, Registry registry)
           
 
Method Summary
 omero.grid.InteractiveProcessorPrx acquireProcessor(omero.model.Job submittedJob, int seconds, Ice.Current current)
           
 omero.grid.ProcessorPrx chooseProcessor()
          Chooses on ProcessorPrx at random.
 void close()
           
 omero.grid.TablePrx newTable(long repo, String path, Ice.Current __current)
           
 omero.grid.TablePrx openTable(omero.model.OriginalFile file, Ice.Current __current)
           
 omero.grid.RepositoryMap repositories(Ice.Current current)
           
 void setServiceFactory(ServiceFactoryI sf)
           
 
Methods inherited from class ome.services.blitz.impl.AbstractAmdServant
applyHardWiredInterceptors, callInvokerOnMappedArgs, callInvokerOnRawArgs, executorWorkCall, onSetOmeroContext, runnableCall, 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)
Method Detail

setServiceFactory

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

close

public void close()

repositories

public omero.grid.RepositoryMap repositories(Ice.Current current)
                                      throws omero.ServerError
Specified by:
repositories 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
Throws:
omero.ServerError

chooseProcessor

public omero.grid.ProcessorPrx chooseProcessor()
                                        throws omero.ServerError
Chooses on ProcessorPrx at random.

Throws:
omero.ServerError


OmeroJava Api

Version: Beta-4.1.1-r5927-b91

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