/* 248 */ TypeBinding deploymentType = schemaBinding.getType(deploymentTypeQName);
/* 249 */ deploymentType.setHandler(new DefaultElementHandler()
/* */ {
/* */ public Object startElement(Object parent, QName name, ElementBinding element)
/* */ {
/* 253 */ return new AbstractKernelDeployment();
/* */ }
/* */ });
/* 258 */ deploymentType.pushInterceptor(classloaderQName, new DefaultElementInterceptor()
/* */ {
/* */ public void add(Object parent, Object child, QName name)
/* */ {
/* 262 */ AbstractKernelDeployment deployment = (AbstractKernelDeployment)parent;
/* 263 */ AbstractClassLoaderMetaData classloader = (AbstractClassLoaderMetaData)child;
/* 264 */ deployment.setClassLoader(classloader);
/* */
/* 266 */ List beans = deployment.getBeanFactories();
/* 267 */ if (beans == null)
/* */ {
/* 269 */ beans = new ArrayList();
/* 270 */ deployment.setBeanFactories(beans);
/* */ }
/* 272 */ beans.add(classloader);
/* */ }
/* */ });
/* 277 */ deploymentType.pushInterceptor(beanQName, new DefaultElementInterceptor()
/* */ {
/* */ public void add(Object parent, Object child, QName name)
/* */ {
/* 281 */ AbstractKernelDeployment deployment = (AbstractKernelDeployment)parent;
/* 282 */ AbstractBeanMetaData bean = (AbstractBeanMetaData)child;
/* 283 */ List beans = deployment.getBeanFactories();
/* 284 */ if (beans == null)
/* */ {
/* 286 */ beans = new ArrayList();
/* 287 */ deployment.setBeanFactories(beans);
/* */ }
/* 289 */ beans.add(bean);
/* */ }
/* */ });
/* 294 */ deploymentType.pushInterceptor(beanFactoryQName, new DefaultElementInterceptor()
/* */ {
/* */ public void add(Object parent, Object child, QName name)
/* */ {
/* 298 */ AbstractKernelDeployment deployment = (AbstractKernelDeployment)parent;
/* 299 */ AbstractBeanMetaData bean = (AbstractBeanMetaData)child;
/* 300 */ List beans = deployment.getBeanFactories();
/* 301 */ if (beans == null)
/* */ {
/* 303 */ beans = new ArrayList();
/* 304 */ deployment.setBeanFactories(beans);
/* */ }
/* 306 */ beans.add(bean);
/* */ }
/* */ });
/* 311 */ TypeBinding beanType = schemaBinding.getType(beanTypeQName);