212213214215216217218219220221222
} } private void createInstance(Object contextId) throws TargetResolutionException { InstanceWrapper instanceWrapper = createInstanceWrapper(); instanceWrapper.start(); wrappers.put(contextId, instanceWrapper); } }
323324325326327328329330331332333
318319320321322323324325326327328
6768697071727374757677
if (ctx == null && !create) { return null; } if (ctx == null) { ctx = super.createInstanceWrapper(); ctx.start(); wrappers.put(key, ctx); } return ctx; }
3435363738394041424344
@Override public InstanceWrapper getWrapper(KEY contextId) throws TargetResolutionException { InstanceWrapper ctx = createInstanceWrapper(); ctx.start(); return ctx; } @Override public InstanceWrapper getAssociatedWrapper(KEY contextId)
7071727374757677787980
if (ctx == null && !create) { return null; } if (ctx == null) { ctx = super.createInstanceWrapper(); ctx.start(); wrappers.put(Thread.currentThread(), ctx); } return ctx; }