/** * Creates a new <code>connection-factory</code> element * @return the new created instance of <code>ConnectionFactoryResourceType<MessageDrivenBeanType<T>></code> */ public ConnectionFactoryResourceType<MessageDrivenBeanType<T>> createConnectionFactory() { return new ConnectionFactoryResourceTypeImpl<MessageDrivenBeanType<T>>(this, "connection-factory", childNode); }
/** * If not already created, a new <code>property</code> element will be created and returned. * Otherwise, the first existing <code>property</code> element will be returned. * @return the instance defined for the element <code>property</code> */ public PropertyType<ConnectionFactoryResourceType<T>> getOrCreateProperty() { List<Node> nodeList = childNode.get("property"); if (nodeList != null && nodeList.size() > 0) { return new PropertyTypeImpl<ConnectionFactoryResourceType<T>>(this, "property", childNode, nodeList.get(0)); } return createProperty(); }
/** * If not already created, a new <code>property</code> element will be created and returned. * Otherwise, the first existing <code>property</code> element will be returned. * @return the instance defined for the element <code>property</code> */ public PropertyType<ConnectionFactoryResourceType<T>> getOrCreateProperty() { List<Node> nodeList = childNode.get("property"); if (nodeList != null && nodeList.size() > 0) { return new PropertyTypeImpl<ConnectionFactoryResourceType<T>>(this, "property", childNode, nodeList.get(0)); } return createProperty(); }
/** * Creates a new <code>connection-factory</code> element * @return the new created instance of <code>ConnectionFactoryResourceType<InterceptorType<T>></code> */ public ConnectionFactoryResourceType<InterceptorType<T>> createConnectionFactory() { return new ConnectionFactoryResourceTypeImpl<InterceptorType<T>>(this, "connection-factory", childNode); }
/** * If not already created, a new <code>property</code> element will be created and returned. * Otherwise, the first existing <code>property</code> element will be returned. * @return the instance defined for the element <code>property</code> */ public PropertyType<ConnectionFactoryResourceType<T>> getOrCreateProperty() { List<Node> nodeList = childNode.get("property"); if (nodeList != null && nodeList.size() > 0) { return new PropertyTypeImpl<ConnectionFactoryResourceType<T>>(this, "property", childNode, nodeList.get(0)); } return createProperty(); }
/** * Creates a new <code>connection-factory</code> element * @return the new created instance of <code>ConnectionFactoryResourceType<MessageDrivenBeanType<T>></code> */ public ConnectionFactoryResourceType<MessageDrivenBeanType<T>> createConnectionFactory() { return new ConnectionFactoryResourceTypeImpl<MessageDrivenBeanType<T>>(this, "connection-factory", childNode); }
/** * If not already created, a new <code>property</code> element will be created and returned. * Otherwise, the first existing <code>property</code> element will be returned. * @return the instance defined for the element <code>property</code> */ public PropertyType<ConnectionFactoryResourceType<T>> getOrCreateProperty() { List<Node> nodeList = childNode.get("property"); if (nodeList != null && nodeList.size() > 0) { return new PropertyTypeImpl<ConnectionFactoryResourceType<T>>(this, "property", childNode, nodeList.get(0)); } return createProperty(); }
/** * Creates a new <code>connection-factory</code> element * @return the new created instance of <code>ConnectionFactoryResourceType<SessionBeanType<T>></code> */ public ConnectionFactoryResourceType<SessionBeanType<T>> createConnectionFactory() { return new ConnectionFactoryResourceTypeImpl<SessionBeanType<T>>(this, "connection-factory", childNode); }
/** * Creates a new <code>connection-factory</code> element * @return the new created instance of <code>ConnectionFactoryResourceType<ApplicationDescriptor></code> */ public ConnectionFactoryResourceType<ApplicationDescriptor> createConnectionFactory() { return new ConnectionFactoryResourceTypeImpl<ApplicationDescriptor>(this, "connection-factory", model); }
/** * Creates a new <code>connection-factory</code> element * @return the new created instance of <code>ConnectionFactoryResourceType<WebAppDescriptor></code> */ public ConnectionFactoryResourceType<WebAppDescriptor> createConnectionFactory() { return new ConnectionFactoryResourceTypeImpl<WebAppDescriptor>(this, "connection-factory", model); }
/** * Creates a new <code>connection-factory</code> element * @return the new created instance of <code>ConnectionFactoryResourceType<WebFragmentDescriptor></code> */ public ConnectionFactoryResourceType<WebFragmentDescriptor> createConnectionFactory() { return new ConnectionFactoryResourceTypeImpl<WebFragmentDescriptor>(this, "connection-factory", model); }
/** * Creates a new <code>connection-factory</code> element * @return the new created instance of <code>ConnectionFactoryResourceType<SessionBeanType<T>></code> */ public ConnectionFactoryResourceType<SessionBeanType<T>> createConnectionFactory() { return new ConnectionFactoryResourceTypeImpl<SessionBeanType<T>>(this, "connection-factory", childNode); }
/** * Creates a new <code>connection-factory</code> element * @return the new created instance of <code>ConnectionFactoryResourceType<EntityBeanType<T>></code> */ public ConnectionFactoryResourceType<EntityBeanType<T>> createConnectionFactory() { return new ConnectionFactoryResourceTypeImpl<EntityBeanType<T>>(this, "connection-factory", childNode); }
/** * Creates a new <code>connection-factory</code> element * @return the new created instance of <code>ConnectionFactoryResourceType<InterceptorType<T>></code> */ public ConnectionFactoryResourceType<InterceptorType<T>> createConnectionFactory() { return new ConnectionFactoryResourceTypeImpl<InterceptorType<T>>(this, "connection-factory", childNode); }
/** * Creates a new <code>connection-factory</code> element * @return the new created instance of <code>ConnectionFactoryResourceType<EntityBeanType<T>></code> */ public ConnectionFactoryResourceType<EntityBeanType<T>> createConnectionFactory() { return new ConnectionFactoryResourceTypeImpl<EntityBeanType<T>>(this, "connection-factory", childNode); }
/** * Creates a new <code>connection-factory</code> element * @return the new created instance of <code>ConnectionFactoryResourceType<WebAppDescriptor></code> */ public ConnectionFactoryResourceType<WebAppDescriptor> createConnectionFactory() { return new ConnectionFactoryResourceTypeImpl<WebAppDescriptor>(this, "connection-factory", model); }
/** * Creates a new <code>connection-factory</code> element * @return the new created instance of <code>ConnectionFactoryResourceType<ApplicationDescriptor></code> */ public ConnectionFactoryResourceType<ApplicationDescriptor> createConnectionFactory() { return new ConnectionFactoryResourceTypeImpl<ApplicationDescriptor>(this, "connection-factory", model); }
/** * Creates a new <code>connection-factory</code> element * @return the new created instance of <code>ConnectionFactoryResourceType<WebFragmentDescriptor></code> */ public ConnectionFactoryResourceType<WebFragmentDescriptor> createConnectionFactory() { return new ConnectionFactoryResourceTypeImpl<WebFragmentDescriptor>(this, "connection-factory", model); }
/** * Returns all <code>connection-factory</code> elements * @return list of <code>connection-factory</code> */ public List<ConnectionFactoryResourceType<InterceptorType<T>>> getAllConnectionFactory() { List<ConnectionFactoryResourceType<InterceptorType<T>>> list = new ArrayList<ConnectionFactoryResourceType<InterceptorType<T>>>(); List<Node> nodeList = childNode.get("connection-factory"); for(Node node: nodeList) { ConnectionFactoryResourceType<InterceptorType<T>> type = new ConnectionFactoryResourceTypeImpl<InterceptorType<T>>(this, "connection-factory", childNode, node); list.add(type); } return list; }
/** * Returns all <code>connection-factory</code> elements * @return list of <code>connection-factory</code> */ public List<ConnectionFactoryResourceType<ApplicationDescriptor>> getAllConnectionFactory() { List<ConnectionFactoryResourceType<ApplicationDescriptor>> list = new ArrayList<ConnectionFactoryResourceType<ApplicationDescriptor>>(); List<Node> nodeList = model.get("connection-factory"); for(Node node: nodeList) { ConnectionFactoryResourceType<ApplicationDescriptor> type = new ConnectionFactoryResourceTypeImpl<ApplicationDescriptor>(this, "connection-factory", model, node); list.add(type); } return list; }