org.apache.geronimo.gbean.runtime
Class RawInvoker
java.lang.Object
org.apache.geronimo.gbean.runtime.RawInvoker
public final class RawInvoker
- extends Object
The raw invoker provides a raw (fast) access invoke operations, get attribute values, and set
attribute values on a GBean. This class should only be use by GBean proxy generators or carefully
crafted container code, because this class maintains a hard reference to a gbeanInstance which has a huge
potential for memory leaks. USE WITH CAUTION
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RawInvoker
public RawInvoker(GBeanInstance gbean)
getAttributeIndex
public Map getAttributeIndex()
getOperationIndex
public Map getOperationIndex()
getAttribute
public Object getAttribute(int index)
throws Exception
- Throws:
Exception
setAttribute
public void setAttribute(int index,
Object value)
throws Exception
- Throws:
Exception
invoke
public Object invoke(int index,
Object[] args)
throws Exception
- Throws:
Exception
Copyright © 2006 Apache Software Foundation. All Rights Reserved.