org.hibernate.engine.transaction.internal
Class TransactionFactoryInitiator<T extends TransactionImplementor>

java.lang.Object
  extended by org.hibernate.engine.transaction.internal.TransactionFactoryInitiator<T>
All Implemented Interfaces:
BasicServiceInitiator<TransactionFactory>, ServiceInitiator<TransactionFactory>

public class TransactionFactoryInitiator<T extends TransactionImplementor>
extends Object
implements BasicServiceInitiator<TransactionFactory>

Standard instantiator for the standard TransactionFactory service.


Field Summary
static TransactionFactoryInitiator INSTANCE
           
 
Constructor Summary
TransactionFactoryInitiator()
           
 
Method Summary
 Class<TransactionFactory> getServiceInitiated()
          Obtains the service role initiated by this initiator.
 TransactionFactory 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 TransactionFactoryInitiator INSTANCE
Constructor Detail

TransactionFactoryInitiator

public TransactionFactoryInitiator()
Method Detail

getServiceInitiated

public Class<TransactionFactory> 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<TransactionFactory>
Returns:
The service role.

initiateService

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

Specified by:
initiateService in interface BasicServiceInitiator<TransactionFactory>
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.


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