Class InstanceImpl
- java.lang.Object
-
- org.glassfish.hk2.configuration.hub.internal.InstanceImpl
-
-
Constructor Summary
Constructors Constructor Description InstanceImpl(java.lang.Object bean, java.lang.Object metadata)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.ObjectgetBean()Gets the bean (or bean-like-map) associated with this instancejava.lang.ObjectgetMetadata()Gets information about this instance.voidsetMetadata(java.lang.Object metadata)Sets an object containing information about this instance.java.lang.StringtoString()
-
-
-
Method Detail
-
getBean
public java.lang.Object getBean()
Description copied from interface:InstanceGets the bean (or bean-like-map) associated with this instance
-
getMetadata
public java.lang.Object getMetadata()
Description copied from interface:InstanceGets information about this instance. Can be used to describe the bean in some useful way- Specified by:
getMetadatain interfaceInstance- Returns:
- The possibly null metadata associated with this instance
-
setMetadata
public void setMetadata(java.lang.Object metadata)
Description copied from interface:InstanceSets an object containing information about this instance. Can be used to describe the bean in some useful way- Specified by:
setMetadatain interfaceInstance- Parameters:
metadata- The possibly null metadata to be associated with this instance
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-