org.apache.hivemind.lib.strategy
Class StrategyContribution

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

public class StrategyContribution
extends org.apache.hivemind.impl.BaseLocatable

Provides a mapping of subject class to strategy instance, used by StrategyFactory when building a service.

Since:
1.1
Author:
Howard M. Lewis Ship

Constructor Summary
StrategyContribution()
           
 
Method Summary
 java.lang.Class getRegisterClass()
           
 java.lang.Object getStrategy()
           
 void setRegisterClass(java.lang.Class registerClass)
           
 void setStrategy(java.lang.Object adaptor)
           
 
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

StrategyContribution

public StrategyContribution()
Method Detail

getStrategy

public java.lang.Object getStrategy()

setStrategy

public void setStrategy(java.lang.Object adaptor)

getRegisterClass

public java.lang.Class getRegisterClass()

setRegisterClass

public void setRegisterClass(java.lang.Class registerClass)