DualObjectFactoryGenerator.publicOFG and DualObjectFactoryGenerator.privateOFG gives you access to ObjectFactory s in both packages, if you need to. author: Kohsuke Kawaguchi