public Object createInstance() throws Fabric3Exception { if (recreate.getAndSet(false)) { implementationManager = null; } Object instance = getImplementationManager().newInstance(); if (Scope.COMPOSITE == scopeContainer.getScope()) { cachedInstance = instance; } return instance; }
public Object createInstance() throws ObjectCreationException { if (recreate.getAndSet(false)) { implementationManager = null; } Object instance = getImplementationManager().newInstance(); if (Scope.COMPOSITE == scopeContainer.getScope()) { cachedInstance = instance; } return instance; }
public Object createInstance() throws Fabric3Exception { if (recreate.getAndSet(false)) { implementationManager = null; } Object instance = getImplementationManager().newInstance(); if (Scope.COMPOSITE == scopeContainer.getScope()) { cachedInstance = instance; } return instance; }