JBoss Community

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

created by jaikiran pai in EJB3 Development - View the full discussion

That was actually a pseudo code, so was probably a bit confusing. For identifying the presence of no-interface view:

 

JBossEnterpriseBeanMetaData beanMetaData = ...
 
if ( beanMetaData.isSession() && beanMetaData instanceof JBossSessionBean31MetaData)
{
    JBossSessionBean31MetaData sessionBeanMetaData = (JBossSessionBean31MetaData) beanMetaData;
    if(sessionBeanMetaData.isNoInterfaceBean())
    {
        // ....
    }
}

Reply to this message by going to Community

Start a new discussion in EJB3 Development at Community