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.Object
getBean()
Gets the bean (or bean-like-map) associated with this instancejava.lang.Object
getMetadata()
Gets information about this instance.void
setMetadata(java.lang.Object metadata)
Sets an object containing information about this instance.java.lang.String
toString()
-
-
-
Method Detail
-
getBean
public java.lang.Object getBean()
Description copied from interface:Instance
Gets the bean (or bean-like-map) associated with this instance
-
getMetadata
public java.lang.Object getMetadata()
Description copied from interface:Instance
Gets information about this instance. Can be used to describe the bean in some useful way- Specified by:
getMetadata
in interfaceInstance
- Returns:
- The possibly null metadata associated with this instance
-
setMetadata
public void setMetadata(java.lang.Object metadata)
Description copied from interface:Instance
Sets an object containing information about this instance. Can be used to describe the bean in some useful way- Specified by:
setMetadata
in interfaceInstance
- Parameters:
metadata
- The possibly null metadata to be associated with this instance
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-