org.apache.hivemind.service.impl
Class AutowiringStrategyContribution

java.lang.Object
  extended by org.apache.hivemind.service.impl.AutowiringStrategyContribution
All Implemented Interfaces:
Orderable

public class AutowiringStrategyContribution
extends java.lang.Object
implements Orderable

Contribution to the org.apache.hivemind.service.Autowiring configuration extension point; used to provide a AutowiringStrategy implementation and advice on ordering the service.

Author:
Achim Huegen

Constructor Summary
AutowiringStrategyContribution()
           
AutowiringStrategyContribution(AutowiringStrategy strategy, java.lang.String name, java.lang.String precedingNames, java.lang.String followingNames)
           
 
Method Summary
 java.lang.String getFollowingNames()
          Returns a comma-seperated list of the names of other items.
 java.lang.String getName()
          Returns the name of the item, which is used to establish sort order.
 java.lang.String getPrecedingNames()
          As Orderable.getFollowingNames(), but the identified items will precede this item.
 AutowiringStrategy getStrategy()
           
 void setFollowingNames(java.lang.String string)
           
 void setName(java.lang.String string)
           
 void setPrecedingNames(java.lang.String string)
           
 void setStrategy(AutowiringStrategy strategy)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AutowiringStrategyContribution

public AutowiringStrategyContribution()

AutowiringStrategyContribution

public AutowiringStrategyContribution(AutowiringStrategy strategy,
                                      java.lang.String name,
                                      java.lang.String precedingNames,
                                      java.lang.String followingNames)
Method Detail

getStrategy

public AutowiringStrategy getStrategy()

setStrategy

public void setStrategy(AutowiringStrategy strategy)

getFollowingNames

public java.lang.String getFollowingNames()
Description copied from interface: Orderable
Returns a comma-seperated list of the names of other items. This item will precede all such items. The special value * indicates that the item should precede all items.

Specified by:
getFollowingNames in interface Orderable
Returns:
the list, the value *, or null

getName

public java.lang.String getName()
Description copied from interface: Orderable
Returns the name of the item, which is used to establish sort order.

Specified by:
getName in interface Orderable

getPrecedingNames

public java.lang.String getPrecedingNames()
Description copied from interface: Orderable
As Orderable.getFollowingNames(), but the identified items will precede this item.

Specified by:
getPrecedingNames in interface Orderable

setFollowingNames

public void setFollowingNames(java.lang.String string)

setName

public void setName(java.lang.String string)

setPrecedingNames

public void setPrecedingNames(java.lang.String string)


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