AnsweredAssumed Answered

Why not allowing sub-classing of BpmnParse?

Question asked by iravanchi on Jul 19, 2011
Latest reply on Jul 26, 2011 by iravanchi

The constructor of BpmnParse class is defined as package level.
Thus, extending isn't possible because the sub-class can't call the constructor of the parent.

Here's the constructor from Activiti code:

   * Constructor to be called by the {@link BpmnParser}.
   * Note the package modifier here: only the {@link BpmnParser} is allowed to create instances.
  BpmnParse(BpmnParser parser) {

Is this intentional (to disallow extensions)? Why?