Interface ResourceAdaptersType<T>

  • All Superinterfaces:
    org.jboss.shrinkwrap.descriptor.api.Child<T>
    All Known Implementing Classes:
    ResourceAdaptersTypeImpl

    public interface ResourceAdaptersType<T>
    extends org.jboss.shrinkwrap.descriptor.api.Child<T>
    This interface defines the contract for the resource-adaptersType xsd type
    • Method Detail

      • getOrCreateResourceAdapter

        ResourceAdapterType<ResourceAdaptersType<T>> getOrCreateResourceAdapter()
        If not already created, a new resource-adapter element will be created and returned. Otherwise, the first existing resource-adapter element will be returned.
        Returns:
        the instance defined for the element resource-adapter
      • removeAllResourceAdapter

        ResourceAdaptersType<T> removeAllResourceAdapter()
        Removes all resource-adapter elements
        Returns:
        the current instance of ResourceAdapterType>