ome.services.blitz.impl
Class ExporterI
java.lang.Object
ome.services.blitz.impl.AbstractAmdServant
ome.services.blitz.impl.ExporterI
- All Implemented Interfaces:
- CloseableServant, BlitzOnly, ServiceFactoryAware, omero.api._ExporterOperations, omero.api._ServiceInterfaceOperations, omero.api._StatefulServiceInterfaceOperations, org.springframework.context.ApplicationContextAware
public class ExporterI
- extends AbstractAmdServant
- implements omero.api._ExporterOperations, ServiceFactoryAware, BlitzOnly
Implementation of the Exporter service. This class uses a simple state
machine.
START -> waiting -> config -> output -> waiting -> config ...
- Since:
- 4.1
- Author:
- Josh Moore, josh at glencoesoftware.com
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 |
Methods inherited from interface omero.api._StatefulServiceInterfaceOperations |
activate_async, close_async, getCurrentEventContext_async, passivate_async |
ExporterI
public ExporterI(BlitzExecutor be,
DatabaseIdentity databaseIdentity,
PixelsService pixelsService)
throws loci.common.services.DependencyException
- Throws:
loci.common.services.DependencyException
setServiceFactory
public void setServiceFactory(ServiceFactoryI sf)
throws omero.ServerError
- Specified by:
setServiceFactory
in interface ServiceFactoryAware
- Throws:
omero.ServerError
addImage_async
public void addImage_async(omero.api.AMD_Exporter_addImage __cb,
long id,
Ice.Current __current)
throws omero.ServerError
- Specified by:
addImage_async
in interface omero.api._ExporterOperations
- Throws:
omero.ServerError
generateXml_async
public void generateXml_async(omero.api.AMD_Exporter_generateXml __cb,
Ice.Current __current)
throws omero.ServerError
- Generate XML and return the length
- Specified by:
generateXml_async
in interface omero.api._ExporterOperations
- Throws:
omero.ServerError
generateTiff_async
public void generateTiff_async(omero.api.AMD_Exporter_generateTiff __cb,
Ice.Current __current)
throws omero.ServerError
- Specified by:
generateTiff_async
in interface omero.api._ExporterOperations
- Throws:
omero.ServerError
read_async
public void read_async(omero.api.AMD_Exporter_read __cb,
long pos,
int size,
Ice.Current __current)
throws omero.ServerError
- Specified by:
read_async
in interface omero.api._ExporterOperations
- Throws:
omero.ServerError
convertXml
public loci.formats.meta.IMetadata convertXml(loci.formats.meta.MetadataRetrieve retrieve)
throws loci.common.services.ServiceException
- Throws:
loci.common.services.ServiceException
generateXml
public String generateXml(loci.formats.meta.MetadataRetrieve retrieve)
throws loci.common.services.ServiceException
- Throws:
loci.common.services.ServiceException
preClose
public void preClose()
- Overrides:
preClose
in class AbstractAmdServant
OmeroJava Api
Version: 4.3.3-00d1137e-b2894
Copyright © 2009 The University of Dundee. All Rights Reserved.