jason.core
Class ServiceWorkingDirectoryManager

java.lang.Object
  |
  +--jason.core.ServiceWorkingDirectoryManager
All Implemented Interfaces:
ServiceContainerDataModelListener

public class ServiceWorkingDirectoryManager
extends java.lang.Object
implements ServiceContainerDataModelListener

Here a manager for each service working directory. Note that this service is a ServiceContainerDataModelListener. It is responsable for creating a convenient directory tied with each service. So it is dangerous to add a started service on the ServiceContainerDataModel because the service could work without the availability of its working path !


Constructor Summary
ServiceWorkingDirectoryManager()
           
 
Method Summary
 void notifyAddServiceContainer(ServiceContainer sc)
          notify the listener for a new ServiceContainer
 void notifyRemoveServiceContainer(ServiceContainer sc)
          Notify the listener for removing a ServiceContainer
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ServiceWorkingDirectoryManager

public ServiceWorkingDirectoryManager()
Method Detail

notifyAddServiceContainer

public void notifyAddServiceContainer(ServiceContainer sc)
Description copied from interface: ServiceContainerDataModelListener
notify the listener for a new ServiceContainer

Specified by:
notifyAddServiceContainer in interface ServiceContainerDataModelListener

notifyRemoveServiceContainer

public void notifyRemoveServiceContainer(ServiceContainer sc)
Notify the listener for removing a ServiceContainer

Specified by:
notifyRemoveServiceContainer in interface ServiceContainerDataModelListener