public Object intercept(final InvocationContext ic) throws Exception{
if (ic.getMethod().toString().contains("accessJNDI")) {
//JNDI Access
DataSource dsViaJNDI = (DataSource) JNDIHelper.getJavaCompEnvResource("jdbc/jdbc_1");
TableManager cTest = new TableManager(dsViaJNDI);
cTest.test("tmpTable" + cTest.hashCode());
} else if (ic.getMethod().toString().contains("accessEJB")) {
//EJB Access
assertTrue(bean.getBool());
} else if (ic.getMethod().toString().contains("accessResManager")) {
//ResourceManager Access
TableManager cTest = new TableManager(ds);
cTest.test("tmpTable" + cTest.hashCode());
} else if (ic.getMethod().toString().contains("accessEntityManager")) {
//EntityManager Access
UserTransaction utx;