public abstract class AbstractRootProxyFactory<Z,D extends Database<Z>> extends AbstractProxyFactory<Z,D,SQLException,Z,SQLException> implements RootProxyFactory<Z,D>, DatabaseClusterListener
logger
Modifier | Constructor and Description |
---|---|
protected |
AbstractRootProxyFactory(DatabaseCluster<Z,D> cluster) |
Modifier and Type | Method and Description |
---|---|
void |
activated(DatabaseEvent event)
Triggered after database is successfully activated.
|
protected Z |
create(D database) |
void |
deactivated(DatabaseEvent event)
Triggered after database is successfully deactivated.
|
addChild, children, entries, get, getDatabaseCluster, getExceptionFactory, record, remove, removeChild, removeChildren, replay
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addChild, createProxy, entries, get, getDatabaseCluster, getExceptionFactory, record, removeChild, removeChildren, replay
protected AbstractRootProxyFactory(DatabaseCluster<Z,D> cluster)
protected Z create(D database)
create
in class AbstractProxyFactory<Z,D extends Database<Z>,SQLException,Z,SQLException>
public void activated(DatabaseEvent event)
DatabaseClusterListener
activated
in interface DatabaseClusterListener
event
- indicates the database that was activatedpublic void deactivated(DatabaseEvent event)
DatabaseClusterListener
deactivated
in interface DatabaseClusterListener
event
- indicates the database that was deactivatedCopyright © 2004–2014 Paul Ferraro. All rights reserved.