org.robokind.api.audio.config
Class WavPlayerServiceFactory

java.lang.Object
  extended by org.robokind.api.audio.config.WavPlayerServiceFactory
All Implemented Interfaces:
ServiceFactory<WavPlayer,WavPlayerConfig>

public class WavPlayerServiceFactory
extends Object
implements ServiceFactory<WavPlayer,WavPlayerConfig>

Author:
Matthew Stevenson

Field Summary
 
Fields inherited from interface org.robokind.api.common.services.ServiceFactory
PROP_SERVICE_CLASS, PROP_SERVICE_VERSION
 
Constructor Summary
WavPlayerServiceFactory()
           
 
Method Summary
 WavPlayer build(WavPlayerConfig config)
           
 Class<WavPlayer> getServiceClass()
           
 Class<WavPlayerConfig> getServiceConfigurationClass()
           
 VersionProperty getServiceVersion()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WavPlayerServiceFactory

public WavPlayerServiceFactory()
Method Detail

getServiceVersion

public VersionProperty getServiceVersion()
Specified by:
getServiceVersion in interface ServiceFactory<WavPlayer,WavPlayerConfig>

build

public WavPlayer build(WavPlayerConfig config)
                throws Exception
Specified by:
build in interface ServiceFactory<WavPlayer,WavPlayerConfig>
Throws:
Exception

getServiceClass

public Class<WavPlayer> getServiceClass()
Specified by:
getServiceClass in interface ServiceFactory<WavPlayer,WavPlayerConfig>

getServiceConfigurationClass

public Class<WavPlayerConfig> getServiceConfigurationClass()
Specified by:
getServiceConfigurationClass in interface ServiceFactory<WavPlayer,WavPlayerConfig>


Copyright © 2011-2012. All Rights Reserved.