Package com.sun.jsftemplating.component.factory

Examples of com.sun.jsftemplating.component.factory.ComponentFactory


     *
     *  @return The new {@link ComponentFactory}.
     */
    protected ComponentFactory createFactory() {
  // Create it...
  ComponentFactory factory = null;
  try {
      Class cls = Util.loadClass(_factoryClass, this);
      factory = (ComponentFactory) cls.newInstance();
  } catch (ClassNotFoundException ex) {
      throw new RuntimeException(ex);
  } catch (InstantiationException ex) {
      throw new RuntimeException(ex);
  } catch (IllegalAccessException ex) {
      throw new RuntimeException(ex);
  }

  // Set the extraInfo if any...
  if (_extraInfo != null) {
      factory.setExtraInfo(_extraInfo);
  }

  // Return the new ComponentFactory
  return factory;
    }
View Full Code Here

TOP

Related Classes of com.sun.jsftemplating.component.factory.ComponentFactory

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.