org.apache.droids.helper.factories
Class DroidFactory<T extends Task>

java.lang.Object
  extended by org.apache.droids.helper.Loggable
      extended by org.apache.droids.helper.factories.GenericFactory<Droid<T>>
          extended by 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.

Version:
1.0

Field Summary
 
Fields inherited from class org.apache.droids.helper.Loggable
log
 
Constructor Summary
DroidFactory()
           
 
Method Summary
 Droid<T> getDroid(java.lang.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<T> getDroid(java.lang.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 © 2007-2009. All Rights Reserved.