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 RawSetAttributeInvoker implements ProxyInvoker { 26 private final RawInvoker rawInvoker; 27 private final int methodIndex; 28 29 public RawSetAttributeInvoker(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 rawInvoker.setAttribute(methodIndex, arguments[0]); 36 return null; 37 } 38 } 39 | Popular Tags |