public class LDAPRepositoryAccountManager.SecurityCache extends SchedulableService
CLASS_VERSION, mJobId
SERVICE_INFO_KEY
DEFAULT_LOG_TRACE_STATUS
DEFAULT_LOG_DEBUG_STATUS, DEFAULT_LOG_ERROR_STATUS, DEFAULT_LOG_INFO_STATUS, DEFAULT_LOG_WARNING_STATUS
Modifier and Type | Method and Description |
---|---|
void |
doStartService()
Pre load the cache on start-up
|
protected java.util.Iterator |
get(java.lang.String pKey)
Generic impl of a get command for this cache
|
protected void |
invalidate()
invalidates the cache
|
protected void |
load()
loads the cache
|
void |
performScheduledTask(Scheduler pScheduler,
ScheduledJob pJob)
Called by the scheduler when it is time for this service to perform its
function.
|
protected void |
reload()
reload call for the interface
|
protected void |
reload(boolean pForce)
reload call for the interface
|
protected void |
updateCacheEntries(java.lang.String pKey,
java.lang.String pAttr)
updates a cache entry of a give key with the values
defined by the attr in the ldap directory
|
doStopService, getJobDescription, getJobId, getJobName, getSchedule, getScheduler, getThreadMethod, getThreadMethodString, isTransactional, setJobDescription, setJobName, setSchedule, setScheduler, setThreadMethod, setThreadMethodString, setTransactional, startScheduledJob, stopScheduledJob
addLogListener, createAdminServlet, getAbsoluteName, getAdminServlet, getAdminServletOutputStreamEncoding, getLoggingForVlogging, getLogListenerCount, getLogListeners, getName, getNameContext, getNucleus, getRoot, getServiceConfiguration, getServiceInfo, isAdminServletUseServletOutputStream, isLoggingDebug, isLoggingError, isLoggingInfo, isLoggingTrace, isLoggingWarning, isRunning, logDebug, logDebug, logDebug, logError, logError, logError, logInfo, logInfo, logInfo, logTrace, logTrace, logTrace, logWarning, logWarning, logWarning, nameContextElementBound, nameContextElementUnbound, removeLogListener, reResolveThis, resolveName, resolveName, resolveName, resolveName, sendLogEvent, setAdminServletOutputStreamEncoding, setAdminServletUseServletOutputStream, setLoggingDebug, setLoggingError, setLoggingInfo, setLoggingTrace, setLoggingWarning, setNucleus, setServiceInfo, startService, stopService
vlogDebug, vlogDebug, vlogDebug, vlogDebug, vlogDebugTrace, vlogError, vlogError, vlogError, vlogError, vlogInfo, vlogInfo, vlogInfo, vlogInfo, vlogTrace, vlogTrace, vlogTrace, vlogTrace, vlogWarning, vlogWarning, vlogWarning, vlogWarning
protected java.util.Iterator get(java.lang.String pKey)
protected void invalidate()
protected void updateCacheEntries(java.lang.String pKey, java.lang.String pAttr)
protected void load()
protected void reload()
protected void reload(boolean pForce)
pForce
- should we force even if cache is disabledpublic void performScheduledTask(Scheduler pScheduler, ScheduledJob pJob)
load()
.performScheduledTask
in interface Schedulable
performScheduledTask
in class SchedulableService
pScheduler
- the scheduler managing this jobpJob
- the scheduled job associated with this servicepublic void doStartService() throws ServiceException
doStartService
in class SchedulableService
ServiceException
- if an error occurred during the operation