| Package | Description |
|---|---|
| org.glassfish.hk2.configuration.hub.api | |
| org.glassfish.hk2.configuration.hub.internal | |
| org.glassfish.hk2.configuration.internal |
| Modifier and Type | Interface and Description |
|---|---|
interface |
WriteableBeanDatabase
A writeable version of a
BeanDatabase. |
| Modifier and Type | Method and Description |
|---|---|
BeanDatabase |
Hub.getCurrentDatabase()
Gets the current database running in the system
|
| 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 |
BeanDatabaseImpl |
class |
WriteableBeanDatabaseImpl |
| Modifier and Type | Method and Description |
|---|---|
BeanDatabase |
HubImpl.getCurrentDatabase() |
| Modifier and Type | Method and Description |
|---|---|
static void |
Utilities.dumpDatabase(BeanDatabase database,
PrintStream stream)
Dumps the database given
|
static String |
Utilities.dumpDatabaseAsString(BeanDatabase database) |
| 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–2020 Oracle Corporation. All rights reserved.