I agree a type safe enum is the best solution here. I can implement this unless someone else wants to do it.
-dain Scott M Stark wrote: > This doesn't work with serialization. You need to introduce an > enum pattern with object replacement handling to ensure identity > mapping to the final string within a vm. > > xxxxxxxxxxxxxxxxxxxxxxxx > Scott Stark > Chief Technology Officer > JBoss Group, LLC > xxxxxxxxxxxxxxxxxxxxxxxx > ----- Original Message ----- > From: "David Jencks" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Tuesday, June 11, 2002 11:13 AM > Subject: Re: [JBoss-dev] Invocation keys are error prone > > > >>How about using strings that are the result of calling intern on the >>original string? Then we can use == rather than equals. It probably won't >>make up for serialization overhead for remote calls, but should speed >>things up in-vm. >> >>david jencks >> >> > > > > _______________________________________________________________ > > Multimillion Dollar Computer Inventory > Live Webcast Auctions Thru Aug. 2002 - http://www.cowanalexander.com/calendar > > > > _______________________________________________ > Jboss-development mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/jboss-development > _______________________________________________________________ Multimillion Dollar Computer Inventory Live Webcast Auctions Thru Aug. 2002 - http://www.cowanalexander.com/calendar _______________________________________________ Jboss-development mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-development