JBoss Community

Re: EJBTHREE-2198 EJB resource providers for switchboard and the dependency issues

created by Ales Justin in EJB3 Development - View the full discussion
    // for nointerface view     if (metadata.exposesNoInterfaceView)    

How do you know if there is no exposed interfaces?

Like this?

 

if ((jsbmd.getBusinessLocals() == null || jsbmd.getBusinessLocals().size() == 0) &&
             (jsbmd.getBusinessRemotes() == null || jsbmd.getBusinessRemotes().size() == 0))

Reply to this message by going to Community

Start a new discussion in EJB3 Development at Community