@Override public Factory createFactory() { return new FactoryImpl(new DefaultCoreFactory(), createEnvironment()); }
private Factory createFactory() { //use existing environment to use correct class loader return new FactoryImpl(new DefaultCoreFactory(), factory.getEnvironment()); }
/** * The core factory. */ @Override public CoreFactory Core() { if (core == null) { //During deserialization, the transient field core, is null core = new DefaultCoreFactory(); core.setMainFactory(this); } return core; }
public TypeFactory() { this(new FactoryImpl(new DefaultCoreFactory(), new StandardEnvironment())); }
public static Factory createFactory() { return new FactoryImpl(new DefaultCoreFactory(), new StandardEnvironment()); }
/** * The core factory. */ @Override public CoreFactory Core() { if (core == null) { core = new DefaultCoreFactory(); } return core; }
Factory factory = new FactoryImpl(new DefaultCoreFactory(), new StandardEnvironment());
private static Factory createFactory() { Environment env = getEnvironment(); Factory factory = new FactoryImpl(new DefaultCoreFactory(), env); return factory; }
@Override public Factory createFactory() { return new FactoryImpl(new DefaultCoreFactory(), createEnvironment()); }
protected Factory createFactory() { Factory factory = new FactoryImpl(new DefaultCoreFactory(), new StandardEnvironment()); factory.getEnvironment().setNoClasspath(true); factory.getEnvironment().setCommentEnabled(false); return factory; }
protected Factory createFactory() { Factory factory = new FactoryImpl(new DefaultCoreFactory(), new StandardEnvironment()); factory.getEnvironment().setNoClasspath(true); factory.getEnvironment().setCommentEnabled(false); return factory; }