org.robokind.api.speech.viseme.osgi
Class VisemeEventNotifierLifecycleProvider

java.lang.Object
  extended by org.robokind.api.common.osgi.lifecycle.AbstractLifecycleProvider<VisemeEventNotifier,VisemeEventNotifier>
      extended by org.robokind.api.speech.viseme.osgi.VisemeEventNotifierLifecycleProvider
All Implemented Interfaces:
ServiceLifecycleProvider<VisemeEventNotifier>

public class VisemeEventNotifierLifecycleProvider
extends AbstractLifecycleProvider<VisemeEventNotifier,VisemeEventNotifier>

Lifecycle provider for a VisemeEventNotifier.

Author:
Matthew Stevenson

Nested Class Summary
 
Nested classes/interfaces inherited from interface org.robokind.api.common.osgi.lifecycle.ServiceLifecycleProvider
ServiceLifecycleProvider.Validator
 
Field Summary
 
Fields inherited from class org.robokind.api.common.osgi.lifecycle.AbstractLifecycleProvider
myRegistrationProperties, myService
 
Constructor Summary
VisemeEventNotifierLifecycleProvider(String speechServiceId)
          Creates a new lifecycle provider for a VisemeEventNotifier which uses the given SpeechService.
 
Method Summary
protected  VisemeEventNotifier create(Map<String,Object> services)
           
 Class<VisemeEventNotifier> getServiceClass()
           
protected  void handleChange(String serviceId, Object service)
           
 
Methods inherited from class org.robokind.api.common.osgi.lifecycle.AbstractLifecycleProvider
dependencyChanged, getDependencyDescriptors, getRegistrationProperties, getService, start
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

VisemeEventNotifierLifecycleProvider

public VisemeEventNotifierLifecycleProvider(String speechServiceId)
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 VisemeEventNotifier create(Map<String,Object> services)
Specified by:
create in class AbstractLifecycleProvider<VisemeEventNotifier,VisemeEventNotifier>

handleChange

protected void handleChange(String serviceId,
                            Object service)
Specified by:
handleChange in class AbstractLifecycleProvider<VisemeEventNotifier,VisemeEventNotifier>

getServiceClass

public Class<VisemeEventNotifier> getServiceClass()


Copyright © 2011-2012. All Rights Reserved.