Package org.jspresso.framework.model.descriptor

Examples of org.jspresso.framework.model.descriptor.DescriptorException


          }
          registerService(
              Class.forName(ObjectUtils.extractRawClassName(nextPair.getKey())),
              delegate);
        } catch (ClassNotFoundException ex) {
          throw new DescriptorException(ex);
        } catch (InstantiationException ex) {
          throw new DescriptorException(ex);
        } catch (IllegalAccessException ex) {
          throw new DescriptorException(ex);
        }
      }
      serviceDelegateClassNames = null;
    }
    if (serviceDelegateBeanNames != null && beanFactory != null) {
      for (Entry<String, String> nextPair : serviceDelegateBeanNames.entrySet()) {
        try {
          registerService(Class.forName(ObjectUtils
              .extractRawClassName(nextPair.getKey())),
              beanFactory.getBean(nextPair.getValue(),
                  IComponentService.class));
        } catch (ClassNotFoundException ex) {
          throw new DescriptorException(ex);
        }
      }
      serviceDelegateBeanNames = null;
    }
  }
View Full Code Here


      for (String lifecycleInterceptorClassName : lifecycleInterceptorClassNames) {
        try {
          registerLifecycleInterceptor((ILifecycleInterceptor<?>) Class
              .forName(lifecycleInterceptorClassName).newInstance());
        } catch (InstantiationException ex) {
          throw new DescriptorException(ex);
        } catch (IllegalAccessException ex) {
          throw new DescriptorException(ex);
        } catch (ClassNotFoundException ex) {
          throw new DescriptorException(ex);
        }
      }
      lifecycleInterceptorClassNames = null;
    }
    if (lifecycleInterceptorBeanNames != null && beanFactory != null) {
View Full Code Here

TOP

Related Classes of org.jspresso.framework.model.descriptor.DescriptorException

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.