Package org.jboss.cache.factories

Examples of org.jboss.cache.factories.ComponentRegistry$Component


  }

  private void updateComponent(Component component, Component project, Map<Long, Component> componentsBySnapshotId, Map<Long, String> uuidByComponentId) {
    String snapshotPath = component.getSnapshotPath();
    StringBuilder moduleUuidPath = new StringBuilder();
    Component lastModule = null;
    if (!Strings.isNullOrEmpty(snapshotPath)) {
      for (String s : Splitter.on(".").omitEmptyStrings().split(snapshotPath)) {
        Long snapshotId = Long.valueOf(s);
        Component currentComponent = componentsBySnapshotId.get(snapshotId);
        if (currentComponent.getScope().equals(Scopes.PROJECT)) {
          lastModule = currentComponent;
          moduleUuidPath.append(currentComponent.getUuid()).append(".");
        }
      }
    }
    if (moduleUuidPath.length() > 0) {
      // Remove last '.'
View Full Code Here

TOP

Related Classes of org.jboss.cache.factories.ComponentRegistry$Component

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.