@Test public void testExecuteMethod() throws Throwable { BSHTransactionParticipant bSHTransactionParticipant = new BSHTransactionParticipant(); Object result = bSHTransactionParticipant.executeMethod(new BSHMethod("testBSHTransactionParticipantBshData", false), 100L, new StringBuffer(), new LogEvent("testBSHTransactionParticipantTag", Integer.valueOf(0)), "testBSHTransactionParticipantResultName"); assertNull(result, "result"); }
protected Object executeMethod(BSHMethod m, long id, Serializable context, LogEvent evt, String resultName) throws EvalError, IOException { Map params = new HashMap(); params.put("context", context); params.put("id", id); params.put("evt", evt); params.put("self", this); return m.execute(params, resultName); }
BSHTransactionParticipant extends SimpleLogSource implements TransactionParticipant, AbortParticipant, XmlConfigurable { protected Object executeMethod(BSHMethod m, long id, Serializable context, LogEvent evt, String resultName) throws EvalError, IOException { Map params = new HashMap(); params.put("context", context); params.put("id", id); params.put("evt", evt); params.put("self", this); return m.execute(params, resultName); } }
BSHTransactionParticipant extends SimpleLogSource implements TransactionParticipant, AbortParticipant, XmlConfigurable { protected Object executeMethod(BSHMethod m, long id, Serializable context, LogEvent evt, String resultName) throws EvalError, IOException { Map params = new HashMap(); params.put("context", context); params.put("id", id); params.put("evt", evt); params.put("self", this); return m.execute(params, resultName); } BSHTransactionParticipant(); }
BSHTransactionParticipant extends SimpleLogSource implements TransactionParticipant, AbortParticipant, XmlConfigurable { protected Object executeMethod(BSHMethod m, long id, Serializable context, LogEvent evt, String resultName) throws EvalError, IOException { Map params = new HashMap(); params.put("context", context); params.put("id", id); params.put("evt", evt); params.put("self", this); return m.execute(params, resultName); } BSHTransactionParticipant(); void abort(long id, java.io.Serializable context); void commit(long id, java.io.Serializable context); int prepare(long id, java.io.Serializable context); int prepareForAbort(long id, java.io.Serializable context); void setConfiguration(Element e); }
BSHTransactionParticipant extends SimpleLogSource implements TransactionParticipant, AbortParticipant, XmlConfigurable { protected Object executeMethod(BSHMethod m, long id, Serializable context, LogEvent evt, String resultName) throws EvalError, IOException { Map params = new HashMap(); params.put("context", context); params.put("id", id); params.put("evt", evt); params.put("self", this); return m.execute(params, resultName); } BSHTransactionParticipant(); void abort(long id, java.io.Serializable context); void commit(long id, java.io.Serializable context); int prepare(long id, java.io.Serializable context); int prepareForAbort(long id, java.io.Serializable context); void setConfiguration(Element e);  }