org.springframework.extensions.jcr.support
Class ServiceSessionHolderProviderManager

java.lang.Object
  extended by org.springframework.extensions.jcr.support.AbstractSessionHolderProviderManager
      extended by org.springframework.extensions.jcr.support.CacheableSessionHolderProviderManager
          extended by org.springframework.extensions.jcr.support.ServiceSessionHolderProviderManager
All Implemented Interfaces:
SessionHolderProviderManager

public class ServiceSessionHolderProviderManager
extends CacheableSessionHolderProviderManager

Implementation of SessionHolderProviderManager which does dynamic discovery of the providers using the JDK 1.5+ 'Service Provider' specification. The class will look for org.springframework.extensions.jcr.SessionHolderProvider property files in META-INF/services directories.

Author:
Costin Leau, Sergio Bossa, Salvatore Incandela

Nested Class Summary
 
Nested classes/interfaces inherited from class org.springframework.extensions.jcr.support.CacheableSessionHolderProviderManager
CacheableSessionHolderProviderManager.ProvidersCache
 
Field Summary
 
Fields inherited from class org.springframework.extensions.jcr.support.AbstractSessionHolderProviderManager
defaultProvider, LOG
 
Constructor Summary
ServiceSessionHolderProviderManager()
           
 
Method Summary
 java.util.List<SessionHolderProvider> getProviders()
          Loads the service providers using the discovery mechanism.
 
Methods inherited from class org.springframework.extensions.jcr.support.CacheableSessionHolderProviderManager
getSessionProvider
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ServiceSessionHolderProviderManager

public ServiceSessionHolderProviderManager()
Method Detail

getProviders

public java.util.List<SessionHolderProvider> getProviders()
Loads the service providers using the discovery mechanism.

Specified by:
getProviders in class AbstractSessionHolderProviderManager
Returns:
the list of service providers found.


Copyright © 2009. All Rights Reserved.