public void updateDependency(DependencyAttribute dependencyAttribute) { Client client = getClient(); synchronized (client) { if (!client.isDone()) { queuedMeemProxy.updateDependency(dependencyAttribute); return; } } doUpdateDependency(meem, dependencyAttribute); }
public void addDependency( Facet facet, DependencyAttribute dependencyAttribute, LifeTime lifeTime) { Client client = getClient(); synchronized (client) { if (!client.isDone()) { queuedMeemProxy.addDependency(facet, dependencyAttribute, lifeTime); return; } } doAddDependency(meem, facet, dependencyAttribute, lifeTime); }
/** * @see * org.openmaji.meem.Meem#removeOutboundReference(org.openmaji.meem.wedge.reference.Reference) */ public void removeOutboundReference(Reference reference) { if (reference == null) { throw new IllegalArgumentException( "attempt to call removeOutboundReference with null reference."); } Client client = getClient(); synchronized (client) { if (!client.isDone()) { if (reference.getFacetIdentifier().equals("lifeCycleClient")) { removeLifeCycleReference(reference); } else { queuedMeemProxy.removeOutboundReference(reference); } return; } } doRemoveOutboundReference(meem, reference); }