JBAS014356 … Do not call non-public methods on EJB's

Solution Verified - Updated -

Issue

  • Getting JBAS014356 … Do not call non-public methods on EJB's when abstract bussines method is protected. Following is the code that triggers the issue.

    @Stateless
    public class ChildBean extends AbstractBean {
    public void businessMethod() {
    super.businessMethod();
    }
    }
    public abstract class AbstractBean {
        protected void businessMethod() {}
    }
    

Environment

  • Red Hat JBoss Enterprise Application Platform
    • 6.4.13

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content