> > I'm especially interested in the possibility to override the factory > used for creating the component instances... any way to achieve that? >
I believe what you're looking for is the ComponentHandler interface. You can find the current Fortress component handlers in the package: org.apache.avalon.fortress.impl.handler (http://avalon.apache.org/api/org/apache/avalon/fortress/impl/handler/packag e-summary.html) To create your own, extend the AbstractComponentHandler. Then in your roles file, set it up as follows: <role name="com.myproject.Role"> <component shorthand="myshorthand" class="com.project.impl.Implementation " handler="com.project.handler.MyHandler"/> </role> You'll probably want to look at the source for the current component handlers as an example. jaaron --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
