Class ResourceRegistry
java.lang.Object
org.nuxeo.runtime.model.ContributionFragmentRegistry<T>
org.nuxeo.runtime.model.SimpleContributionRegistry<Resource>
org.nuxeo.ecm.web.resources.core.service.ResourceRegistry
Registry for resource elements. Does not handle merge.
- Since:
- 7.3
-
Nested Class Summary
Nested classes/interfaces inherited from class org.nuxeo.runtime.model.ContributionFragmentRegistry
ContributionFragmentRegistry.Fragment<T>, ContributionFragmentRegistry.FragmentList<T>
-
Field Summary
Fields inherited from class org.nuxeo.runtime.model.SimpleContributionRegistry
currentContribs
Fields inherited from class org.nuxeo.runtime.model.ContributionFragmentRegistry
contribs
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetContributionId
(Resource contrib) Returns the contribution ID given the contribution objectgetResource
(String id) Methods inherited from class org.nuxeo.runtime.model.SimpleContributionRegistry
clone, contributionRemoved, contributionUpdated, getCurrentContribution, isSupportingMerge, merge
Methods inherited from class org.nuxeo.runtime.model.ContributionFragmentRegistry
addContribution, addFragment, getContribution, getFragments, removeContribution, removeContribution, removeFragment, toMap
-
Constructor Details
-
ResourceRegistry
public ResourceRegistry()
-
-
Method Details
-
getContributionId
Description copied from class:ContributionFragmentRegistry
Returns the contribution ID given the contribution object- Specified by:
getContributionId
in classContributionFragmentRegistry<Resource>
-
getResource
-