Class InstanceImpl
- java.lang.Object
-
- org.glassfish.hk2.configuration.hub.internal.InstanceImpl
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Object
getBean()
Gets the bean (or bean-like-map) associated with this instanceObject
getMetadata()
Gets information about this instance.void
setMetadata(Object metadata)
Sets an object containing information about this instance.String
toString()
-
-
-
Method Detail
-
getBean
public Object getBean()
Description copied from interface:Instance
Gets the bean (or bean-like-map) associated with this instance
-
getMetadata
public 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(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
-
-