| Modifier and Type | Field and Description |
|---|---|
| private final ActiveDescriptor | |
| private final InstanceLifecycleEventType | |
| private final Map | |
| private final Object |
| Access | Constructor and Description |
|---|---|
| pack-priv | InstanceLifecycleEventImpl(InstanceLifecycleEventType eventType, Object lifecycleObject, Map<Injectee, Object> knownInjectees, ActiveDescriptor<?> descriptor)
|
| pack-priv | InstanceLifecycleEventImpl(InstanceLifecycleEventType eventType, Object lifecycleObject, ActiveDescriptor<?> descriptor)
|
| Modifier and Type | Method and Description |
|---|---|
| public ActiveDescriptor | getActiveDescriptor()
Implements org. The active descriptor that is being used for the operation. |
| public InstanceLifecycleEventType | getEventType()
Implements org. Gets the type of event this describes. |
| public Map | getKnownInjectees()
Implements org. A map from the Injectee to the object actually used in the production, if known. |
| public Object | getLifecycleObject()
Implements org. The object that is being described by this event. |
| public String |
| descriptor | back to summary |
|---|---|
| private final ActiveDescriptor<?> descriptor | |
| eventType | back to summary |
|---|---|
| private final InstanceLifecycleEventType eventType | |
| knownInjectees | back to summary |
|---|---|
| private final Map<Injectee, Object> knownInjectees | |
| lifecycleObject | back to summary |
|---|---|
| private final Object lifecycleObject | |
| InstanceLifecycleEventImpl | back to summary |
|---|---|
| pack-priv InstanceLifecycleEventImpl(InstanceLifecycleEventType eventType, Object lifecycleObject, Map<Injectee, Object> knownInjectees, ActiveDescriptor<?> descriptor) | |
| InstanceLifecycleEventImpl | back to summary |
|---|---|
| pack-priv InstanceLifecycleEventImpl(InstanceLifecycleEventType eventType, Object lifecycleObject, ActiveDescriptor<?> descriptor) | |
| getActiveDescriptor | back to summary |
|---|---|
| public ActiveDescriptor Implements org. Doc from org. The active descriptor that is being used for the operation. For PRE_PRODUCTION and POST_PRODUCTION this is the descriptor that will create or that created the object. For PRE_DESTRUCTION this is the descriptor that will be used to destroy the object
| |
| getEventType | back to summary |
|---|---|
| public InstanceLifecycleEventType getEventType() Implements org. Doc from org. Gets the type of event this describes. The values may be:
| |
| getKnownInjectees | back to summary |
|---|---|
| public Map Implements org. Doc from org. A map from the Injectee to the object actually used
in the production, if known. This will return null
in the PRE_DESTRUCTION case. In the PRE_PRODUCTION and
POST_PRODUCTION cases this will return non-null if the
system knows the objects that will be or were injected into
the produced object. If this method returns null in the PRE_PRODUCTION or
POST_PRODUCTION case then the system does not know what objects
were injected into the produced object, which happens in the case
of objects created by a
| |
| getLifecycleObject | back to summary |
|---|---|
| public Object getLifecycleObject() Implements org. Doc from org. The object that is being described by this event. In the POST_PRODUCTION case this is the object that was just produced. In the PRE_DESTRUCTION case this is the object that will be destroyed. Will be null in the PRE_PRODUCTION case
| |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object.
Satisfying this method's contract implies a non-
| |