Bill Burke wrote:

Hi all,

I'm trying to brainstorm a list of aspects for Hibernate that could be written with JBoss AOP.

The first one I can think of is:

* Session injection.

public class AccountDAO {

  public @Injected(name="Sessionname") Session session;

}

A simple/basic one that just pops up in my mind would be Configuration
injection.
Simply as a way to get to the Configuration object used to create the
Session.

But i don't know if it's A Good Thing since the Configuration object is
mutable....but just thinking out aloud here ;)

/max




------------------------------------------------------- This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170 Project Admins to receive an Apple iPod Mini FREE for your judgement on who ports your project to Linux PPC the best. Sponsored by IBM. Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php _______________________________________________ hibernate-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/hibernate-devel

Reply via email to