org.oddjob.framework
Interface ServiceStrategy

All Known Implementing Classes:
ServiceStrategies

public interface ServiceStrategy

Something that can attempt to adapt a component to a service.

Author:
rob

Method Summary
 ServiceAdaptor serviceFor(Object component, ArooaSession session)
          Attempt to provide an adaptor.
 

Method Detail

serviceFor

ServiceAdaptor serviceFor(Object component,
                          ArooaSession session)
Attempt to provide an adaptor.

Parameters:
component - The component.
sessin - A session that might be useful.
Returns:
The adaptor or null if this strategy can not provide the adaptor.