Package org.oddjob

Class OddjobComponentResolver

java.lang.Object
org.oddjob.OddjobComponentResolver
All Implemented Interfaces:
ComponentProxyResolver

public class OddjobComponentResolver extends Object implements ComponentProxyResolver
Possibly provide a proxy to use as the component. The proxy will provide State, Icon information etc for simple components.

The logic here is quite simple:

  • If the component is Stateful it is used as is.
  • If the component is Runnable it is proxied.
  • If the component provides a service like interface it is proxied.
  • Otherwise it is used as is.
Author:
Rob Gordon.
  • Constructor Details

    • OddjobComponentResolver

      public OddjobComponentResolver()
  • Method Details