Oracle Coherence for C++ API
Release 3.6.1.0
E18813-01

- Main Page
- Namespaces
- Classes
- Files

- Alphabetical List
- Class List
- Class Hierarchy
- Class Members

# 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:

- coherence/lang/ExecutableClass.hpp

Copyright © 2000, 2010, Oracle and/or its affiliates. All rights reserved.