public class ResourceRegistryBuilder extends Object
| Constructor and Description |
|---|
ResourceRegistryBuilder(JsonServiceLocator context,
ResourceInformationBuilder resourceInformationBuilder) |
| Modifier and Type | Method and Description |
|---|---|
ResourceRegistry |
build(String packageName,
String serviceUrl)
Scans all classes in provided package and finds all resources and repositories associated with found resource.
|
public ResourceRegistryBuilder(JsonServiceLocator context, ResourceInformationBuilder resourceInformationBuilder)
public ResourceRegistry build(String packageName, String serviceUrl)
packageName - Package containing resources (models) and repositories.serviceUrl - URL to the serviceCopyright © 2015. All Rights Reserved.