org.robokind.api.motion.lifecycle
Class RobotJointGroupLifecycle<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<JointGroup,RobotJointGroupConfig,P>
              extended by org.robokind.api.motion.lifecycle.RobotJointGroupLifecycle<P>
All Implemented Interfaces:
org.robokind.api.common.lifecycle.ServiceLifecycleProvider<JointGroup>, org.robokind.api.common.property.PropertyChangeSource

public class RobotJointGroupLifecycle<P>
extends org.robokind.api.common.osgi.lifecycle.ConfiguredServiceLifecycle<JointGroup,RobotJointGroupConfig,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
RobotJointGroupLifecycle(Robot.Id robotId, Class<P> paramClass, String paramId, org.robokind.api.common.config.VersionProperty configFormat)
           
 
Method Summary
protected  JointGroup create(Map<String,Object> dependencies)
           
protected  void handleChange(String name, Object dependency, Map<String,Object> availableDependencies)
           
 
Methods inherited from class org.robokind.api.common.osgi.lifecycle.ConfiguredServiceLifecycle
cleanupService, getService, getServiceClass, 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

RobotJointGroupLifecycle

public RobotJointGroupLifecycle(Robot.Id robotId,
                                Class<P> paramClass,
                                String paramId,
                                org.robokind.api.common.config.VersionProperty configFormat)
Method Detail

create

protected JointGroup create(Map<String,Object> dependencies)
Overrides:
create in class org.robokind.api.common.osgi.lifecycle.ConfiguredServiceLifecycle<JointGroup,RobotJointGroupConfig,P>

handleChange

protected void handleChange(String name,
                            Object dependency,
                            Map<String,Object> availableDependencies)
Overrides:
handleChange in class org.robokind.api.common.osgi.lifecycle.ConfiguredServiceLifecycle<JointGroup,RobotJointGroupConfig,P>


Copyright © 2011-2013. All Rights Reserved.