public class InstanceLifecycleEventImpl extends Object implements InstanceLifecycleEvent
Modifier and Type | Method and Description |
---|---|
ActiveDescriptor<?> |
getActiveDescriptor()
The active descriptor that is being used for the operation.
|
InstanceLifecycleEventType |
getEventType()
Gets the type of event this describes.
|
Map<Injectee,Object> |
getKnownInjectees()
A map from the Injectee to the object actually used
in the production, if known.
|
Object |
getLifecycleObject()
The object that is being described by this event.
|
String |
toString() |
public InstanceLifecycleEventType getEventType()
InstanceLifecycleEvent
getEventType
in interface InstanceLifecycleEvent
public ActiveDescriptor<?> getActiveDescriptor()
InstanceLifecycleEvent
getActiveDescriptor
in interface InstanceLifecycleEvent
public Object getLifecycleObject()
InstanceLifecycleEvent
getLifecycleObject
in interface InstanceLifecycleEvent
public Map<Injectee,Object> getKnownInjectees()
InstanceLifecycleEvent
Factory
or objects created by
third-party (pre-reified) ActiveDescriptors. If this
method returns an empty map then the system knows that
nothing will be or was injected into to produced object.getKnownInjectees
in interface InstanceLifecycleEvent
Copyright © 2009-2017, Oracle and/or its affiliates. All Rights Reserved.