java.lang.Object
org.apache.geronimo.gbean.runtime.RawInvoker
- public final class RawInvoker
- extends java.lang.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
- Version:
- $Rev: 106610 $ $Date: 2004-11-25 13:40:42 -0800 (Thu, 25 Nov 2004) $
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
gbeanInstance
private final GBeanInstance gbeanInstance
attributeIndex
private final java.util.Map attributeIndex
operationIndex
private final java.util.Map operationIndex
RawInvoker
public RawInvoker(GBeanInstance gbean)
getAttributeIndex
public java.util.Map getAttributeIndex()
getOperationIndex
public java.util.Map getOperationIndex()
getAttribute
public java.lang.Object getAttribute(int index)
throws java.lang.Exception
setAttribute
public void setAttribute(int index,
java.lang.Object value)
throws java.lang.Exception
invoke
public java.lang.Object invoke(int index,
java.lang.Object[] args)
throws java.lang.Exception