ome.services
Class AbstractStatefulBean
java.lang.Object
ome.services.AbstractStatefulBean
- All Implemented Interfaces:
- Serializable, ServiceInterface, StatefulServiceInterface, SelfConfigurableService
- Direct Known Subclasses:
- JobBean, RawFileBean, RawPixelsBean, SearchBean
public abstract class AbstractStatefulBean
- extends Object
- implements SelfConfigurableService, StatefulServiceInterface, Serializable
Base bean implementation for stateful services. Particularly useful is the
implementation of
- Since:
- 3.0-Beta2
- Author:
- Josh Moore, josh at glencoesoftware.com
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
iQuery
protected transient LocalQuery iQuery
iUpdate
protected transient LocalUpdate iUpdate
sec
protected transient SecuritySystem sec
modified
protected transient boolean modified
- True if any write operation took place on this bean.
Allows for updating the database representation if needed.
- See Also:
ticket:#1961
AbstractStatefulBean
public AbstractStatefulBean()
setQueryService
public final void setQueryService(LocalQuery iQuery)
- Query service Bean injector.
- Parameters:
iQuery
- an IQuery
service.
setUpdateService
public final void setUpdateService(LocalUpdate update)
setSecuritySystem
public final void setSecuritySystem(SecuritySystem secSys)
selfConfigure
public void selfConfigure()
- Specified by:
selfConfigure
in interface SelfConfigurableService
getBeanHelper
protected BeanHelper getBeanHelper()
isModified
protected boolean isModified()
modified
protected void modified()
getCurrentEventContext
public final EventContext getCurrentEventContext()
- Description copied from interface:
StatefulServiceInterface
- Returns the current
EventContext
for this instance. This is
useful for later identifying changes made by this Event
.
- Specified by:
getCurrentEventContext
in interface StatefulServiceInterface
OmeroJava Api
Version: 4.3.4-dbcbce5a-b4
Copyright © 2009 The University of Dundee. All Rights Reserved.