org.apache.droids.helper.factories
Class DroidFactory
java.lang.Object
org.apache.droids.helper.factories.GenericFactory<Droid>
org.apache.droids.helper.factories.DroidFactory
public class DroidFactory
- extends GenericFactory<Droid>
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 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