On Tue, 30 Sep 2003 19:49:51 -0400, Howard M. Lewis Ship <[EMAIL PROTECTED]> wrote:
I've added a getConfigurationPoint() method to Module. Checked in soon.
-- Howard M. Lewis Ship Creator, Tapestry: Java Web Components http://jakarta.apache.org/tapestry http://jakarta.apache.org/commons/sandbox/hivemind/ http://javatapestry.blogspot.com
-----Original Message-----
From: Christian Essl [mailto:[EMAIL PROTECTED] Sent: Tuesday, September 30, 2003 7:40 PM
To: [EMAIL PROTECTED]
Subject: [HiveMind] Acess to schema - the second
There is now a getSchema on the ConfigurationPoint, but I don't know how to get the ConfigurationPoint from the module (Is there another way?). Sorry if I didn't explain it or checked it a bit late:
My ConfiguratonBuilderFactory is a normal ServiceImplementationFactory which does not have its own schema (and this way gets the Elements unparsed). Than I plan to read from the first element the attribute configuration-id. Than I would get the Schema for this configuration-id and just parse the elements under the first Element. The (service implementator defined) rules than create,setup and push the service- implementation on the stack. The ConfigurationFactory just takes it from there and returns it.
I know it is increase of Interface complexity, but still I'd like to ask you to add a method Module.getConfigurationPoint (which could throw an exception - but better returns null - if not present).
(By the way should/can I go forward with the hot-replace/shutdown ServiceModel?)
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
-- Using M2, Opera's revolutionary e-mail client: http://www.opera.com/m2/
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
