|
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.nitido.nim.NiMKernelService
com.nitido.nimx.services.dirpool.mozilla.DirPoolService
public abstract class DirPoolService
The Directory Pool Service is a factory of com.nitido.directory.Directory object that utilizes connect pool mechanism. The implementation of this service returns a Directory object that can obtain/release directory from a connection pool. The application code does not need to call this service again when releasing the Directory connection.
| Field Summary |
|---|
| Constructor Summary | |
|---|---|
DirPoolService(NiMKernelServiceVisa visa)
This constructor is used by NiMKernel to instantiate a new DirPoolService. |
|
| Method Summary | |
|---|---|
abstract java.util.List<DirPoolStatus> |
getAllDirPoolStatus()
This method returns an ArrayList of DirPoolStatus object. |
abstract Directory |
getDirectory(java.lang.String poolName)
This method returns a com.nitido.directory.Directory object that utilizes a Directory Pool. |
abstract DirPoolStatus |
getDirPoolStatus(java.lang.String poolName)
This method returns a DirPoolStatus object of the specified pool. |
abstract void |
resetAllDirPools()
This method is a global "hard-reset" of all the directory pool that has been used. |
abstract void |
resetDirPool(java.lang.String poolName)
This method is a "hard-reset" of the directory pool. |
| Methods inherited from class com.nitido.nim.NiMKernelService |
|---|
init |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DirPoolService(NiMKernelServiceVisa visa)
visa - Reference to the NiMKernelServiceVisa object required to instantiate
the service. This parameter is required to ensure that only the
NiMkernel can instantiate a reference to this service.| Method Detail |
|---|
public abstract Directory getDirectory(java.lang.String poolName)
throws DirectoryException
poolName - The directory pool name to generate the Directory object for.
DirectoryException
public abstract void resetDirPool(java.lang.String poolName)
throws DirectoryException
poolName - The name of the directory pool to be reset.
DirectoryException
public abstract void resetAllDirPools()
throws DirectoryException
DirectoryExceptionpublic abstract java.util.List<DirPoolStatus> getAllDirPoolStatus()
public abstract DirPoolStatus getDirPoolStatus(java.lang.String poolName)
poolName - The name of the directory pool for obtaining the status.
|
Nitido NiM 2.5 Java API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Copyright © 1999-2009 Nitido Inc. Proprietary and Confidential. All Rights Reserved.