net.sf.jldapbeans.lang
Class BeanRepositoryFactory

java.lang.Object
  extended by net.sf.jldapbeans.lang.BeanRepositoryFactory

public final class BeanRepositoryFactory
extends java.lang.Object

Holds a singleton instance of the bean repositories loaded from the classpath.

BeanRepositoryFactory looks for any resource named jldapbeans-repository.xml inside the META-INF folder using the application thread's ClassLoader.

Version:
1.0 $ Revision 12-nov-2005 :: alonso $
Author:
A. Alonso Domínguez

Method Summary
static BeanRepository getRepository()
          Obtains the @link net.sf.jldapbeans.lang.BeanRepository for the application's main thread.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getRepository

public static BeanRepository getRepository()
Obtains the @link net.sf.jldapbeans.lang.BeanRepository for the application's main thread.

Returns:
The singleton BeanRepository instance or a new one if it has not been already loaded.


Copyright © 2005 jLDAPBeans Team. All Rights Reserved.