Package | Description |
---|---|
org.glassfish.hk2.configuration.hub.api | |
org.glassfish.hk2.configuration.hub.internal |
Modifier and Type | Method and Description |
---|---|
Instance |
Type.getInstance(java.lang.String key)
Gets the instance associated with this key, or null if there is none
|
Instance |
BeanDatabase.getInstance(java.lang.String type,
java.lang.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(java.lang.String key)
Removes the instance with the given key from the type
|
Modifier and Type | Method and Description |
---|---|
java.util.Map<java.lang.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 | Field and Description |
---|---|
private Instance |
ChangeImpl.instanceValue |
private Instance |
ChangeImpl.originalInstanceValue |
Modifier and Type | Field and Description |
---|---|
private java.util.HashMap<java.lang.String,Instance> |
WriteableTypeImpl.beanMap |
private java.util.Map<java.lang.String,Instance> |
TypeImpl.instances |
Modifier and Type | Method and Description |
---|---|
Instance |
TypeImpl.getInstance(java.lang.String key) |
Instance |
WriteableTypeImpl.getInstance(java.lang.String key) |
Instance |
BeanDatabaseImpl.getInstance(java.lang.String type,
java.lang.String instanceKey) |
Instance |
WriteableBeanDatabaseImpl.getInstance(java.lang.String type,
java.lang.String instanceKey) |
Instance |
ChangeImpl.getInstanceValue() |
Instance |
ChangeImpl.getOriginalInstanceValue() |
Instance |
WriteableTypeImpl.removeInstance(java.lang.String key) |
Modifier and Type | Method and Description |
---|---|
java.util.Map<java.lang.String,Instance> |
TypeImpl.getInstances() |
java.util.Map<java.lang.String,Instance> |
WriteableTypeImpl.getInstances() |
Constructor and Description |
---|
ChangeImpl(Change.ChangeCategory changeCategory,
Type changeType,
java.lang.String instanceKey,
Instance instanceValue,
Instance originalInstanceValue,
java.util.List<java.beans.PropertyChangeEvent> propertyChanges) |