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 | Description |
---|---|---|
ObjectFactoryGenerator |
privateOFG |
|
ObjectFactoryGenerator |
publicOFG |
Modifier and Type | Method | 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 © 2018 Oracle Corporation. All rights reserved.