1 17 package org.apache.geronimo.kernel.basic; 18 19 import org.apache.geronimo.gbean.runtime.RawInvoker; 20 import org.apache.geronimo.gbean.AbstractName; 21 22 25 public final class RawGetAttributeInvoker implements ProxyInvoker { 26 private final RawInvoker rawInvoker; 27 private final int methodIndex; 28 29 public RawGetAttributeInvoker(RawInvoker rawInvoker, int methodIndex) { 30 this.rawInvoker = rawInvoker; 31 this.methodIndex = methodIndex; 32 } 33 34 public Object invoke(final AbstractName abstractName, final Object [] arguments) throws Throwable { 35 return rawInvoker.getAttribute(methodIndex); 36 } 37 } 38 | Popular Tags |