Package nz.org.riskscape.engine.problem
Class ProblemFactoryProxy
java.lang.Object
nz.org.riskscape.engine.problem.ProblemFactoryProxy
- All Implemented Interfaces:
InvocationHandler
Works as a Proxy for a given ProblemFactory
-
Nested Class Summary
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
ProblemFactoryProxy
public ProblemFactoryProxy()
-
-
Method Details
-
invoke
Intercepts the @{link ProblemFactory} method to create a
Problem
based on the method name and factory class name.- Specified by:
invoke
in interfaceInvocationHandler
- Throws:
Throwable
-