public class LdapSyncCronTask extends SimpleCronTask
Constructor and Description |
---|
LdapSyncCronTask() |
Modifier and Type | Method and Description |
---|---|
void |
cronAction()
Perform the task.
|
java.lang.String |
getName()
Returs the name of the cron task.
|
CrontaskParamInfo[] |
getParameters()
This method provides an array of CrontaskParamInfo() object to describe
all the parameters of the crontask.
|
MboRemote |
getParameterValidationMbo(CrontaskInstanceRemote instance)
Default implementation.
|
void |
init()
Invoked by the CronTaskManager when the class is instantiated.
|
void |
stop()
Default implementation for stop().
|
beforeRemoval, getCronTaskHistoryMsg, getCrontaskInstance, getCronTaskLogger, getCronTaskSqlLogger, getDBLastSeed, getEnteredValueVector, getInterval, getIntervalFlag, getLastRunDate, getLastSeed, getParamAsBoolean, getParamAsDate, getParamAsDouble, getParamAsInt, getParamAsString, getParameter, getParameterValidationMbo, getRunasUserInfo, getSleepTime, isOKToRun, isShutdown, setCronTaskHistoryMsg, setCrontaskInstance, setDBLastSeed, setEnteredValueVector, setInterval, setIntervalFlag, setLastRunDate, setLastSeed, setSleepTime, shutdown, start
public void init()
SimpleCronTask
runAsUserInfo
.
Performs a silent login via SecurityService.init
in interface CronTask
init
in class SimpleCronTask
SecurityService.authenticateUser(String, boolean)
public void stop()
SimpleCronTask
stop
in interface CronTask
stop
in class SimpleCronTask
public CrontaskParamInfo[] getParameters() throws MXException, java.rmi.RemoteException
CronTask
getParameters
in interface CronTask
getParameters
in class SimpleCronTask
MXException
java.rmi.RemoteException
CrontaskParamInfo
public void cronAction()
cronAction
in interface CronTask
cronAction
in class SimpleCronTask
SimpleCronTask.cronAction()
public java.lang.String getName()
getName
in class SimpleCronTask
SimpleCronTask.getName()
public MboRemote getParameterValidationMbo(CrontaskInstanceRemote instance) throws MXException, java.rmi.RemoteException
SimpleCronTask
getParameterValidationMbo
in interface CronTask
getParameterValidationMbo
in class SimpleCronTask
MXException
java.rmi.RemoteException
CronTask.getParameterValidationMbo(CrontaskInstanceRemote)