org.apache.hivemind.annotations.internal
Class MethodCallContributionConstructor

java.lang.Object
  extended by org.apache.hivemind.annotations.internal.MethodCallContributionConstructor
All Implemented Interfaces:
org.apache.hivemind.definition.Contribution

public class MethodCallContributionConstructor
extends java.lang.Object
implements org.apache.hivemind.definition.Contribution

Contributes to a configuration point by passing the configuration container to a method defined in an annotated module by use of the Contribution annotation.

Author:
Achim Huegen

Constructor Summary
MethodCallContributionConstructor(org.apache.hivemind.Location location, java.lang.reflect.Method factoryMethod, ModuleInstanceProvider moduleInstanceProvider)
           
 
Method Summary
 void contribute(org.apache.hivemind.definition.ContributionContext context)
           
 org.apache.hivemind.Location getLocation()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MethodCallContributionConstructor

public MethodCallContributionConstructor(org.apache.hivemind.Location location,
                                         java.lang.reflect.Method factoryMethod,
                                         ModuleInstanceProvider moduleInstanceProvider)
Method Detail

getLocation

public org.apache.hivemind.Location getLocation()

contribute

public void contribute(org.apache.hivemind.definition.ContributionContext context)
Specified by:
contribute in interface org.apache.hivemind.definition.Contribution


Copyright © 2006-2007 Apache Software Foundation. All Rights Reserved.