public abstract class AbstractStatefulBean extends Object implements SelfConfigurableService, StatefulServiceInterface, Serializable
Modifier and Type | Field and Description |
---|---|
protected LocalQuery |
iQuery |
protected LocalUpdate |
iUpdate |
protected boolean |
modified
True if any write operation took place on this bean.
|
protected SecuritySystem |
sec |
Constructor and Description |
---|
AbstractStatefulBean() |
Modifier and Type | Method and Description |
---|---|
protected BeanHelper |
getBeanHelper() |
EventContext |
getCurrentEventContext()
Returns the current
EventContext for this instance. |
protected boolean |
isModified() |
protected void |
modified() |
void |
selfConfigure() |
void |
setQueryService(LocalQuery iQuery)
Query service Bean injector.
|
void |
setSecuritySystem(SecuritySystem secSys) |
void |
setUpdateService(LocalUpdate update) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getServiceInterface
activate, close, passivate
protected transient LocalQuery iQuery
protected transient LocalUpdate iUpdate
protected transient SecuritySystem sec
protected transient boolean modified
public final void setQueryService(LocalQuery iQuery)
iQuery
- an IQuery
service.public final void setUpdateService(LocalUpdate update)
public final void setSecuritySystem(SecuritySystem secSys)
public void selfConfigure()
selfConfigure
in interface SelfConfigurableService
protected BeanHelper getBeanHelper()
protected boolean isModified()
protected void modified()
public final EventContext getCurrentEventContext()
StatefulServiceInterface
EventContext
for this instance. This is
useful for later identifying changes made by this Event
.getCurrentEventContext
in interface StatefulServiceInterface
Version: 5.3.3-ice35-b63
Copyright © 2017 The University of Dundee & Open Microscopy Environment. All Rights Reserved.