public class StoppableAdaptorFactory extends java.lang.Object implements AdaptorFactory<Stoppable>
Stoppable
if possible.Constructor and Description |
---|
StoppableAdaptorFactory() |
Modifier and Type | Method and Description |
---|---|
java.util.Optional<Stoppable> |
adapt(java.lang.Object component,
ArooaSession session)
Maybe provide a adaptor for the component.
|
public java.util.Optional<Stoppable> adapt(java.lang.Object component, ArooaSession session)
AdaptorFactory
adapt
in interface AdaptorFactory<Stoppable>
component
- The component that the adapter will be for.session
- The session for descriptor and tools.