private ComponentInvocation getCurrentComponentInvocation() { return ConnectorRuntime.getRuntime().getInvocationManager().getCurrentInvocation(); }
/** * Returns the component invoking resource request. * * @return Handle to the component. */ public Object getComponent(){ InvocationManager invmgr = ConnectorRuntime.getRuntime().getInvocationManager(); ComponentInvocation inv = invmgr.getCurrentInvocation(); if (inv == null) { return null; } return inv.getInstance(); }
ConnectorRuntime.getRuntime().getInvocationManager().getCurrentInvocation(); EJBInvocation ejbInvocation = (EJBInvocation) componentInvocation; EJBContext ejbcontext = ejbInvocation.getEJBContext();
InvocationManager invmgr = ConnectorRuntime.getRuntime().getInvocationManager();
InvocationManager invmgr = ConnectorRuntime.getRuntime().getInvocationManager(); ComponentInvocation inv = invmgr.getCurrentInvocation();
/** * Returns the transaction component is participating. * * @return Handle to the <code>Transaction</code> object. * @exception <code>PoolingException<code> */ public Transaction getTransaction() throws PoolingException { InvocationManager invmgr = ConnectorRuntime.getRuntime().getInvocationManager(); ComponentInvocation inv = invmgr.getCurrentInvocation(); if (inv == null) { try { return ConnectorRuntime.getRuntime().getTransaction(); } catch (Exception ex) { return null; } } return (Transaction) inv.getTransaction(); }
List invList = ConnectorRuntime.getRuntime().getInvocationManager().getAllInvocations();
InvocationManager invmgr = ConnectorRuntime.getRuntime().getInvocationManager();