org.apache.droids.helper.factories
Class DroidFactory

Package class diagram package DroidFactory
java.lang.Object
  extended by org.apache.droids.helper.factories.GenericFactory<Droid>
      extended by org.apache.droids.helper.factories.DroidFactory

public class DroidFactory
extends GenericFactory<Droid>

Factory that will lookup a droid by its name and returns it.


Field Summary
 
Fields inherited from class org.apache.droids.helper.factories.GenericFactory
log
 
Constructor Summary
DroidFactory()
           
 
Method Summary
 Droid getDroid(String name)
          Lookup a droid by its name and return it.
 
Methods inherited from class org.apache.droids.helper.factories.GenericFactory
getMap, resolve, setMap
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DroidFactory

public DroidFactory()
Method Detail

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