I build my own Workflow application using JBPM and the JSF addon for JBPM (JBPM4JSF). Now I want to create my own implementation of JbpmJsfContext but I saw that in the PhaseListener and in the JbpmActionListener Wrapper not the interface (JbpmJsfContext.class) is expected but the real implementation (JbpmJsfContextImpl.class). This would result in a class cast exception when I put my own JbpmJsfContext implementation in the request map.
Also I can't extend JbpmJsfContextImpl because it is final.
So why they are using the implementation when there is an interface. I think that makes no sence.