Uses of Class
jade.core.ServiceException
-
Packages that use ServiceException Package Description jade.core This package contains the microkernel of JADE system.jade.core.event jade.core.faultRecovery jade.core.management jade.core.messaging jade.core.mobility jade.core.nodeMonitoring jade.core.replication jade.core.resource jade.core.sam jade.imtp.leap jade.imtp.leap.nio jade.imtp.rmi -
-
Uses of ServiceException in jade.core
Subclasses of ServiceException in jade.core Modifier and Type Class Description classServiceNotActiveExceptionThis exception is thrown when trying to access a JADE kernel level service that is not installed in the local node.Methods in jade.core that throw ServiceException Modifier and Type Method Description voidServiceManager. activateService(ServiceDescriptor desc)Activates a new service on the local agent container.voidServiceManagerImpl. activateService(ServiceDescriptor desc)StringPlatformManager. addNode(NodeDescriptor dsc, Vector nodeServices, boolean propagated)StringPlatformManagerImpl. addNode(NodeDescriptor dsc, Vector nodeServices, boolean propagated)voidServiceManager. addNode(NodeDescriptor desc, ServiceDescriptor[] services)Adds a new node to the distributed platform.voidServiceManagerImpl. addNode(NodeDescriptor desc, ServiceDescriptor[] services)voidPlatformManager. addReplica(String newAddr, boolean propagated)voidPlatformManagerImpl. addReplica(String newAddr, boolean propagated)voidPlatformManager. addSlice(ServiceDescriptor service, NodeDescriptor dsc, boolean propagated)voidPlatformManagerImpl. addSlice(ServiceDescriptor service, NodeDescriptor dsc, boolean propagated)voidBaseService. boot(Profile p)voidService. boot(Profile p)Performs the active initialization step of a kernel-level service.voidBaseService. broadcast(HorizontalCommand cmd, boolean includeMyself)voidServiceManager. deactivateService(String name)Deactivates a service on the local container.voidServiceManagerImpl. deactivateService(String name)VectorPlatformManager. findAllSlices(String serviceKey)VectorPlatformManagerImpl. findAllSlices(String serviceKey)Service.Slice[]ServiceFinder. findAllSlices(String serviceKey)Retrieves all the slices of a service currently active on this platform.Service.Slice[]ServiceManagerImpl. findAllSlices(String serviceKey)ServiceServiceFinder. findService(String key)Looks up a platform service by name.ServiceServiceManagerImpl. findService(String key)Service.SlicePlatformManager. findSlice(String serviceKey, String sliceKey)Service.SlicePlatformManagerImpl. findSlice(String serviceKey, String sliceKey)Service.SliceServiceFinder. findSlice(String serviceKey, String sliceKey)Looks up a specific service slice by name.Service.SliceServiceManagerImpl. findSlice(String serviceKey, String sliceKey)Service.Slice[]BaseService. getAllSlices()ThegetAllSlices()implementation of this class directly retrieves the current list of slices from the Service Manager.Service.Slice[]Service. getAllSlices()Retrieve the whole array of slices that compose this service.protected Service.SliceBaseService. getFreshSlice(String name)ServiceHelperAgent. getHelper(String serviceName)Retrieves the agent's service helperServiceHelperBaseService. getHelper(Agent a)This should be properly implemented by the services that have helpers.ServiceHelperService. getHelper(Agent a)Get the helper for accessing this service.NodeService.Slice. getNode()Access the node where this slice resides.NodeSliceProxy. getNode()Service.SliceBaseService. getSlice(String name)ThegetSlice()implementation of this class works as follows: First, the name alias table is used to convert the given slice name into another name, if any Then, the new name (which may or may not be different from the original one) is used to look up an internal table keeping the service slices If no slice was found, theServiceFinderis asked to provide the slice, which is then put into the local table.Service.SliceService. getSlice(String name)Retrieve by name a slice of this service.protected ObjectFEService. invoke(String actor, String methodName, Object[] methodParams)Subclasses can use this method to forward a front-end side invocation of a service helper method to the back-end.voidPlatformManager. removeNode(NodeDescriptor dsc, boolean propagated)voidPlatformManagerImpl. removeNode(NodeDescriptor dsc, boolean propagated)voidServiceManager. removeNode(NodeDescriptor desc)Removes a node from the distributed platform.voidServiceManagerImpl. removeNode(NodeDescriptor desc)voidPlatformManager. removeReplica(String address, boolean propagated)voidPlatformManagerImpl. removeReplica(String address, boolean propagated)voidPlatformManager. removeSlice(String serviceKey, String sliceKey, boolean propagated)voidPlatformManagerImpl. removeSlice(String serviceKey, String sliceKey, boolean propagated)ObjectBaseNode. serveHorizontalCommand(HorizontalCommand cmd)Provides an IMTP independent implementation for the horizontal command serving mechanism.ObjectBackEnd. serviceInvokation(String actor, String serviceName, String methodName, Object[] methodParams)Pass a service helper method invocation request to the BackEndObjectBackEndContainer. serviceInvokation(String actor, String serviceName, String methodName, Object[] methodParams)protected voidBackEndContainer. startNode()ObjectBaseService. submit(VerticalCommand cmd)ObjectService. submit(VerticalCommand cmd)Allows submitting a vertical command for processing. -
Uses of ServiceException in jade.core.event
Methods in jade.core.event that throw ServiceException Modifier and Type Method Description ServiceHelperNotificationService. getHelper(Agent a) -
Uses of ServiceException in jade.core.faultRecovery
Methods in jade.core.faultRecovery that throw ServiceException Modifier and Type Method Description voidFaultRecoveryService. boot(Profile p)ServiceHelperFaultRecoveryService. getHelper(Agent a)voidFaultRecoveryHelper. reattach() -
Uses of ServiceException in jade.core.management
Methods in jade.core.management that throw ServiceException Modifier and Type Method Description protected Service.SliceAgentManagementService. getFreshSlice(String name) -
Uses of ServiceException in jade.core.messaging
Methods in jade.core.messaging that throw ServiceException Modifier and Type Method Description voidMessagingProxy. addRoute(MTPDescriptor mtp, String sliceName)voidMessagingSlice. addRoute(MTPDescriptor mtp, String sliceName)voidMessagingService. boot(Profile myProfile)Performs the active initialization step of a kernel-level service: Activates the ACL codecs and MTPs as specified in the givenProfileinstance.voidMomMessagingService. boot(Profile myProfile)voidPersistentDeliveryService. boot(Profile myProfile)Activate the PersistentDeliveryManager and instantiate the PersistentDeliveryFilter.voidTopicManagementService. boot(Profile p)voidMessagingHelper. createAlias(String alias)Create a new alias of the agent associated to this helpervoidMessagingProxy. deadMTP(MTPDescriptor mtp, ContainerID cid)voidMessagingSlice. deadMTP(MTPDescriptor mtp, ContainerID cid)voidMessagingHelper. deleteAlias(String alias)Delete an alias of the agent associated to this helperprotected voidMessagingService. deliverInLocalPlatfrom(GenericMessage msg, AID receiverID)protected voidMomMessagingService. deliverInLocalPlatfrom(GenericMessage msg, AID receiverID)voidTopicManagementHelper. deregister(AID topic)De-register the agent associated to this helper from a given topicvoidTopicManagementHelper. deregister(AID aid, AID topic)De-register a given AID from a given topicvoidMessagingHelper. deregisterAliasListener(MessagingHelper.AliasListener l)De-register a listener previously registered to be notified about alias creation/deletion.protected Service.SliceLightMessagingService. getFreshSlice(String name)protected Service.SliceMessagingService. getFreshSlice(String name)ServiceHelperMessagingService. getHelper(Agent a)ServiceHelperTopicManagementService. getHelper(Agent a)Return the TopicManagementHelper for a given agentMTPDescriptorMessagingProxy. installMTP(String address, String className)MTPDescriptorMessagingSlice. installMTP(String address, String className)voidMessagingProxy. newMTP(MTPDescriptor mtp, ContainerID cid)voidMessagingSlice. newMTP(MTPDescriptor mtp, ContainerID cid)voidTopicManagementHelper. register(AID topic)Register the agent associated to this helper to a given topicvoidTopicManagementHelper. register(AID aid, AID topic)Register a given AID to a given topic.voidMessagingHelper. registerAliasListener(MessagingHelper.AliasListener l)Register a listener that will be notified about alias creation/deletion.voidMessagingProxy. removeRoute(MTPDescriptor mtp, String sliceName)voidMessagingSlice. removeRoute(MTPDescriptor mtp, String sliceName)voidMessagingProxy. uninstallMTP(String address)voidMessagingSlice. uninstallMTP(String address) -
Uses of ServiceException in jade.core.mobility
Methods in jade.core.mobility that throw ServiceException Modifier and Type Method Description voidAgentMobilityService. boot(Profile myProfile)voidAgentMobilityProxy. createAgent(AID agentID, byte[] serializedInstance, String classSiteName, boolean isCloned, boolean startIt)voidAgentMobilitySlice. createAgent(AID agentID, byte[] serializedInstance, String classSiteName, boolean isCloned, boolean startIt)ClassLoaderAgentMobilityHelper. getContainerClassLoader(String containerName, ClassLoader parent)protected Service.SliceAgentMobilityService. getFreshSlice(String name) -
Uses of ServiceException in jade.core.nodeMonitoring
Methods in jade.core.nodeMonitoring that throw ServiceException Modifier and Type Method Description voidUDPNodeMonitoringProxy. activateUDP(String label, String host, int port, int pingDelay, long key)voidUDPNodeMonitoringSlice. activateUDP(String label, String host, int port, int pingDelay, long key) -
Uses of ServiceException in jade.core.replication
Methods in jade.core.replication that throw ServiceException Modifier and Type Method Description voidAddressNotificationService. boot(Profile p)voidAgentReplicationService. boot(Profile p)voidMainReplicationService. boot(Profile p)voidAgentReplicationHelper. createReplica(String replicaName, Location where)Create a new replica of a previously defined virtual agent.ServiceHelperAgentReplicationService. getHelper(Agent a)Return the AgentReplicationHelper for a given agentvoidAgentReplicationProxy. invokeAgentMethod(AID aid, String methodName, Object[] arguments)voidAgentReplicationSlice. invokeAgentMethod(AID aid, String methodName, Object[] arguments)AIDAgentReplicationHelper. makeVirtual(String virtualName, int replicationMode)Define a virtual agent and sets the agent that invokes this method as its master replica. -
Uses of ServiceException in jade.core.resource
Methods in jade.core.resource that throw ServiceException Modifier and Type Method Description voidResourceManagementService. boot(Profile p)byte[]ResourceManagementHelper. getResource(String name)Get remote resourcebyte[]ResourceManagementHelper. getResource(String name, int fetchMode)Get remote resourcebyte[]ResourceManagementHelper. getResource(String name, int fetchMode, String containerName)Get remote resourcebyte[]ResourceManagementHelper. getResource(String name, String containerName)Get remote resource -
Uses of ServiceException in jade.core.sam
Methods in jade.core.sam that throw ServiceException Modifier and Type Method Description voidSAMService. boot(Profile p) -
Uses of ServiceException in jade.imtp.leap
Methods in jade.imtp.leap that throw ServiceException Modifier and Type Method Description ObjectBackEndStub. serviceInvokation(String actor, String serviceName, String methodName, Object[] methodParams) -
Uses of ServiceException in jade.imtp.leap.nio
Methods in jade.imtp.leap.nio that throw ServiceException Modifier and Type Method Description voidBEManagementService. boot(Profile p)This method is called by the JADE runtime just after this service has been installed. -
Uses of ServiceException in jade.imtp.rmi
Methods in jade.imtp.rmi that throw ServiceException Modifier and Type Method Description StringServiceManagerRMI. addNode(NodeDescriptor dsc, Vector nodeServices, boolean propagated)voidServiceManagerRMI. addReplica(String newAddr, boolean propagated)voidServiceManagerRMI. addSlice(ServiceDescriptor service, NodeDescriptor dsc, boolean propagated)VectorServiceManagerRMI. findAllSlices(String serviceKey)Service.SliceServiceManagerRMI. findSlice(String serviceKey, String sliceKey)voidServiceManagerRMI. removeNode(NodeDescriptor dsc, boolean propagated)voidServiceManagerRMI. removeReplica(String address, boolean propagated)voidServiceManagerRMI. removeSlice(String serviceKey, String sliceKey, boolean propagated)
-