> Dave, Cocoon's Manager class has this code:
>
> public Object create(String name, Configurations
> conf) throws RuntimeException {
> try {
> Object object =
> Class.forName(name).newInstance();
>
> if ((object instanceof Configurable) &&
> (conf != null)) {
> ((Configurable) object).init(conf);
> }
>
> So, the manager creates an instance of the object and,
> if the object implements Configurable, the manager
> calls its init method.
This is essentially the same thing that is done in turbine services except
they are cached...
> If there's more interest, I'll code something for
> Turbine services. It shouldn't require much code.
>
> - george
cool...but don't check in any more code that doesn't have documentation in
it...
-jon (who is a bit miffed that the OPaL stuff isn't documented/done)
------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Problems?: [EMAIL PROTECTED]