Package com.glaivestone.javax.execution

Mechanisms to support dynamically-bound code execution and to provide a simple framework for managing an application execution session.

See:
          Description

Interface Summary
EvaluableAction An evaluable action provides for dynamic evaluation of messages and code expressions.
ExceptionHandler An exception handler is used to configure exception handling behavior.
SessionEventListener The listener interface for receiving session life-cycle event notifications.
 

Class Summary
AbstractEvaluableAction Abstract superclass for evaluable action implementations.
BlockContext Abstract superclass for block expression action implementations.
ClassReference A reference to a class which is resolved on demand.
ConstructorAction An evaluable action which invokes a constructor to instantiate an object.
InstanceMethodAction An evaluable action which sends an instance message to an object.
MessageAction An evaluable action which invokes a method to send an message to the receiver of the action.
NoArgumentBlock An evaluable action expression with no arguments.
OneArgumentBlock An evaluable action expression with one argument.
SessionEvent A session event is fired to notify listeners of general session life-cycle events such as startup and shutdown.
SessionEventAdaptor Default event listener adapter for receiving session life cycle events.
SessionLauncher Utility services for launching a session.
SessionManager The session manager provides life cycle support and general utility services for an application execution session.
StaticMethodAction An evaluable action which sends a static message to a class.
 

Package com.glaivestone.javax.execution Description

Mechanisms to support dynamically-bound code execution and to provide a simple framework for managing an application execution session.

The EvaluableAction mechanism defines a standard protocol for dynamically configuring and evaluating executable actions. Executable actions which send a message to an object or invoke a static method are supported by the InstanceMethodAction and StaticMethodAction classes, respectively, while the ConstructorAction class supports instantiation operations. The BlockContext classes provide a mechanism for expressing no-argument and one-argument expressions.

SessionManager is a simple mechanism to faciliate application session management. An application can be configured with a SessionManager.current instance which manages session-wide application options and provides session life-cycle event notifications for coordinating application startup and shutdown. This facility is typically used in conjunction with an application-specific mechanism for obtaining application configuration settings from an external configuration specification.

ClassReference is typically used for session configuration settings which specify an implementation class for the runtime system. The reference allows the configuration setting to be recorded and used such that the application client can determine whether to resolve the reference during application startup or at some subsequent point during the session (e.g., on demand or when some interesting phase of operation is initiated).


GFL 1.1 API