#include <coherence/lang/ExecutableClass.hpp>
Inherits Object.
Inherited by TypedExecutableClass [virtual]
.
An executable class includes a method compatible with the following signature:
public: static void main(ObjectArray::View vasArg);
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.