Examples of ComponentInfo


Examples of org.codehaus.loom.components.util.info.ComponentInfo

        invalidate();

        if( null != object &&
            !m_componentProfile.getTemplate().isDisableProxy() )
        {
            final ComponentInfo blockInfo = m_componentProfile.getInfo();
            final Class[] interfaces = getServiceClasses( object,
                                                          blockInfo.getServices() );
            m_invocationHandler =
            new BlockInvocationHandler( object, interfaces );
        }
        m_object = object;
    }
View Full Code Here

Examples of org.eclipse.jst.jsf.common.runtime.internal.model.component.ComponentInfo

    private ComponentInfo buildComponentTree(final Node root,
            final DTUIViewRoot viewRoot, final IDocument document,
            final XMLViewObjectConstructionStrategy objectConstructionStrategy)
    {
        final ComponentInfo dummyRoot = ComponentFactory.createComponentInfo(
                null, null, null, true);
        // populate the dummy root
        recurseDOMModel(root, dummyRoot, document, objectConstructionStrategy);

        // try to extract the view defined root from the dummyRoot and update
        // 'root' with its children.
        populateViewRoot(viewRoot, dummyRoot.getChildren());
        return viewRoot;
    }
View Full Code Here

Examples of org.glassfish.apf.ComponentInfo

            // new package
            result.add(classPackage,
                    processAnnotations(ctx, ElementType.PACKAGE, classPackage));
        }

        ComponentInfo info = null;
        try {
            info = scanner.getComponentInfo(c);
        } catch (NoClassDefFoundError err) {
            // issue 456: allow verifier to report this issue
            AnnotationProcessorException ape =
                    new AnnotationProcessorException(
                            AnnotationUtils.getLocalString(
                                    "enterprise.deployment.annotation.classnotfounderror",
                                    "Class [ {0} ] not found. Error while loading [ {1} ]",
                                    new Object[]{err.getMessage(), c}));
            ctx.getErrorHandler().error(ape);
            // let's continue to the next class instead of aborting the whole
            // annotation processing
            return result;
        }

        // process the class itself.
        AnnotatedElementHandler handler= ctx.getHandler();
        logStart(handler, ElementType.TYPE,c);
        result.add(c, processAnnotations(ctx, c));
       
        // now dive into the fields.
        for (Field field : info.getFields()) {
            result.add(field,processAnnotations(ctx, ElementType.FIELD, field));
        }
       
        // constructors...
        for (Constructor constructor : info.getConstructors()) {
            logStart(ctx.getHandler(), ElementType.CONSTRUCTOR, constructor);
            result.add(constructor, processAnnotations(ctx, constructor));
           
            // parameters
            processParameters(ctx, constructor.getParameterAnnotations());
           
            logEnd(ctx.getHandler(), ElementType.CONSTRUCTOR, constructor);
           
        }
       
        // methods...
        for (Method method : info.getMethods()) {
            logStart(ctx.getHandler(), ElementType.METHOD, method);
            result.add(method, processAnnotations(ctx, method));
           
            // parameters
            processParameters(ctx, method.getParameterAnnotations());
View Full Code Here

Examples of org.ytoh.configurations.util.ComponentInfo

        /**
         *
         * @return
         */
        public ExperimentRun build() {
            final ComponentInfo functionComponent = getComponentInfo(function);
            final ComponentInfo methodComponent = getComponentInfo(method);
            final ComponentInfo solverComponent = getComponentInfo(solver);
            final List<ComponentInfo> stopConditonComponents = new ArrayList<ComponentInfo>();

            for (StopCondition stopCondition : method.getStopConditions()) {
                stopConditonComponents.add(getComponentInfo(stopCondition));
            }
View Full Code Here

Examples of org.zkoss.zk.ui.metainfo.ComponentInfo

    final Execution exec = Executions.getCurrent();
    final Object curInfo = ComponentsCtrl.getCurrentInfo();
    if (curInfo != null) {
      ComponentsCtrl.setCurrentInfo((ComponentInfo)null); //to avoid mis-use
      if (curInfo instanceof ComponentInfo) {
        final ComponentInfo compInfo = (ComponentInfo)curInfo;
        _def = compInfo.getComponentDefinition();
        addSharedAnnotationMap(_def.getAnnotationMap());
        addSharedAnnotationMap(compInfo.getAnnotationMap());
      } else {
        _def = (ComponentDefinition)curInfo;
        addSharedAnnotationMap(_def.getAnnotationMap());
      }
    } else {
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.