Examples of ComponentConfig


Examples of com.alibaba.citrus.webx.config.WebxConfiguration.ComponentConfig

        beanFactory.registerResolvableDependency(WebxComponents.class, components);

        // 初始化每个component
        for (String componentName : componentNames) {
            ComponentConfig componentConfig = specifiedComponents.get(componentName);

            String componentPath = null;
            WebxController controller = null;

            if (componentConfig != null) {
                componentPath = componentConfig.getPath();
                controller = componentConfig.getController();
            }

            if (controller == null) {
                controller = (WebxController) BeanUtils.instantiateClass(componentsConfig.getDefaultControllerClass());
            }
View Full Code Here

Examples of com.intellij.openapi.components.ComponentConfig

    public PlatformDependentToolsInstaller() {

        //installing a component programmatically

        ComponentConfig config = new ComponentConfig();

        IdeaPluginDescriptor ideaPluginDescriptor = PluginManager.getPlugin(((PluginClassLoader)getClass().getClassLoader()).getPluginId());

        config.interfaceClass = PlatformDependentTools.class.getName();
        if (SystemInfo.isLinux) {
View Full Code Here

Examples of com.sun.facelets.tag.jsf.ComponentConfig

   * @param config
   */
  public ColumnsHandler(final ComponentConfig config) {
    super(config);
   
    final ComponentConfig columnConfig;
   
    TagAttribute idAttribute = config.getTag().getAttributes().get("id");
    if (idAttribute != null && idAttribute.isLiteral()) {
      columnConfig = new ColumnHandlerComponentConfig(config);
    } else {
View Full Code Here

Examples of com.sun.facelets.tag.jsf.ComponentConfig

        }

        public TagHandler createHandler(TagConfig cfg) throws FacesException,
                ELException {
            try {
                ComponentConfig ccfg = new ComponentConfigWrapper(cfg,
                        this.componentType, this.renderType);
                return (TagHandler) this.constructor
                        .newInstance(new Object[] { ccfg });
            } catch (InvocationTargetException e) {
                throw new FaceletException(e.getCause().getMessage(), e.getCause().getCause());
View Full Code Here

Examples of com.sun.facelets.tag.jsf.ComponentConfig

            this.renderType = renderType;
        }

        public TagHandler createHandler(TagConfig cfg) throws FacesException,
                ELException {
            ComponentConfig ccfg = new ComponentConfigWrapper(cfg,
                    this.componentType, this.renderType);
            return new ComponentHandler(ccfg);
        }
View Full Code Here

Examples of com.sun.facelets.tag.jsf.ComponentConfig

   * @param config
   */
  public ColumnsHandler(final ComponentConfig config) {
    super(config);
   
    final ComponentConfig columnConfig;
   
    TagAttribute idAttribute = config.getTag().getAttributes().get("id");
    if (idAttribute != null && idAttribute.isLiteral()) {
      columnConfig = new ComponentConfig() {

        private Tag tag;

        {
          Tag initialTag = config.getTag();
View Full Code Here

Examples of edu.uci.jforestsx.config.ComponentConfig

    configs = new HashMap<String, ComponentConfig>();
  }
 
  @SuppressWarnings("unchecked")
  public <T extends ComponentConfig> T getConfig(Class<T> _c) throws Exception {
    ComponentConfig config = configs.get(_c.getCanonicalName());
    if (config == null) {
      T newConfig = _c.newInstance();
      newConfig.init(this);
      configs.put(_c.getCanonicalName(), newConfig);
      return newConfig;
View Full Code Here

Examples of javax.faces.view.facelets.ComponentConfig

    private final String _rendererType;

    public ComponentTagHandlerDelegate(ComponentHandler delegate)
    {
        _delegate = delegate;
        ComponentConfig delegateComponentConfig = delegate.getComponentConfig();
        _componentType = delegateComponentConfig.getComponentType();
        _rendererType = delegateComponentConfig.getRendererType();
        _id = delegate.getTagAttribute("id");
    }
View Full Code Here

Examples of javax.faces.view.facelets.ComponentConfig

        else
        {
            _relocatableResourceHandler = null;
        }
       
        ComponentConfig delegateComponentConfig = delegate.getComponentConfig();
        _componentType = delegateComponentConfig.getComponentType();
        _rendererType = delegateComponentConfig.getRendererType();
        _id = delegate.getTagAttribute("id");
    }
View Full Code Here

Examples of javax.faces.view.facelets.ComponentConfig

                        Resource compositeComponentResource = new CompositeResouceWrapper(
                            resourceHandler.createResource(resourceName, _compositeLibraryName));
                       
                        if (compositeComponentResource != null)
                        {
                            ComponentConfig componentConfig = new ComponentConfigWrapper(tag,
                                    "javax.faces.NamingContainer", null);
                           
                            return new CompositeComponentResourceTagHandler(
                                    componentConfig, compositeComponentResource);
                        }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.