Hello,

I want to subclass the org.apache.openejb.config.ConfigurationFactory class
in order to customize the deployer chain. Unfortunately the chain is
constructed inside ConfigurationFactory(offline, preAutoConfigDeployer)
constructor, so when I use the ConfigurationFactory(offline, deployerChain,
configuration) constructor I have to copy-paste a huge portion of the code
that initializes the deployer chain. Hence my suggestion: It would be great
if the code that initializes the deployer chain is extracted in a protected
method that initializes the passed Chain -> protected void
initDeployerChain(Chain chain). In that way subclasses can reuse that code
while being able to painlessly add/remove dynamic deployers.

Kind regards,
Svetlin

Reply via email to