Package | Description |
---|---|
org.glassfish.hk2.configuration.hub.api | |
org.glassfish.hk2.configuration.hub.internal |
Modifier and Type | Method and Description |
---|---|
Instance |
WriteableType.addInstance(String key,
Object bean)
Adds the instance with the given key to the type
|
Instance |
WriteableType.addInstance(String key,
Object bean,
Object metadata)
Adds the instance with the given key to the type
|
Instance |
Type.getInstance(String key)
Gets the instance associated with this key, or null if there is none
|
Instance |
BeanDatabase.getInstance(String type,
String instanceKey)
Returns the instance with the given instanceKey from the
type with the given name
|
Instance |
Change.getInstanceValue()
Returns the value of the instance that was removed, added or modified
for the categories ADD_INSTANCE, REMOVE_INSTANCE and MODIFY_INSTANCE.
|
Instance |
Change.getOriginalInstanceValue()
Returns the original Instance for the category MODIFY_INSTANCE
|
Instance |
WriteableType.removeInstance(String key)
Removes the instance with the given key from the type
|
Modifier and Type | Method and Description |
---|---|
Map<String,Instance> |
Type.getInstances()
Returns a read-only map of the instances that are associated with this type
|
Modifier and Type | Class and Description |
---|---|
class |
InstanceImpl |
Modifier and Type | Method and Description |
---|---|
Instance |
WriteableTypeImpl.addInstance(String key,
Object bean) |
Instance |
WriteableTypeImpl.addInstance(String key,
Object bean,
Object metadata) |
Instance |
TypeImpl.getInstance(String key) |
Instance |
WriteableTypeImpl.getInstance(String key) |
Instance |
BeanDatabaseImpl.getInstance(String type,
String instanceKey) |
Instance |
WriteableBeanDatabaseImpl.getInstance(String type,
String instanceKey) |
Instance |
ChangeImpl.getInstanceValue() |
Instance |
ChangeImpl.getOriginalInstanceValue() |
Instance |
WriteableTypeImpl.removeInstance(String key) |
Modifier and Type | Method and Description |
---|---|
Map<String,Instance> |
TypeImpl.getInstances() |
Map<String,Instance> |
WriteableTypeImpl.getInstances() |
Copyright © 2009-2017, Oracle and/or its affiliates. All Rights Reserved.