Beispiel #1
0
    public LifeCycleClientImpl(MeemUnbound parent) {
      this.parent = parent;

      // listen for lifecycle state
      LifeCycleClient lifeCycleClient =
          (LifeCycleClient) GatewayManagerWedge.getTargetFor(this, LifeCycleClient.class);
      Reference reference = Reference.spi.create("lifeCycleClient", lifeCycleClient, true);
      meem.addOutboundReference(reference, false);
    }
Beispiel #2
0
    ResolverClient(Client parent, MeemPath meemPath) {
      this.parent = parent;

      Meem resolverMeem = EssentialMeemHelper.getEssentialMeem(MeemResolver.spi.getIdentifier());
      MeemResolverClient proxy = GatewayManagerWedge.getTargetFor(this, MeemResolverClient.class);
      Filter filter = ExactMatchFilter.create(meemPath);

      this.reference = Reference.spi.create("meemResolverClient", proxy, true, filter);

      resolverMeem.addOutboundReference(reference, false);
    }
Beispiel #3
0
    RegistryClient(Client parent, MeemPath meemPath) {
      this.parent = parent;
      this.meemPath = meemPath;

      this.proxy = GatewayManagerWedge.getTargetFor(this, MeemRegistryClient.class);

      reference =
          Reference.spi.create(
              "meemRegistryClient", proxy, true, ExactMatchFilter.create(meemPath));

      Meem registryMeem =
          EssentialMeemHelper.getEssentialMeem(MeemRegistryGateway.spi.getIdentifier());

      registryMeem.addOutboundReference(reference, false);
    }