/** * visists a method transaction for the last J2EE component visited * @param ejb descritptor this method applies to * @param method descriptor the method * @param container transaction */ public void accept(MethodDescriptor method, ContainerTransaction ct) { DOLUtils.getDefaultLogger().info( ct.getTransactionAttribute() + " Container Transaction for method " + method.prettyPrint() ); }
/** * visits a method permission and permitted methods for the last J2EE component visited * @param ejb descriptor the role is referenced from * @param method permission * @param the methods associated with the above permission */ public void accept(MethodPermission pm, Iterator methods) { DOLUtils.getDefaultLogger().info("For method permission : " + pm.toString()); while (methods.hasNext()) { DOLUtils.getDefaultLogger().info("\t" + ((MethodDescriptor) methods.next()).prettyPrint()); } }
protected void accept(MethodDescriptor md, ContainerTransaction ct) { logInfo(ct.getTransactionAttribute() + " Container Transaction for method " + md.prettyPrint()); }
protected void accept(MethodPermission pm, Collection<MethodDescriptor> mds) { logInfo("For method permission : " + pm.toString()); for (MethodDescriptor md : mds) { logInfo("\t" + md.prettyPrint()); } }