v.setInvocationAttribute(ComponentInvocationType.SERVICE_STARTUP); return; int beforeSize = v.size(); ComponentInvocation prevInv = beforeSize > 0 ? v.get(beforeSize - 1) : null; v.add(inv);
v.setInvocationAttribute(ComponentInvocationType.UN_INITIALIZED); return; int beforeSize = v.size(); if (beforeSize == 0) { throw new InvocationException(); ComponentInvocation prevInv = beforeSize > 1 ? v.get(beforeSize - 2) : null; ComponentInvocation curInv = v.get(beforeSize - 1); v.remove(beforeSize - 1);
v.setInvocationAttribute(ComponentInvocationType.UN_INITIALIZED); return; int beforeSize = v.size(); if (beforeSize == 0) { throw new InvocationException(); ComponentInvocation prevInv = beforeSize > 1 ? v.get(beforeSize - 2) : null; ComponentInvocation curInv = v.get(beforeSize - 1); v.remove(beforeSize - 1);
protected InvocationArray<ComponentInvocation> childValue(InvocationArray<ComponentInvocation> parentValue) { InvocationArray<ComponentInvocation> result = new InvocationArray<ComponentInvocation>(); InvocationArray<ComponentInvocation> v = parentValue; if (v.size() > 0 && v.outsideStartup()) { ComponentInvocation parentInv = v.get(v.size() - 1); inv.container = parentInv.getContainerContext(); inv.transaction = null; result.add(inv); } else if (parentInv.getInvocationType() != ComponentInvocationType.EJB_INVOCATION) { cpy.container = parentInv.getContainerContext(); cpy.transaction = parentInv.getTransaction(); result.add(cpy);
protected InvocationArray<ComponentInvocation> childValue(InvocationArray<ComponentInvocation> parentValue) { InvocationArray<ComponentInvocation> result = new InvocationArray<ComponentInvocation>(); InvocationArray<ComponentInvocation> v = parentValue; if (v.size() > 0 && v.outsideStartup()) { ComponentInvocation parentInv = v.get(v.size() - 1); inv.container = parentInv.getContainerContext(); inv.transaction = null; result.add(inv); } else if (parentInv.getInvocationType() != ComponentInvocationType.EJB_INVOCATION) { cpy.container = parentInv.getContainerContext(); cpy.transaction = parentInv.getTransaction(); result.add(cpy);
v.setInvocationAttribute(ComponentInvocationType.SERVICE_STARTUP); return; int beforeSize = v.size(); ComponentInvocation prevInv = beforeSize > 0 ? v.get(beforeSize - 1) : null; v.add(inv);
protected InvocationArray initialValue() { return new InvocationArray(); }
protected InvocationArray initialValue() { return new InvocationArray(); }
public boolean outsideStartup() { return getInvocationAttribute() != ComponentInvocationType.SERVICE_STARTUP; } }
public boolean outsideStartup() { return getInvocationAttribute() != ComponentInvocationType.SERVICE_STARTUP; } }