#include <coherence/util/extractor/ReflectionUpdater.hpp>
Inherited by TypedUpdater, and TypedUpdater< AH::ValueType::BoxedType, C, M, coherence::lang::BoxHandle< AH::ValueType >, OH >.
Local execution of a ReflectionUpdater is dependent upon target class and method having been registered with the SystemClassLoader. For cases where the registration has not been performed or is not possible locally executable C++ updaters may either be custom built, or auto-generated using the TypedUpdater<>.
Method
Public Types | |
| typedef spec::Handle | Handle |
| ReflectionUpdater Handle definition. | |
| typedef spec::View | View |
| ReflectionUpdater View definition. | |
| typedef spec::Holder | Holder |
| ReflectionUpdater Holder definition. | |
Public Member Functions | |
| virtual void | update (Object::Handle hTarget, Object::Holder ohValue) const |
| virtual void | readExternal (PofReader::Handle hIn) |
| virtual void | writeExternal (PofWriter::Handle hOut) const |
| virtual bool | equals (Object::View v) const |
| virtual size32_t | hashCode () const |
|
virtual TypedHandle < const String > | toString () const |
| virtual String::View | getMethodName () const |
| Determine the name of the method that this extractor is configured to invoke. | |
Protected Member Functions | |
| ReflectionUpdater () | |
| Construct an empty ReflectionUpdater (necessary for the PortableObject interface). | |
| ReflectionUpdater (String::View vsMethod) | |
| Construct a ReflectionUpdater for a given method name. | |
| ReflectionUpdater (const ReflectionUpdater &that) | |
| Copy constructor. | |
Protected Attributes | |
| FinalView< String > | f_vsMethod |
| The name of the method to invoke. | |
| MemberView< Method > | m_vMethod |
| The resolved Method. | |
| ReflectionUpdater | ( | String::View | vsMethod | ) | [protected] |
Construct a ReflectionUpdater for a given method name.
This implementation assumes that the corresponding classes will have one and only one method with a specified name and this method will have exactly one parameter.
| virtual String::View getMethodName | ( | ) | const [virtual] |
Determine the name of the method that this extractor is configured to invoke.