public interface 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
|
String |
dumpDatabaseAsString()
Dumps the type and instance names to a String for debugging
|
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
|
Set<Type> getAllTypes()
Type getType(String type)
type
- The non-null nameInstance getInstance(String type, String instanceKey)
type
- The non-null name of the type to get the instance frominstanceKey
- The non-null key of the instancevoid dumpDatabase()
void dumpDatabase(PrintStream output)
output
- - The non-null outut stream to write the database toString dumpDatabaseAsString()
Copyright © 2009-2017, Oracle and/or its affiliates. All Rights Reserved.