org.duracloud.services.script
Class ScriptService
java.lang.Object
org.duracloud.services.BaseService
org.duracloud.services.script.ScriptService
- All Implemented Interfaces:
- ComputeService, org.osgi.service.cm.ManagedService
- Direct Known Subclasses:
- ImageMagickService
public class ScriptService
- extends BaseService
- implements ComputeService, org.osgi.service.cm.ManagedService
Service which handles the calling of OS-dependent scripts in order
to deploy and undeploy utilities within the DuraCloud service environment
- Author:
- Bill Branan
Date: Dec 11, 2009
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ScriptService
public ScriptService()
start
public void start()
throws java.lang.Exception
- Specified by:
start
in interface ComputeService
- Overrides:
start
in class BaseService
- Throws:
java.lang.Exception
stop
public void stop()
throws java.lang.Exception
- Specified by:
stop
in interface ComputeService
- Overrides:
stop
in class BaseService
- Throws:
java.lang.Exception
determineOS
public ScriptService.OS determineOS()
getServiceProps
public java.util.Map<java.lang.String,java.lang.String> getServiceProps()
- Specified by:
getServiceProps
in interface ComputeService
- Overrides:
getServiceProps
in class BaseService
updated
public void updated(java.util.Dictionary config)
throws org.osgi.service.cm.ConfigurationException
- Specified by:
updated
in interface org.osgi.service.cm.ManagedService
- Throws:
org.osgi.service.cm.ConfigurationException
Copyright © 2009-2011 DuraSpace. All Rights Reserved.