JAC project
AOPSYS
CEDRIC & LIP6 labs

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.


Field Summary
 
Fields inherited from class org.objectweb.jac.util.Repository
names, objects, repository
 
Constructor Summary
WeakRepository()
           
 
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
 

Constructor Detail

WeakRepository

public WeakRepository()

Contact JAC development team:
Renaud Pawlak
Lionel Seinturier
Laurent Martelli