ome.services.delete
Class DeleteSpecFactory

java.lang.Object
  extended by ome.services.delete.DeleteSpecFactory
All Implemented Interfaces:
org.springframework.context.ApplicationContextAware

public class DeleteSpecFactory
extends Object
implements org.springframework.context.ApplicationContextAware

Container which is loaded with stateful DeleteSpec instances for use in a multi-threaded environment. Each DeleteSpec will be used within a single thread, but be initialized multiple times sequentially.

Since:
Beta4.2.1
Author:
Josh Moore, josh at glencoesoftware.com
See Also:
IDelete

Constructor Summary
DeleteSpecFactory()
           
 
Method Summary
 DeleteSpec get(String type)
           
 Set<String> keys()
          Returns the keys of all specs in the current factory.
 void setApplicationContext(org.springframework.context.ApplicationContext ctx)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DeleteSpecFactory

public DeleteSpecFactory()
Method Detail

get

public DeleteSpec get(String type)

setApplicationContext

public void setApplicationContext(org.springframework.context.ApplicationContext ctx)
                           throws org.springframework.beans.BeansException
Specified by:
setApplicationContext in interface org.springframework.context.ApplicationContextAware
Throws:
org.springframework.beans.BeansException

keys

public Set<String> keys()
Returns the keys of all specs in the current factory.



OmeroJava Api

Version: Beta4.2.1-r8614-Beta4.2-b41

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