public class OddjobComponentResolver extends Object implements ComponentProxyResolver
The logic here is quite simple:
Constructor and Description |
---|
OddjobComponentResolver() |
Modifier and Type | Method and Description |
---|---|
Object |
resolve(Object component,
ArooaSession session)
Possibly create a proxy for a given component.
|
Object |
restore(Object proxy,
ArooaSession session)
Restore what is possibly a proxy to provide the original component.
|
public Object resolve(Object component, ArooaSession session)
ComponentProxyResolver
resolve
in interface ComponentProxyResolver
component
- The object to possibly proxy.session
- A session.public Object restore(Object proxy, ArooaSession session)
ComponentProxyResolver
restore
in interface ComponentProxyResolver
proxy
- Possbily the proxy.session
- A session.