org.robokind.api.motion.lifecycle
Class RobotMoveHandlerLifecycle

java.lang.Object
  extended by org.robokind.api.common.property.PropertyChangeNotifier
      extended by org.robokind.api.common.lifecycle.AbstractLifecycleProvider<org.jflux.api.core.Listener,RobotMoveHandler>
          extended by org.robokind.api.motion.lifecycle.RobotMoveHandlerLifecycle
All Implemented Interfaces:
org.robokind.api.common.lifecycle.ServiceLifecycleProvider<org.jflux.api.core.Listener>, org.robokind.api.common.property.PropertyChangeSource

public class RobotMoveHandlerLifecycle
extends org.robokind.api.common.lifecycle.AbstractLifecycleProvider<org.jflux.api.core.Listener,RobotMoveHandler>

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.lifecycle.AbstractLifecycleProvider
myRegistrationProperties, myService, myServiceClassNames
 
Fields inherited from interface org.robokind.api.common.lifecycle.ServiceLifecycleProvider
PROP_DEPENDENCY_ADDED, PROP_DEPENDENCY_REMOVED
 
Constructor Summary
RobotMoveHandlerLifecycle(String moveHandlerId, Robot.Id robotId)
           
 
Method Summary
protected  RobotMoveHandler create(Map<String,Object> dependencies)
           
 Class<org.jflux.api.core.Listener> getServiceClass()
           
protected  void handleChange(String name, Object dependency, Map<String,Object> availableDependencies)
           
 
Methods inherited from class org.robokind.api.common.lifecycle.AbstractLifecycleProvider
addRuntimeDependency, dependencyChanged, getDependencyDescriptors, getRegistrationProperties, getService, getServiceClassNames, isSatisfied, removeRuntimeDependency, start, stop
 
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

RobotMoveHandlerLifecycle

public RobotMoveHandlerLifecycle(String moveHandlerId,
                                 Robot.Id robotId)
Method Detail

create

protected RobotMoveHandler create(Map<String,Object> dependencies)
Specified by:
create in class org.robokind.api.common.lifecycle.AbstractLifecycleProvider<org.jflux.api.core.Listener,RobotMoveHandler>

handleChange

protected void handleChange(String name,
                            Object dependency,
                            Map<String,Object> availableDependencies)
Specified by:
handleChange in class org.robokind.api.common.lifecycle.AbstractLifecycleProvider<org.jflux.api.core.Listener,RobotMoveHandler>

getServiceClass

public Class<org.jflux.api.core.Listener> getServiceClass()
Specified by:
getServiceClass in class org.robokind.api.common.lifecycle.AbstractLifecycleProvider<org.jflux.api.core.Listener,RobotMoveHandler>


Copyright © 2011-2013. All Rights Reserved.