org.apache.geronimo.gbean.runtime
Class RawInvoker

java.lang.Object
  extended by 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


Constructor Summary
RawInvoker(GBeanInstance gbean)
           
 
Method Summary
 Object getAttribute(int index)
           
 Map getAttributeIndex()
           
 Map getOperationIndex()
           
 Object invoke(int index, Object[] args)
           
 void setAttribute(int index, Object value)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RawInvoker

public RawInvoker(GBeanInstance gbean)
Method Detail

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.