Interface ConstructorStrategy
- All Known Implementing Classes:
DefaultConstructorStrategy
,NullConstructorStrategy
public interface ConstructorStrategy
The strategy used to construct an instance of a
Class
.-
Method Summary
-
Method Details
-
construct
Constructs an instance of aClass
.- Parameters:
clazz
- theClass
- Returns:
- the constructed instance or
null
- Throws:
ScriptException
- if the instance could not be constructed
-