/** * Adds a Supplier for a wire or producer proxy. * * @param name the reference or producer name * @param type the interface type implemented by the proxy * @param supplier the Supplier */ public void attach(String name, Class<?> type, Supplier supplier) { parent.add(name, type, supplier); }
/** * Removes a Supplier for a wire or producer proxy * * @param name the reference or producer name */ public void detach(String name) { parent.remove(name); }
@Override public Object getBean(String name, Object... args) throws BeansException { // proxies never take arguments return getBean(name); }
public SpringInvoker(String beanName, Method beanMethod, SpringComponent component) { this.beanName = beanName; this.beanMethod = beanMethod; this.component = component; targetTCCLClassLoader = component.getClassLoader(); }
public void add(String name, Class<?> type, Supplier supplier) { beanFactory.add(name, type, supplier); }
public Supplier remove(String name) { return beanFactory.remove(name); }
public SpringInvoker(String beanName, Method beanMethod, SpringComponent component) { this.beanName = beanName; this.beanMethod = beanMethod; this.component = component; targetTCCLClassLoader = component.getClassLoader(); }
/** * Adds a Supplier for a wire or producer proxy. * * @param name the reference or producer name * @param type the interface type implemented by the proxy * @param supplier the Supplier */ public void attach(String name, Class<?> type, Supplier supplier) { parent.add(name, type, supplier); }
/** * Removes an object factory for a wire or producer proxy * * @param name the reference or producer name */ public void detach(String name) { parent.remove(name); }
public Object getBean(String name, Object... args) throws BeansException { // proxies never take arguments return getBean(name); }
public void add(String name, Class<?> type, ObjectFactory factory) { beanFactory.add(name, type, factory); }
public ObjectFactory remove(String name) { return beanFactory.remove(name); }
public SpringInvoker(String beanName, Method beanMethod, SpringComponent component) { this.beanName = beanName; this.beanMethod = beanMethod; this.component = component; targetTCCLClassLoader = component.getClassLoader(); }
/** * Adds an object factory for a wire or producer proxy. * * @param name the reference or producer name * @param type the interface type implemented by the proxy * @param factory the object factory */ public void attach(String name, Class<?> type, ObjectFactory factory) { parent.add(name, type, factory); }
/** * Removes a Supplier for a wire or producer proxy * * @param name the reference or producer name */ public void detach(String name) { parent.remove(name); }
public Object getBean(String name, Object... args) throws BeansException { // proxies never take arguments return getBean(name); }
public void add(String name, Class<?> type, Supplier supplier) { beanFactory.add(name, type, supplier); }
public Supplier remove(String name) { return beanFactory.remove(name); }
/** * Constructor. * * @param beanName the name of the bean events are dispatched to * @param methodName the name of the bean method events are dispatched to * @param type the event type * @param component the target component */ public SpringEventStreamHandler(String beanName, String methodName, JavaType type, SpringComponent component) { this.beanName = beanName; this.consumerName = methodName; this.type = type; this.component = component; targetTCCLClassLoader = component.getClassLoader(); }
/** * Constructor. * * @param beanName the name of the bean events are dispatched to * @param methodName the name of the bean method events are dispatched to * @param type the event type * @param component the target component */ public SpringEventStreamHandler(String beanName, String methodName, JavaType type, SpringComponent component) { this.beanName = beanName; this.consumerName = methodName; this.type = type; this.component = component; targetTCCLClassLoader = component.getClassLoader(); }