org.hibernate.service.config.internal
Class ConfigurationServiceInitiator

java.lang.Object
  extended by org.hibernate.service.config.internal.ConfigurationServiceInitiator
All Implemented Interfaces:
BasicServiceInitiator<ConfigurationService>, ServiceInitiator<ConfigurationService>

public class ConfigurationServiceInitiator
extends Object
implements BasicServiceInitiator<ConfigurationService>


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

ConfigurationServiceInitiator

public ConfigurationServiceInitiator()
Method Detail

initiateService

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

Specified by:
initiateService in interface BasicServiceInitiator<ConfigurationService>
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<ConfigurationService> 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<ConfigurationService>
Returns:
The service role.


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