Custom frameworks with references to Application and Session
Custom frameworks with references to Application and Session
- Subject: Custom frameworks with references to Application and Session
- From: Marek Wawrzyczny <email@hidden>
- Date: Fri, 24 Sep 2004 14:59:32 +1000
Hi all,
This is probably a very basic question but, I am just trying to get my
head around passing my Application and Session classes into one of my
frameworks.
The scenario is, I have several (different) applications that use the
same controller class base (and other helper classes). Obviously I want
to move these classes into a framework I can share. Some of these
classes refer to custom Application or Session methods.
I have already defined Application and Session interface classes (that
define these methods), but what is the best way of passing the actual
Application class to the framework, I'd like to avoid passing
references to Application in constructors or special accessor methods
to my controller/helper classes. I am curious as to how WO deals with
resolving the -DWOApplicationClass parameter into a class... can I
implement something similar...
Marek Wawrzyczny
software engineer
-------------------------->
ish group pty ltd
http://www.ish.com.au
7 Darghan St Glebe 2037 Australia
phone +61 2 9660 1400 fax +61 2 9660 7400
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden