Simple method invoker bean: just invoking a target method, not expecting a result
to expose to the container (in contrast to MethodInvokingFactoryBean).
This invoker supports any kind of target method. A static method may be specified
by setting the targetMethod property to a String representing
the static method name, with targetClass specifying the Class
that the static method is defined on. Alternatively, a target instance method may be
specified, by setting the targetObject property as the target
object, and the targetMethod property as the name of the
method to call on that target object. Arguments for the method invocation may be
specified by setting the arguments property.
This class depends on afterPropertiesSet() being called once
all properties have been set, as per the InitializingBean contract.
An example (in an XML based bean factory definition) of a bean definition
which uses this class to call a static initialization method: