Package org.platformlayer.ops.tagger

Examples of org.platformlayer.ops.tagger.Tagger


          return tagChanges;
        }
      };

      for (ItemBase tagItem : tagItems) {
        Tagger tagger = addChild(Tagger.class);
        tagger.platformLayerKey = tagItem.getKey();
        tagger.tagChangesProvider = tagChanges;
      }
    }
  }
View Full Code Here


          return tagChanges;
        }
      };

      Tagger tagger = injected(Tagger.class);

      tagger.platformLayerKey = model.getKey();
      tagger.tagChangesProvider = tagChanges;

      instanceMapper.addChild(tagger);

      Tagger tagInstance = injected(Tagger.class);

      tagInstance.platformLayerKey = null;
      tagInstance.platformLayerKey = model.instance;
      tagInstance.tagChangesProvider = tagChanges;
View Full Code Here

    if (model.publicPort != model.backendPort) {
      throw new OpsException("Port remapping not supported by raw cloud");
    }

    {
      Tagger tagger = injected(Tagger.class);

      OpsProvider<TagChanges> tagChanges = new OpsProvider<TagChanges>() {
        @Override
        public TagChanges get() throws OpsException {
          RawInstance instance = platformLayerClient.getItem(model.instance, RawInstance.class);
View Full Code Here

      endpoint.parentItem = parentItem;
      endpoint.transport = transport;
    }

    if (tagItem != null) {
      Tagger tagger = injected(Tagger.class);

      OpsProvider<TagChanges> tagChanges = new OpsProvider<TagChanges>() {
        @Override
        public TagChanges get() throws OpsException {
          int maxAttempts = 5;
View Full Code Here

    final PersistentInstance model = OpsContext.get().getInstance(PersistentInstance.class);

    {
      // Add tag with instance id to persistent instance (very helpful for DNS service!)

      Tagger tagger = injected(Tagger.class);
      tagger.platformLayerKey = model.getKey();
      tagger.tagChangesProvider = new OpsProvider<TagChanges>() {

        @Override
        public TagChanges get() throws OpsException {
View Full Code Here

          return tagChanges;
        }
      };

      Tagger tagger = injected(Tagger.class);

      tagger.platformLayerKey = model.getKey();
      tagger.tagChangesProvider = tagChanges;

      instanceMapper.addChild(tagger);

      Tagger tagInstance = injected(Tagger.class);

      tagInstance.platformLayerKey = null;
      tagInstance.platformLayerKey = model.instance;
      tagInstance.tagChangesProvider = tagChanges;
View Full Code Here

TOP

Related Classes of org.platformlayer.ops.tagger.Tagger

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.