|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.avalon.activation.impl.ApplianceInvocationHandler
This makes a dynamic proxy for an object. The object can be represented by one, some or all of it's interfaces.
Constructor Summary | |
protected |
ApplianceInvocationHandler(DefaultAppliance appliance,
Logger logger,
boolean secure)
Create a proxy invocation handler. |
Method Summary | |
protected void |
finalize()
|
Object |
invoke(Object proxy,
Method method,
Object[] args)
Invoke the specified method on underlying object. |
void |
release()
Release the reclaimable object. |
Methods inherited from class java.lang.Object |
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
protected ApplianceInvocationHandler(DefaultAppliance appliance, Logger logger, boolean secure)
appliance
- the runtime appliancelogger
- the assigned logging channelMethod Detail |
public Object invoke(Object proxy, Method method, Object[] args) throws Throwable
invoke
in interface InvocationHandler
proxy
- the proxy objectmethod
- the method invoked on proxy objectargs
- the arguments supplied to method
Throwable
- if an error occurspublic void release()
Reclaimer
release
in interface Reclaimer
protected void finalize() throws Throwable
Throwable
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |