T - the type of the unique key of this data handlerpublic abstract class AbstractDataHandler<T> extends Object implements org.drombler.commons.data.DataHandler<T>, AutoCloseable
DataHandler. It observes registered DataCapabilityProviders and adds the found data capabilities to it's local context.
You can use this class as a base class for your own data handler implementations.AbstractDocumentHandler| Constructor and Description |
|---|
AbstractDataHandler()
Creates a new instance of this class.
|
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
org.drombler.commons.context.Context |
getLocalContext() |
boolean |
isDirty() |
protected void |
markClean() |
void |
markDirty() |
public AbstractDataHandler()
public org.drombler.commons.context.Context getLocalContext()
getLocalContext in interface org.drombler.commons.context.LocalContextProviderpublic void markDirty()
markDirty in interface org.drombler.commons.data.DataHandler<T>public boolean isDirty()
isDirty in interface org.drombler.commons.data.DataHandler<T>protected void markClean()
public void close()
close in interface AutoCloseableCopyright © 2012–2016 Drombler. All rights reserved.