|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.cometway.props.Props
com.cometway.ak.Agent
com.cometway.ak.ScheduledAgent
com.cometway.xml.ObjectManagerArchiver
public class ObjectManagerArchiver
| Field Summary | |
|---|---|
protected java.lang.String |
EOL
|
protected IObjectManager |
om
|
protected java.lang.Object[] |
synchObject
|
| Fields inherited from class com.cometway.ak.ScheduledAgent |
|---|
schedule |
| Fields inherited from class com.cometway.ak.Agent |
|---|
agent_id, agentController, CREATING_STATE, debugReporter, DESTROYED_STATE, DESTROYING_STATE, errorReporter, FAILED_STATE, printlnReporter, props, RUNNING_STATE, STARTING_STATE, STOPPED_STATE, STOPPING_STATE, warningReporter |
| Constructor Summary | |
|---|---|
ObjectManagerArchiver()
|
|
| Method Summary | |
|---|---|
void |
initProps()
Override this method to provide default properties for subclasses. |
void |
loadArchive()
|
void |
saveArchive()
|
void |
start()
Creates a Schedule as specified by the schedule property and schedules this agent. |
void |
stop()
Unschedules this agent. |
void |
wakeup()
Override this method to handle schedule wakeup notifications. |
| Methods inherited from class com.cometway.ak.ScheduledAgent |
|---|
addScheduleChangeListener, getSchedule, removeScheduleChangeListener, schedule, unschedule |
| Methods inherited from class com.cometway.ak.Agent |
|---|
currentStateEquals, debug, destroy, error, error, getAgentController, getDateTimeStr, getProps, getServiceImpl, getStateMachineModel, println, register, registerService, setAgentController, setProps, toString, unregister, unregisterService, warning, warning |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
protected final java.lang.String EOL
protected final java.lang.Object[] synchObject
protected IObjectManager om
| Constructor Detail |
|---|
public ObjectManagerArchiver()
| Method Detail |
|---|
public void initProps()
ScheduledAgent
initProps in interface AgentInterfaceinitProps in class ScheduledAgentpublic void start()
ScheduledAgent
start in interface AgentInterfacestart in class ScheduledAgentpublic void stop()
ScheduledAgent
stop in interface AgentInterfacestop in class ScheduledAgentpublic void wakeup()
ScheduledAgent
wakeup in interface ISchedulablewakeup in class ScheduledAgentpublic void loadArchive()
public void saveArchive()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||