code: public JmsConnectionFactoryType<ApplicationDescriptor> getOrCreateJmsConnectionFactory()
     {
        List<Node> nodeList = model.get("jms-connection-factory");
        if (nodeList != null &&  nodeList.size() > 0)
        {
           return new JmsConnectionFactoryTypeImpl<ApplicationDescriptor>(this, "jms-connection-factory", model, nodeList.get(0));
        }
        return createJmsConnectionFactory();
     }
docs: If not already created, a new <code>jms-connection-factory</code> element will be created and returned.
  Otherwise, the first existing <code>jms-connection-factory</code> element will be returned.
  @return the instance defined for the element <code>jms-connection-factory</code>