org.apache.droids.helper.factories
Class DroidFactory<T extends Task>
java.lang.Object
org.apache.droids.helper.factories.GenericFactory<Droid<T>>
org.apache.droids.helper.factories.DroidFactory<T>
public class DroidFactory<T extends Task>
- extends GenericFactory<Droid<T>>
Factory that will lookup a droid by its name and returns it.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DroidFactory
public DroidFactory()
getDroid
public Droid<T> getDroid(String name)
- Lookup a droid by its name and return it.
- Parameters:
name
- the droid we want to use
- Returns:
- the droid registered for the given name
Copyright © 2008 The Apache Software Foundation