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); }
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); }