public final class DualObjectFactoryGenerator extends ObjectFactoryGenerator
ObjectFactoryGenerator
used when we generate
interfaces and implementations in separate packages.
publicOFG
and privateOFG
gives you access to
ObjectFactory
s in both packages, if you need to.
Modifier and Type | Field and Description |
---|---|
ObjectFactoryGenerator |
privateOFG |
ObjectFactoryGenerator |
publicOFG |
Modifier and Type | Method and Description |
---|---|
JDefinedClass |
getObjectFactory()
Returns the private version (which is what gets used at runtime.)
|
public final ObjectFactoryGenerator publicOFG
public final ObjectFactoryGenerator privateOFG
public JDefinedClass getObjectFactory()
getObjectFactory
in class ObjectFactoryGenerator
Copyright © 2021 JBoss by Red Hat. All rights reserved.