Example usage for Java org.springframework.beans.factory.config MethodInvokingFactoryBean fields, constructors, methods, implement or subclass
The text is from its open source code.
void | afterPropertiesSet() |
Object | getObject() Returns the same value each time if the singleton property is set to "true", otherwise returns the value returned from invoking the specified method on the fly. |
Object | getTargetObject() Return the target object on which to call the target method. |
void | setArguments(Object... arguments) Set arguments for the method invocation. |
void | setStaticMethod(String staticMethod) Set a fully qualified static method name to invoke, e.g. |
void | setTargetClass(@Nullable Class> targetClass) Set the target class on which to call the target method. |
void | setTargetMethod(@Nullable String targetMethod) Set the name of the method to be invoked. |