public ResourceRepository<Resource, String> getRepositoryForPath(String resourceType) {
        init();

        ResourceInformation resourceInformation =
                new ResourceInformation(
                        moduleRegistry.getTypeParser()
                        , Resource.class
                        , resourceType
                        , null
                        , null
                        , PagingSpec.class
                );
        return (ResourceRepository<Resource, String>) decorate(new ResourceRepositoryStubImpl<>(this, Resource.class, resourceInformation, urlBuilder));
    }
public ResourceRepository < Resource , String > getRepositoryForPath ( String resourceType ) { init ( ) ; ResourceInformation resourceInformation = new ResourceInformation ( moduleRegistry . getTypeParser ( ) , Resource . class , resourceType , null , null , PagingSpec . class ) ; return ( ResourceRepository < Resource , String > ) decorate ( new ResourceRepositoryStubImpl < > ( this , Resource . class , resourceInformation , urlBuilder ) ) ; }
Generic access using {@link Resource} class without type mapping.