com.stratelia.webactiv.organization
Class OrganizationSchemaPool
java.lang.Object
com.stratelia.webactiv.util.SchemaPool
com.stratelia.webactiv.organization.OrganizationSchemaPool
public class OrganizationSchemaPool
- extends SchemaPool
The OrganizationSchemaPool class manages a pool of OrganizationSchema shared by all the client
(admin classes). All the public methods are static and the calls are deferred to a singleton.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
getOrganizationSchema
public static OrganizationSchema getOrganizationSchema()
throws AdminPersistenceException
- Returns an Shema. The returned schema must be released after use.
- Throws:
AdminPersistenceException
releaseOrganizationSchema
public static void releaseOrganizationSchema(OrganizationSchema s)
- Release an Scheme previously returned by the pool.
releaseConnections
public static void releaseConnections()
newSchema
protected Schema newSchema()
throws UtilException
- Specified by:
newSchema
in class SchemaPool
- Throws:
UtilException
Copyright © 2016 Silverpeas. All Rights Reserved.