Author: tchemit Date: 2011-07-05 14:11:36 +0200 (Tue, 05 Jul 2011) New Revision: 88 Url: http://nuiton.org/repositories/revision/nuiton-web/88 Log: javadoc Modified: trunk/nuiton-struts2/src/main/java/org/nuiton/web/struts2/TopiaTransactionAware.java Modified: trunk/nuiton-struts2/src/main/java/org/nuiton/web/struts2/TopiaTransactionAware.java =================================================================== --- trunk/nuiton-struts2/src/main/java/org/nuiton/web/struts2/TopiaTransactionAware.java 2011-07-05 12:01:58 UTC (rev 87) +++ trunk/nuiton-struts2/src/main/java/org/nuiton/web/struts2/TopiaTransactionAware.java 2011-07-05 12:11:36 UTC (rev 88) @@ -5,7 +5,7 @@ * $Id$ * $HeadURL$ * %% - * Copyright (C) 2010 - 2011 CodeLutin + * Copyright (C) 2010 - 2011 CodeLutin, Tony Chemit * %% * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as @@ -31,9 +31,12 @@ * transaction. * <p/> * The method {@link #getTransaction()} returns the internal transaction used. + * <p/> + * the method {@link #setTransaction(TopiaContext)} put the internal + * transaction. * * @author tchemit <chemit@codelutin.com> - * @since 1.1 + * @since 1.2 */ public interface TopiaTransactionAware { @@ -45,6 +48,11 @@ * @return the current transaction (can be null or closed...). */ TopiaContext getTransaction(); - + + /** + * Put in the instance, the given transaction. + * + * @param transaction the transaction to push + */ void setTransaction(TopiaContext transaction); }