public abstract class AbstractBaseEvent extends Object
A base class for all event class that provides an event context.
Events provide access to the PartitionManager
from where the event was fired directly or indirectly
by its corrsponding IdentityManager
or RelationshipManager
instances.
The reason for that is that events may be fired during initialization where the environment has not finished the process that
makes the partition manager available for the application. For instance, when using CDI the partition manager may be
initialized and a new partition created before instances are produced.
Constructor and Description |
---|
AbstractBaseEvent(PartitionManager partitionManager) |
Modifier and Type | Method and Description |
---|---|
EventContext |
getContext() |
PartitionManager |
getPartitionMananger() |
public AbstractBaseEvent(PartitionManager partitionManager)
public EventContext getContext()
public PartitionManager getPartitionMananger()
Copyright © 2018 JBoss by Red Hat. All rights reserved.