Package org.oddjob.framework.adapt
Class StoppableAdaptorFactory
java.lang.Object
org.oddjob.framework.adapt.StoppableAdaptorFactory
- All Implemented Interfaces:
AdaptorFactory<Stoppable>
Adapt a component to an
Stoppable if possible.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionadapt(Object component, ArooaSession session) Maybe provide a adaptor for the component.
-
Constructor Details
-
StoppableAdaptorFactory
public StoppableAdaptorFactory()
-
-
Method Details
-
adapt
Description copied from interface:AdaptorFactoryMaybe provide a adaptor for the component.- Specified by:
adaptin interfaceAdaptorFactory<Stoppable>- Parameters:
component- The component that the adapter will be for.session- The session for descriptor and tools.- Returns:
- Maybe an adapter.
-