Interface ServiceAdaptor
- All Superinterfaces:
ComponentAdapter,FallibleComponent,Service,Stoppable
- All Known Implementing Classes:
ServiceMethodAdaptor
Something that adapts a component to be a
Service.- Author:
- rob
-
Method Summary
Methods inherited from interface org.oddjob.framework.adapt.ComponentAdapter
getComponentMethods inherited from interface org.oddjob.framework.FallibleComponent
acceptExceptionListener
-
Method Details
-
asAsync
Optional<AsyncService> asAsync()Possibly create anAsyncJob.- Returns:
- Possibly an AsyncJob.
-