Interface EngineEnvironmentI
- All Known Implementing Classes:
AbstractEngineEnvironment,HttpEngineEnvironment,ServletEngineEnvironment
public interface EngineEnvironmentI
This interface is the base for a an arbitrary data aggregation provided
to solution scripts. The concrete shape depends on the environment into which
the engine is embedded.
Implementation note: Sub-classes of an implementation of this interface
must propagate calls to the isInstanceOf(java.lang.String) method to their super class
if they are not the implementation of the checked type name.
AbstractEngineEnvironment can be used as root of such inheritance chain.
-
Method Summary
Modifier and TypeMethodDescriptionbooleanisInstanceOf(String _sTypeName) Checks whether this instance is an implementation of the given name (or a sub-type thereof).
-
Method Details
-
isInstanceOf
Checks whether this instance is an implementation of the given name (or a sub-type thereof). Script languages with loose typing can use this method to check for existance of expected methods on this environment object before they actually call them.
-