org.almendra.janet.cas.node
Class ApplicationAccessor
java.lang.Object
org.almendra.janet.cas.node.ApplicationAccessor
public class ApplicationAccessor
- extends java.lang.Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
application
protected AbstractApplication application
ApplicationAccessor
public ApplicationAccessor(AbstractApplication application)
- Creates a new
ApplicationAccessor
object.
ApplicationAccessor
protected ApplicationAccessor()
- Creates a new
ApplicationAccessor
object.
getAllAgents
public IAgentProxy getAllAgents(LocalAgentPath localPath)
- Parameters:
localPath
-
- Returns:
getAllAgentsWithCapability
public IAgentProxy getAllAgentsWithCapability(java.lang.String capabilityName,
java.lang.String agentName)
- Parameters:
capabilityName
- agentName
-
- Returns:
getLogger
public Logger getLogger()
- Returns:
getCapabilities
public java.util.Set getCapabilities()
- Returns:
getCapability
public Capability getCapability(java.lang.String capabilityName)
- Parameters:
capabilityName
-
- Returns:
getObjectSpace
public IObjectSpace getObjectSpace()
- Returns:
getName
public java.lang.String getName()
- Returns:
hasCapabilities
public boolean hasCapabilities(java.util.Set capabilities)
- Parameters:
capabilities
-
- Returns:
registeredLogEvents
public java.util.List registeredLogEvents()
- Returns:
getNodeName
public java.lang.String getNodeName()
- Returns:
getAgent
public IAgentProxy getAgent(AgentPath path)
throws NoSuchAgentException,
IllegalAgentAccessException
- Throws:
NoSuchAgentException
IllegalAgentAccessException
getForeignNodeNames
public java.util.List getForeignNodeNames()
- Returns:
getNodeNames
public java.util.List getNodeNames()
- Return a list with all the nodes that have an application with the same name registered
including the owner node of this application.
- Returns:
getNodeAccessor
public NodeAccessor getNodeAccessor()
- Returns:
getLocalAgentPath
public AgentPath getLocalAgentPath(java.lang.String capName,
java.lang.String agentName)
throws NoSuchAgentException
- Parameters:
cap_name
- agent_name
-
- Returns:
-
- Throws:
NoSuchAgentException
getAllNodeNames
public java.util.List getAllNodeNames()
- Returns:
getEventRegistry
public ILocalEventRegistry getEventRegistry()
- Returns:
isSystemApplication
public boolean isSystemApplication()
- Returns:
getCrossAgent
public AgentProxy getCrossAgent(AgentPath path)
throws NoSuchAgentException,
IllegalAgentAccessException,
InsufficientPrivilegeException
- Parameters:
path
-
- Returns:
-
- Throws:
NoSuchAgentException
IllegalAgentAccessException
InsufficientPrivilegeException
getMonitorMask
public java.util.List getMonitorMask()
- Returns:
getMonitorMaskDefaultValues
public java.util.Map getMonitorMaskDefaultValues()
- Returns:
getAllAgentPaths
public java.util.List getAllAgentPaths(LocalAgentPath localPath)
- Parameters:
localPath
-
- Returns: