public final void addPathManagerResources(Resource resource) { synchronized (pathEntries) { for (PathEntry pathEntry : pathEntries.values()) { resource.registerChild(PathElement.pathElement(PATH, pathEntry.getName()), new HardcodedPathResource(PATH, pathEntry)); } } }
public final void addPathManagerResources(Resource resource) { synchronized (pathEntries) { for (PathEntry pathEntry : pathEntries.values()) { resource.registerChild(PathElement.pathElement(PATH, pathEntry.getName()), new HardcodedPathResource(PATH, pathEntry)); } } }
/** * Add child resources to the given resource, one for each {@link PathEntry} currently associated with this * path manager. Used to initialize the model with resources for the standard paths that are not part of * the persistent configuration. * @param resource the resource to which children should be added. */ public final void addPathManagerResources(Resource resource) { synchronized (pathEntries) { for (PathEntry pathEntry : pathEntries.values()) { resource.registerChild(PathElement.pathElement(PATH, pathEntry.getName()), new HardcodedPathResource(PATH, pathEntry)); } } }
/** * Add child resources to the given resource, one for each {@link PathEntry} currently associated with this * path manager. Used to initialize the model with resources for the standard paths that are not part of * the persistent configuration. * @param resource the resource to which children should be added. */ public final void addPathManagerResources(Resource resource) { synchronized (pathEntries) { for (PathEntry pathEntry : pathEntries.values()) { resource.registerChild(PathElement.pathElement(PATH, pathEntry.getName()), new HardcodedPathResource(PATH, pathEntry)); } } }