All Packages  Class Hierarchy  This Package  Previous  Next  Index

Interface uhr.core.attract.ServiceSource

public interface ServiceSource
This allows a service to be satisfied anytime. This is useful for deferred needs.


Method Index

 o satisfyNeed(ServiceNeed, boolean)
Finds and returns the service to satisfy the need.

Methods

 o satisfyNeed
 public abstract Object satisfyNeed(ServiceNeed need,
                                    boolean isNeededNow)
Finds and returns the service to satisfy the need.

Parameters:
need - describes the service needed.
isNeededNow - true to ignore ServiceNeed.isDeferred() or false to honor ServiceNeed.isDeferred().
Returns:
the best available service or null if none available.

All Packages  Class Hierarchy  This Package  Previous  Next  Index