public FacesConfigReferencedBeanType<FacesConfigType<T>> getOrCreateReferencedBean()
   {
      List<Node> nodeList = childNode.get("referenced-bean");
      if (nodeList != null &&  nodeList.size() > 0)
      {
         return new FacesConfigReferencedBeanTypeImpl<FacesConfigType<T>>(this, "referenced-bean", childNode, nodeList.get(0));
      }
      return createReferencedBean();
   }
public FacesConfigReferencedBeanType < FacesConfigType < T > > getOrCreateReferencedBean ( ) { List < Node > nodeList = childNode . get ( "referenced-bean" ) ; if ( nodeList != null && nodeList . size ( ) > 0 ) { return new FacesConfigReferencedBeanTypeImpl < FacesConfigType < T > > ( this , "referenced-bean" , childNode , nodeList . get ( 0 ) ) ; } return createReferencedBean ( ) ; }
If not already created, a new <code>referenced-bean</code> element will be created and returned.
Otherwise, the first existing <code>referenced-bean</code> element will be returned.
@return the instance defined for the element <code>referenced-bean</code>