Package | Description |
---|---|
org.glassfish.hk2.configuration.hub.api | |
org.glassfish.hk2.configuration.hub.internal | |
org.glassfish.hk2.configuration.internal |
Modifier and Type | Method and Description |
---|---|
void |
BeanDatabaseUpdateListener.commitDatabaseChange(BeanDatabase oldDatabase,
BeanDatabase currentDatabase,
Object commitMessage,
List<Change> changes)
This method is called after the change of database has already happened.
|
void |
BeanDatabaseUpdateListener.prepareDatabaseChange(BeanDatabase currentDatabase,
BeanDatabase proposedDatabase,
Object commitMessage,
List<Change> changes)
This method will be called prior to the bean database being updated.
|
void |
BeanDatabaseUpdateListener.rollbackDatabaseChange(BeanDatabase currentDatabase,
BeanDatabase proposedDatabase,
Object commitMessage,
List<Change> changes)
If any
BeanDatabaseUpdateListener.prepareDatabaseChange(BeanDatabase, BeanDatabase, Object, List)
throws an exception this method will be called on all listeners whose
BeanDatabaseUpdateListener.prepareDatabaseChange(BeanDatabase, BeanDatabase, Object, List) had already
been succesfully called. |
Modifier and Type | Class and Description |
---|---|
class |
ChangeImpl |
Modifier and Type | Method and Description |
---|---|
void |
ConfigurationListener.commitDatabaseChange(BeanDatabase reference,
BeanDatabase newDatabase,
Object commitMessage,
List<Change> changes) |
void |
ConfigurationListener.prepareDatabaseChange(BeanDatabase currentDatabase,
BeanDatabase proposedDatabase,
Object commitMessage,
List<Change> changes) |
void |
ConfigurationListener.rollbackDatabaseChange(BeanDatabase currentDatabase,
BeanDatabase proposedDatabase,
Object commitMessage,
List<Change> changes) |
Copyright © 2009-2017, Oracle and/or its affiliates. All Rights Reserved.