185186187188189190191192193194195196197198
_bean.inject(filter, env); // InjectIntrospector.configure(filter); // Initialize bean properties ContainerProgram init = config.getInit(); if (init != null) init.configure(filter); _bean.postConstruct(filter); filter.init(config);
169170171172173174175176177178179
public BeanFactory<T> init(ConfigProgram init) { if (init != null) { if (_init == null) { _init = new ContainerProgram(); _injectionTarget = new InjectionTargetFilter<T>(_injectionTarget, _init); } _init.addProgram(init); }
713714715716717718719720721722723
ClassLoader oldLoader = thread.getContextClassLoader(); try { thread.setContextClassLoader(server.getClassLoader()); ContainerProgram initContainer = getInitProgram(); EjbProducer<?> producer = server.getProducer(); producer.setInitProgram(initContainer);
121122123124125126127128129
* Creates the form-login-config */ public ContainerProgram createFormLoginConfig() { if (_formLoginConfig == null) _formLoginConfig = new ContainerProgram(); return _formLoginConfig; }
132133134135136137138139140
* Creates the init */ public ContainerProgram createInit() { if (_init == null) _init = new ContainerProgram(); return _init; }
128129130131132133134135136137138
Class type = factory.getDriverClassByUrl(ResourceAdapter.class, url); setClass(type.getName()); ContainerProgram program = factory.getUrlProgram(url); if (program == null) { } else if (_init == null) _init = program;
137138139140141142143144145
* Adds an init program. */ public void addBuilderProgram(ConfigProgram init) { if (_builderProgram == null) _builderProgram = new ContainerProgram(); _builderProgram.addProgram(init); }
958959960961962963964965966
* Adds an init program. */ public void addInitProgram(ConfigProgram init) { if (_initProgram == null) _initProgram = new ContainerProgram(); _initProgram.addProgram(init); }
969970971972973974975976977
* Adds an undefined value, e.g. env-entry */ public void addBuilderProgram(ConfigProgram init) { if (_serverProgram == null) _serverProgram = new ContainerProgram(); _serverProgram.addProgram(init); }
977978979980981982983984985
} public void setInit(ContainerProgram init) { if (_initProgram == null) _initProgram = new ContainerProgram(); _initProgram.addProgram(init); }