Oracle Coherence for C++ API
Release 3.7.1.0
E22845-01
#include <coherence/lang/ExecutableClass.hpp>
Inherits Object.
Inherited by TypedExecutableClass [virtual].
Interface specialization for Classes which are executable.
An executable class includes a method compatible with the following signature:
public: static void main(ObjectArray::View vasArg);
The class does not implement this interface, it however must be registered with the SystemClassLoader via COH_REGISTER_EXECUTABLE_CLASS(class).
As of Coherence 3.7.1 it is no longer necessary to register executable classes via this interface. As an alternative the "main" method with the above signature can be registered via any Class implementation and will be resolved via reflection.
Public Types |
|
| typedef spec::Handle | Handle |
| ExecutableClass Handle definition. | |
| typedef spec::View | View |
| ExecutableClass View definition. | |
| typedef spec::Holder | Holder |
| ExecutableClass Holder definition. | |
Public Member Functions |
|
| virtual void | execute (ObjectArray::View vasArg) const =0 |
| Execute the class. | |
| virtual void execute | ( | ObjectArray::View | vasArg | ) | const [pure virtual] |
Execute the class.
| vasArg | the executable argument String array |
Implemented in TypedExecutableClass.
The documentation for this class was generated from the following file: