[prev in list] [next in list] [prev in thread] [next in thread] 

List:       jboss-development
Subject:    [JBoss-dev] Re: [jboss-cvs] jboss-j2ee/src/main/javax/ejb  ...
From:       Adrian Brock <adrian_brock () jboss ! com>
Date:       2005-07-29 15:52:36
Message-ID: 1122652352.2961.18.camel () htimes2
[Download RAW message or body]

For those that are unaware of this feature...

You should use the JIRA id in the commit message,
such that JIRA can collect the diffs against the task.

e.g. http://jira.jboss.com/jira/browse/JBAS-2039?page=vcs

Adding a quick line of text is also useful for people browsing the
CVS commit list so you don't have to look aside into JIRA to see what
the intention was against the actual code change. :-)

e.g. in this example
cvs commit -m "[EJBTHREE-184] - Add getBusinessObject() to
SessionContext"

On Fri, 2005-07-29 at 10:08, Bill DeCoste wrote:
> User: bdecoste
> Date: 05/07/29 10:08:05
> 
> Modified:    src/main/javax/ejb  Tag: Branch_4_0 SessionContext.java
> Log:
> JIRA EJB3 184
> 
> Revision  Changes    Path
> No                   revision
> 
> 
> No                   revision
> 
> 
> 1.4.6.1   +11 -1     jboss-j2ee/src/main/javax/ejb/SessionContext.java
> 
> (In the diff below, changes in quantity of whitespace are not shown.)
> 
> Index: SessionContext.java
> ===================================================================
> RCS file: /cvsroot/jboss/jboss-j2ee/src/main/javax/ejb/SessionContext.java,v
> retrieving revision 1.4
> retrieving revision 1.4.6.1
> diff -u -b -r1.4 -r1.4.6.1
> --- SessionContext.java	17 Mar 2004 01:33:06 -0000	1.4
> +++ SessionContext.java	29 Jul 2005 14:08:05 -0000	1.4.6.1
> @@ -14,7 +14,7 @@
> * instance. The container passes the SessionContext interface to an
> * instance after the instance has been created. The session context
> * remains associated with the instance for the lifetime of the instance.
> - * @version $Revision: 1.4 $
> + * @version $Revision: 1.4.6.1 $
> */
> public interface SessionContext extends EJBContext
> {
> @@ -61,4 +61,14 @@
> * the instance is in a state that does not allow access to this method.
> */ 
> public MessageContext getMessageContext() throws IllegalStateException;
> +
> +   /** Returns the session beans business interface. Only session beans with an \
> EJB 3.0 business interface +    * can call this method.
> +    * 
> +    * @return The business interface associated with the instance.
> +    * @throws IllegalStateException - Thrown if this method is invoked while
> +    * the instance is in a state that does not allow access to this method.
> +    */ 
> +   public Object getBusinessObject(Class businessInterface) throws \
> IllegalStateException; +
> }
> 
> 
> 
> 
> 
> -------------------------------------------------------
> SF.Net email is Sponsored by the Better Software Conference & EXPO September
> 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
> Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
> Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
> _______________________________________________
> jboss-cvs-commits mailing list
> jboss-cvs-commits@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/jboss-cvs-commits
-- 
xxxxxxxxxxxxxxxxxxxxxxxx 
Adrian Brock
Chief Scientist
JBoss Inc.
xxxxxxxxxxxxxxxxxxxxxxxx 



-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO September
19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
JBoss-Development mailing list
JBoss-Development@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-development


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic