@Contract public interface Hub
A configuration object can be a java bean following the java bean standard. A configuration object can also be a bean-like Map, which is a Map<String,Object> that has as keys the names of the properties and as values value that property should take
Modifier and Type | Method and Description |
---|---|
BeanDatabase |
getCurrentDatabase()
Gets the current database running in the system
|
WriteableBeanDatabase |
getWriteableDatabaseCopy()
Creates a writeable copy of the currently running
database.
|
BeanDatabase getCurrentDatabase()
WriteableBeanDatabase getWriteableDatabaseCopy()
WriteableBeanDatabase.commit()
method is called (and no other WriteableBeanDatabase.commit()
method has been called) then a read-only copye of the
WriteableBeanDatabase
will become the current database.
There is no requirement to eventually call the
WriteableBeanDatabase.commit()
methodCopyright © 2009-2017, Oracle and/or its affiliates. All Rights Reserved.