Interface ResourceF


  • @Deprecated
    public interface ResourceF
    Deprecated.
    Create an application specific resource instance.

    Applications may need to have classes which add behaviour to Resources, e.g. to support the behaviour of container classes. Factory objects supporting this interface may be used to construct instances of these so called enhanced resources.

    • Method Detail

      • createResource

        Resource createResource​(Resource r)
        Deprecated.
        Create new resource instance which extends the behaviour of a supplied resource.
        Parameters:
        r - The core resource whose behaviour is to be extended.
        Returns:
        the newly created resource.