|
|||||||||
| 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.ServiceAgent
com.cometway.ak.RequestAgent
com.cometway.ak.SecureServiceManager
com.cometway.props.PropsListServiceManager
public class PropsListServiceManager
Reference implementation of the ServiceManagerInterface. There's nothing implicitly "secure" about this implementation. This agent will generate HTML detailing its registered directory if service_name is setup (default: /admin/services.agent).
| Nested Class Summary | |
|---|---|
class |
PropsListServiceManager.PropsListServiceManagerImpl
|
| Nested classes/interfaces inherited from class com.cometway.ak.SecureServiceManager |
|---|
SecureServiceManager.SecureServiceManagerImpl |
| Field Summary | |
|---|---|
protected PropsList |
services
|
protected java.util.HashMap |
servicesMap
|
| Fields inherited from class com.cometway.ak.SecureServiceManager |
|---|
sm |
| 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 | |
|---|---|
PropsListServiceManager()
|
|
| Method Summary | |
|---|---|
protected java.util.List |
getServiceList()
Returns a List containing the Props of currently registered services. |
void |
initProps()
Override this method to initialize this agent's properties before it is started. |
void |
start()
Starts the service manager. |
| Methods inherited from class com.cometway.ak.SecureServiceManager |
|---|
getTimeStamp, handleRequest, stop |
| 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 PropsList services
protected java.util.HashMap servicesMap
| Constructor Detail |
|---|
public PropsListServiceManager()
| Method Detail |
|---|
public void initProps()
Agent
initProps in interface AgentInterfaceinitProps in class SecureServiceManagerpublic void start()
start in interface AgentInterfacestart in class SecureServiceManagerprotected java.util.List getServiceList()
getServiceList in class SecureServiceManager
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||