Class AnnotationAsyncAdaptor

java.lang.Object
org.oddjob.framework.adapt.async.AnnotationAsyncAdaptor
All Implemented Interfaces:
AdaptorFactory<AsyncJob>

public class AnnotationAsyncAdaptor extends Object implements AdaptorFactory<AsyncJob>
Helps to find (or not) the Async Annotations.
Author:
Rob
  • Constructor Details

    • AnnotationAsyncAdaptor

      public AnnotationAsyncAdaptor(Runnable run)
  • Method Details

    • adapt

      public Optional<AsyncJob> adapt(Object component, ArooaSession session)
      Description copied from interface: AdaptorFactory
      Maybe provide a adaptor for the component.
      Specified by:
      adapt in interface AdaptorFactory<AsyncJob>
      Parameters:
      component - The component that the adapter will be for.
      session - The session for descriptor and tools.
      Returns:
      Maybe an adapter.