org.robokind.api.motion.servos.utils
Class ServoRobotLifecycle<P>

java.lang.Object
  extended by org.robokind.api.common.property.PropertyChangeNotifier
      extended by org.robokind.api.common.lifecycle.AbstractLifecycleProvider<T,T>
          extended by org.robokind.api.common.osgi.lifecycle.ConfiguredServiceLifecycle<Robot,ServoRobotConfig,P>
              extended by org.robokind.api.motion.servos.utils.ServoRobotLifecycle<P>
All Implemented Interfaces:
org.robokind.api.common.lifecycle.ServiceLifecycleProvider<Robot>, org.robokind.api.common.property.PropertyChangeSource

public class ServoRobotLifecycle<P>
extends org.robokind.api.common.osgi.lifecycle.ConfiguredServiceLifecycle<Robot,ServoRobotConfig,P>

Author:
Matthew Stevenson

Nested Class Summary
 
Nested classes/interfaces inherited from interface org.robokind.api.common.lifecycle.ServiceLifecycleProvider
org.robokind.api.common.lifecycle.ServiceLifecycleProvider.Validator
 
Field Summary
 
Fields inherited from class org.robokind.api.common.osgi.lifecycle.ConfiguredServiceLifecycle
myServiceContext
 
Fields inherited from class org.robokind.api.common.lifecycle.AbstractLifecycleProvider
myRegistrationProperties, myService, myServiceClassNames
 
Fields inherited from interface org.robokind.api.common.lifecycle.ServiceLifecycleProvider
PROP_DEPENDENCY_ADDED, PROP_DEPENDENCY_REMOVED
 
Constructor Summary
ServoRobotLifecycle(org.robokind.api.common.osgi.lifecycle.ConfiguredServiceParams<Robot,ServoRobotConfig,P> params, org.robokind.api.common.lifecycle.utils.ManagedServiceFactory mangedServiceFactory)
           
 
Method Summary
protected  void cleanupService(Robot service)
           
protected  Robot create(Map dependencies)
           
 
Methods inherited from class org.robokind.api.common.osgi.lifecycle.ConfiguredServiceLifecycle
getService, getServiceClass, handleChange, stop
 
Methods inherited from class org.robokind.api.common.lifecycle.AbstractLifecycleProvider
addRuntimeDependency, dependencyChanged, getDependencyDescriptors, getRegistrationProperties, getServiceClassNames, isSatisfied, removeRuntimeDependency, start
 
Methods inherited from class org.robokind.api.common.property.PropertyChangeNotifier
addPropertyChangeListener, addPropertyChangeListener, clearAllListeners, clearListeners, fireIndexedPropertyChange, fireIndexedPropertyChange, fireIndexedPropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getPropertyChangeListeners, getPropertyChangeListeners, hasListeners, removePropertyChangeListener, removePropertyChangeListener
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.robokind.api.common.property.PropertyChangeSource
addPropertyChangeListener, addPropertyChangeListener, removePropertyChangeListener, removePropertyChangeListener
 

Constructor Detail

ServoRobotLifecycle

public ServoRobotLifecycle(org.robokind.api.common.osgi.lifecycle.ConfiguredServiceParams<Robot,ServoRobotConfig,P> params,
                           org.robokind.api.common.lifecycle.utils.ManagedServiceFactory mangedServiceFactory)
Method Detail

create

protected Robot create(Map dependencies)
Overrides:
create in class org.robokind.api.common.osgi.lifecycle.ConfiguredServiceLifecycle<Robot,ServoRobotConfig,P>

cleanupService

protected void cleanupService(Robot service)
Overrides:
cleanupService in class org.robokind.api.common.osgi.lifecycle.ConfiguredServiceLifecycle<Robot,ServoRobotConfig,P>


Copyright © 2011-2013. All Rights Reserved.