public <T> void removeUninstallItem(CallbackItem<T> callbackItem) { Set<CallbackItem<?>> uninstallCallbacks = this.uninstallCallbacks; if (uninstallCallbacks == null) return; uninstallCallbacks.remove(callbackItem); flushJBossObjectCache(); }
public void removeDependsOnMe(DependencyItem dependency) { Set<DependencyItem> dependsOnMe = this.dependsOnMe; if (dependsOnMe == null) return; dependsOnMe.remove(dependency); flushJBossObjectCache(); }
public <T> void removeInstallItem(CallbackItem<T> callbackItem) { Set<CallbackItem<?>> installCallbacks = this.installCallbacks; if (installCallbacks == null) return; installCallbacks.remove(callbackItem); flushJBossObjectCache(); }
public <T> void addInstallItem(CallbackItem<T> callbackItem) { Set<CallbackItem<?>> installCallbacks = this.installCallbacks; if (installCallbacks == null) { this.installCallbacks = new CopyOnWriteArraySet<CallbackItem<?>>(); installCallbacks = this.installCallbacks; } installCallbacks.add(callbackItem); flushJBossObjectCache(); }
public <T> void addUninstallItem(CallbackItem<T> callbackItem) { Set<CallbackItem<?>> uninstallCallbacks = this.uninstallCallbacks; if (uninstallCallbacks == null) { this.uninstallCallbacks = new CopyOnWriteArraySet<CallbackItem<?>>(); uninstallCallbacks = this.uninstallCallbacks; } uninstallCallbacks.add(callbackItem); flushJBossObjectCache(); }
public void addDependsOnMe(DependencyItem dependency) { Set<DependencyItem> dependsOnMe = this.dependsOnMe; if (dependsOnMe == null) { this.dependsOnMe = new CopyOnWriteArraySet<DependencyItem>(); dependsOnMe = this.dependsOnMe; } dependsOnMe.add(dependency); flushJBossObjectCache(); }
public void removeIDependOn(DependencyItem dependency) { Set<DependencyItem> iDependOn = this.iDependOn; if (iDependOn == null) return; iDependOn.remove(dependency); flushJBossObjectCache(); if (dependency instanceof TrackingDependencyItem) { ((TrackingDependencyItem) dependency).setDependencyInfo(null); if (tracking) { ControllerState whenRequired = dependency.getWhenRequired(); removeUnresolved(dependency, whenRequired); } } }
flushJBossObjectCache(); if (dependency instanceof TrackingDependencyItem)