org.hibernate.service.instrumentation.internal
Class InstrumentationServiceInitiator

java.lang.Object
  extended by org.hibernate.service.instrumentation.internal.InstrumentationServiceInitiator
All Implemented Interfaces:
BasicServiceInitiator<InstrumentationService>, ServiceInitiator<InstrumentationService>

public class InstrumentationServiceInitiator
extends Object
implements BasicServiceInitiator<InstrumentationService>

Simple ServiceInitiator for InstrumentationService


Field Summary
static InstrumentationServiceInitiator INSTANCE
           
 
Constructor Summary
InstrumentationServiceInitiator()
           
 
Method Summary
 Class<InstrumentationService> getServiceInitiated()
          Obtains the service role initiated by this initiator.
 InstrumentationService initiateService(Map configurationValues, ServiceRegistryImplementor registry)
          Initiates the managed service.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

INSTANCE

public static final InstrumentationServiceInitiator INSTANCE
Constructor Detail

InstrumentationServiceInitiator

public InstrumentationServiceInitiator()
Method Detail

initiateService

public InstrumentationService initiateService(Map configurationValues,
                                              ServiceRegistryImplementor registry)
Description copied from interface: BasicServiceInitiator
Initiates the managed service.

Specified by:
initiateService in interface BasicServiceInitiator<InstrumentationService>
Parameters:
configurationValues - The configuration values in effect
registry - The service registry. Can be used to locate services needed to fulfill initiation.
Returns:
The initiated service.

getServiceInitiated

public Class<InstrumentationService> getServiceInitiated()
Description copied from interface: ServiceInitiator
Obtains the service role initiated by this initiator. Should be unique within a registry

Specified by:
getServiceInitiated in interface ServiceInitiator<InstrumentationService>
Returns:
The service role.


Copyright © 2001-2012 Red Hat, Inc. All Rights Reserved.