| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.stratelia.webactiv.util.SchemaPool
public abstract class SchemaPool
The SchemaPool class manages a pool of Schema shared by all the client (admin classes). All the public methods are static and the calls are deferred to a singleton.
| Constructor Summary | |
|---|---|
| protected  | SchemaPool()The constructor is private, so we can ensure that only one pool will be created in the JVM. | 
| Method Summary | |
|---|---|
| protected  Schema | getInstance()Returns an Shema. | 
| protected abstract  Schema | newSchema() | 
| protected  void | release(Schema s)Release an Scheme previously returned by the pool. | 
| protected  void | releaseSchemas() | 
| Methods inherited from class java.lang.Object | 
|---|
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Constructor Detail | 
|---|
protected SchemaPool()
| Method Detail | 
|---|
protected abstract Schema newSchema()
                             throws UtilException
UtilExceptionprotected void releaseSchemas()
protected Schema getInstance()
                      throws UtilException
UtilExceptionprotected void release(Schema s)
| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||