public class EventListenerServiceInitiator extends Object implements SessionFactoryServiceInitiator<EventListenerRegistry>
EventListenerRegistry| Modifier and Type | Field and Description |
|---|---|
static EventListenerServiceInitiator |
INSTANCE |
| Constructor and Description |
|---|
EventListenerServiceInitiator() |
| Modifier and Type | Method and Description |
|---|---|
Class<EventListenerRegistry> |
getServiceInitiated()
Obtains the service role initiated by this initiator.
|
EventListenerRegistry |
initiateService(SessionFactoryImplementor sessionFactory,
SessionFactoryOptions sessionFactoryOptions,
ServiceRegistryImplementor registry)
Initiates the managed service.
|
public static final EventListenerServiceInitiator INSTANCE
public Class<EventListenerRegistry> getServiceInitiated()
ServiceInitiatorgetServiceInitiated in interface ServiceInitiator<EventListenerRegistry>public EventListenerRegistry initiateService(SessionFactoryImplementor sessionFactory, SessionFactoryOptions sessionFactoryOptions, ServiceRegistryImplementor registry)
SessionFactoryServiceInitiatorinitiateService in interface SessionFactoryServiceInitiator<EventListenerRegistry>sessionFactory - The session factory. Note the the session factory is still in flux; care needs to be taken
in regards to what you call.sessionFactoryOptions - Options specified for building the SessionFactoryregistry - The service registry. Can be used to locate services needed to fulfill initiation.Copyright © 2018 JBoss by Red Hat. All rights reserved.