org.almendra.janet.cas.node
Class Application
java.lang.Object
org.almendra.janet.cas.node.AbstractApplication
org.almendra.janet.cas.node.Application
- All Implemented Interfaces:
- INamedObject, ILoggable, IObjectSpaceProvider
public class Application
- extends AbstractApplication
- Author:
- Oliver
To change the template for this generated type comment go to Window -
Preferences - Java - Code Generation - Code and Comments
Methods inherited from class org.almendra.janet.cas.node.AbstractApplication |
addCapabilities, addCapability, addExportedEventDescriptors, checkValidity, getAccessor, getAgent, getAgent, getAgentCount, getAgentDispatcher, getAgentDispatcher, getAgentPaths, getAgentPaths, getAllAgentPaths, getAllAgentPaths, getAllAgentPaths, getAllAgents, getAllAgentsWithCapability, getAllCrossAgentPaths, getAllCrossAgents, getAllCrossAgents, getAllForeignAgentPaths, getAllForeignAgents, getAllForeignNodeNames, getAllForeignNodeNamesWithCentral, getAllLocalAgentNames, getAllNodeNames, getAllNodeNamesWithCapability, getAllQualifiedAgentNames, getCapabilities, getCapability, getCrossAgent, getEventRegistry, getExportedEvents, getForeignNodeNames, getLocalAgent, getLocalAgentPath, getLogger, getMonitorMask, getMonitorMaskDefaultValues, getName, getNameDescriptor, getNode, getNodeEventRegistryEnvelope, getNodeLabel, getNodeName, getNodeNames, getNodeObjectSpace, getNumberOfSchedulers, getObjectSpace, getSystemAgentPath, hasAgent, hasAgent, hasCapabilities, hasCapability, hasCapability, hasForeignAgents, isStarted, isSystemApplication, primRegisterEvents, primStartInitialCommands, primStop, registeredLogEvents, setAndInitLogger, setName, setNode, setStarted, start, stop, toForeignDescriptor, toTreeDescriptor |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
numOfCreatedAgents
protected int numOfCreatedAgents
numOfCreatedSchedulers
protected int numOfCreatedSchedulers
isPropagated
protected boolean isPropagated
Application
public Application()
Application
public Application(java.lang.String name)
Application
public Application(Logger logger,
Node node,
java.lang.String name)
- Parameters:
logger
- node
- name
-
isPropagated
public boolean isPropagated()
- Returns:
- Returns the isPropagated.
setPropagated
public void setPropagated(boolean isPropagated)
- Parameters:
isPropagated
- The isPropagated to set.
getNumOfCreatedAgents
public int getNumOfCreatedAgents()
- Returns:
- Returns the numOfCreatedAgents.
getNumOfCreatedSchedulers
public int getNumOfCreatedSchedulers()
- Returns:
- Returns the numOfCreatedSchedulers.
primStart
protected void primStart()
- Start all the agents of the capability. If an agent shares its schedulerAnchor
with other agents, the schedulerAnchor is only created once for all these
agents sharing it.
- Overrides:
primStart
in class AbstractApplication