org.jwarp.service.objectpool
Interface IObjectPoolService

All Superinterfaces:
IConfigurable, IExceptionProvider, IService
All Known Implementing Classes:
ObjectPoolService

public interface IObjectPoolService
extends IService

The object pool service handles object beans within. It can be maed persistent throuh the use of a castor based persistence service. If you pass null as persistence service then a RAM pool is created.

Version:
1.0
Author:
Anatole Tresch

Field Summary
static java.lang.String SERVICE_TYPE
           
 
Fields inherited from interface org.jwarp.service.IService
SERVICE_STATUS_CREATED, SERVICE_STATUS_NOT_AVAILABLE, SERVICE_STATUS_READY, SERVICE_STATUS_RESUMING, SERVICE_STATUS_RUNNING, SERVICE_STATUS_STARTING, SERVICE_STATUS_STOPPED, SERVICE_STATUS_STOPPING, SERVICE_STATUS_SUSPENDED
 
Method Summary
 IPersistentObjectPool createPersistentPool(java.lang.String name, java.lang.String className, java.lang.String configUrl, ITicket user)
           
 IObjectPool createPool(java.lang.String name, java.lang.String className, ITicket user)
           
 IObjectPool getObjectPool(java.lang.String name, ITicket user)
           
 IObjectPool removePool(java.lang.String name, ITicket user)
           
 
Methods inherited from interface org.jwarp.service.IService
checkContext, getDependencies, getLogLevel, getName, getStatus, getType, resume, setContext, setDependencies, setLogLevel, shutdown, start, suspend
 
Methods inherited from interface org.jwarp.service.configuration.IConfigurable
configure
 
Methods inherited from interface org.jwarp.common.IExceptionProvider
addExceptionListener, getExceptionListeners, removeAllExceptionListeners, removeExceptionListener
 

Field Detail

SERVICE_TYPE

public static final java.lang.String SERVICE_TYPE
Method Detail

createPool

public IObjectPool createPool(java.lang.String name,
                              java.lang.String className,
                              ITicket user)
                       throws java.lang.SecurityException

createPersistentPool

public IPersistentObjectPool createPersistentPool(java.lang.String name,
                                                  java.lang.String className,
                                                  java.lang.String configUrl,
                                                  ITicket user)
                                           throws java.lang.SecurityException,
                                                  PersistenceException

removePool

public IObjectPool removePool(java.lang.String name,
                              ITicket user)
                       throws java.lang.SecurityException

getObjectPool

public IObjectPool getObjectPool(java.lang.String name,
                                 ITicket user)

©   O R C A   S y s t e m s