Examples of acceptsRepository()


Examples of org.springmodules.jcr.SessionHolderProvider.acceptsRepository()

    List providers = getProviders();

    // search the provider
    for (int i = 0; i < providers.size(); i++) {
      SessionHolderProvider provider = (SessionHolderProvider) providers.get(i);
      if (provider.acceptsRepository(key)) {
        if (log.isDebugEnabled())
          log.debug("specific SessionHolderProvider found for repository " + key);
        return provider;
      }
    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.