org.apache.hivemind.lib.impl
Class DefaultImplementationBuilderImpl

java.lang.Object
  extended by org.apache.hivemind.impl.BaseLocatable
      extended by org.apache.hivemind.lib.impl.DefaultImplementationBuilderImpl
All Implemented Interfaces:
DefaultImplementationBuilder, org.apache.hivemind.Locatable, org.apache.hivemind.LocationHolder

public class DefaultImplementationBuilderImpl
extends org.apache.hivemind.impl.BaseLocatable
implements DefaultImplementationBuilder

Implemenation of DefaultImplementationBuilder.

Author:
Howard Lewis Ship

Constructor Summary
DefaultImplementationBuilderImpl()
           
 
Method Summary
 java.lang.Object buildDefaultImplementation(java.lang.Class interfaceType)
          Builds a default implementation of the indicated interface, instantiates and returns it.
 void setClassFactory(org.apache.hivemind.service.ClassFactory factory)
           
 
Methods inherited from class org.apache.hivemind.impl.BaseLocatable
getLocation, setLocation
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultImplementationBuilderImpl

public DefaultImplementationBuilderImpl()
Method Detail

buildDefaultImplementation

public java.lang.Object buildDefaultImplementation(java.lang.Class interfaceType)
Description copied from interface: DefaultImplementationBuilder
Builds a default implementation of the indicated interface, instantiates and returns it. Results are cached for later re-use.

Specified by:
buildDefaultImplementation in interface DefaultImplementationBuilder

setClassFactory

public void setClassFactory(org.apache.hivemind.service.ClassFactory factory)