org.robokind.api.speech.viseme.lifecycle
Class VisemeBindingManagerLifecycle

java.lang.Object
  extended by org.robokind.api.common.property.PropertyChangeNotifier
      extended by org.robokind.api.common.lifecycle.AbstractLifecycleProvider<VisemeBindingManager,VisemeBindingManager>
          extended by org.robokind.api.speech.viseme.lifecycle.VisemeBindingManagerLifecycle
All Implemented Interfaces:
org.robokind.api.common.lifecycle.ServiceLifecycleProvider<VisemeBindingManager>, org.robokind.api.common.property.PropertyChangeSource

public class VisemeBindingManagerLifecycle
extends org.robokind.api.common.lifecycle.AbstractLifecycleProvider<VisemeBindingManager,VisemeBindingManager>

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
VisemeBindingManagerLifecycle(Properties registrationProps)
          Creates a new lifecycle provider for a VisemeEventNotifier which uses the given SpeechService.
 
Method Summary
protected  VisemeBindingManager create(Map<String,Object> services)
           
 Class<VisemeBindingManager> getServiceClass()
           
protected  void handleChange(String serviceId, Object service, Map<String,Object> dependencies)
           
 
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

VisemeBindingManagerLifecycle

public VisemeBindingManagerLifecycle(Properties registrationProps)
Creates a new lifecycle provider for a VisemeEventNotifier which uses the given SpeechService.

Parameters:
speechServiceId - SpeechService for the VisemeEventNotifier to use
Method Detail

create

protected VisemeBindingManager create(Map<String,Object> services)
Specified by:
create in class org.robokind.api.common.lifecycle.AbstractLifecycleProvider<VisemeBindingManager,VisemeBindingManager>

handleChange

protected void handleChange(String serviceId,
                            Object service,
                            Map<String,Object> dependencies)
Specified by:
handleChange in class org.robokind.api.common.lifecycle.AbstractLifecycleProvider<VisemeBindingManager,VisemeBindingManager>

getServiceClass

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


Copyright © 2011-2013. All Rights Reserved.