Class InstanceImpl
java.lang.Object
org.glassfish.hk2.configuration.hub.internal.InstanceImpl
- All Implemented Interfaces:
Instance
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetBean()
Gets the bean (or bean-like-map) associated with this instanceGets information about this instance.void
setMetadata
(Object metadata) Sets an object containing information about this instance.toString()
-
Field Details
-
bean
-
metadata
-
-
Constructor Details
-
InstanceImpl
-
-
Method Details
-
getBean
Description copied from interface:Instance
Gets the bean (or bean-like-map) associated with this instance -
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
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
-