T
- The type of the adaptor.public interface AdaptorFactory<T>
Modifier and Type | Method and Description |
---|---|
java.util.Optional<T> |
adapt(java.lang.Object component,
ArooaSession session)
Maybe provide a adaptor for the component.
|
java.util.Optional<T> adapt(java.lang.Object component, ArooaSession session)
component
- The component that the adapter will be for.session
- The session for descriptor and tools.