Open GoogleCodeExporter opened 8 years ago
Something like:
public interface TransferManager {
@RolesAllowed("accountant")
private void transferMoney(String sourceAccount, String destinationAccount);
}
public interface TransferManagerService { //RPC server
private void transferMoney
(@RequestSequence requestSequence,
@SessionId String sessionId,
String sourceAccount,
String destinationAccount);
}
Two first parameters should be passed transparently and used only for logging
(see MDC and NDC of log4j and logback) and validation.
Original comment by hsh...@gmail.com
on 2 Jul 2010 at 2:48
Original comment by mori...@xemantic.com
on 27 Mar 2012 at 10:26
Original issue reported on code.google.com by
hsh...@gmail.com
on 2 Jul 2010 at 2:37