Oracle Coherence for C++ API
Release 3.6.0.0

E15728-01

ExecutableClass Class Reference

#include <coherence/lang/ExecutableClass.hpp>

Inherits Object.

Inherited by TypedExecutableClass [virtual].

List of all members.


Detailed Description

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).

Author:
mf 2008.10.02

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.

Member Function Documentation

virtual void execute ( ObjectArray::View  vasArg  )  const [pure virtual]

Execute the class.

Parameters:
vasArg the executable argument String array

Implemented in TypedExecutableClass.


The documentation for this class was generated from the following file:
Copyright © 2000, 2010, Oracle and/or its affiliates. All rights reserved.