public class BeanDatabaseImpl extends Object implements BeanDatabase
| Modifier and Type | Method and Description |
|---|---|
void |
dumpDatabase()
Dumps the type and instance names to stderr
|
void |
dumpDatabase(PrintStream output)
Dumps the type and instance names to the given stream
|
Set<Type> |
getAllTypes()
Gets an unmodifiable set of all the types in the bean database
|
Instance |
getInstance(String type,
String instanceKey)
Returns the instance with the given instanceKey from the
type with the given name
|
Type |
getType(String type)
Gets the type with the given name
|
public Set<Type> getAllTypes()
BeanDatabasegetAllTypes in interface BeanDatabasepublic Instance getInstance(String type, String instanceKey)
BeanDatabasegetInstance in interface BeanDatabasetype - The non-null name of the type to get the instance frominstanceKey - The non-null key of the instancepublic Type getType(String type)
BeanDatabasegetType in interface BeanDatabasetype - The non-null namepublic void dumpDatabase()
BeanDatabasedumpDatabase in interface BeanDatabasepublic void dumpDatabase(PrintStream output)
BeanDatabasedumpDatabase in interface BeanDatabaseoutput - - The non-null outut stream to write the database toCopyright © 2009–2017 Oracle Corporation. All rights reserved.