org.objectweb.jac.util
Class WeakRepository
java.lang.Object
|
+--org.objectweb.jac.util.Repository
|
+--org.objectweb.jac.util.WeakRepository
- Direct Known Subclasses:
- NameRepository
- public class WeakRepository
- extends Repository
This class can be subclassed to create specific repositories.
A repository class should be a singleton (a sole instance
class). Thus, the repository subclasses should define a static
field and a static method 'get' that returns the unique repository
for the class and that creates it if it does not exist.
Methods inherited from class org.objectweb.jac.util.Repository |
dump, get, getName, getNames, getObject, getObjects, getPrintableString, isRegistered, register, unregister, unregisterObject |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
WeakRepository
public WeakRepository()