org.hibernate.service.jdbc.connections.internal
Class MultiTenantConnectionProviderInitiator

java.lang.Object
  extended by org.hibernate.service.jdbc.connections.internal.MultiTenantConnectionProviderInitiator
All Implemented Interfaces:
BasicServiceInitiator<MultiTenantConnectionProvider>, ServiceInitiator<MultiTenantConnectionProvider>

public class MultiTenantConnectionProviderInitiator
extends Object
implements BasicServiceInitiator<MultiTenantConnectionProvider>


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

MultiTenantConnectionProviderInitiator

public MultiTenantConnectionProviderInitiator()
Method Detail

getServiceInitiated

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

initiateService

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

Specified by:
initiateService in interface BasicServiceInitiator<MultiTenantConnectionProvider>
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-2015 Red Hat, Inc. All Rights Reserved.