Examples of injectionType()


Examples of org.qi4j.api.composite.DependencyDescriptor.injectionType()

            Class<? extends Annotation> clazz = annotation.annotationType();
            if( Uses.class.equals( clazz ) || Service.class.equals( clazz ) )
            {
                boolean used = false;
                if( dependencyDescriptor.injectionType().equals( first( this.descriptor.descriptor().types() )) )
                {
                    ServiceUsage usage;
                    if( ownerDescriptor instanceof MixinDetailDescriptor )
                    {
                        MixinDetailDescriptor mixinDescriptor = (MixinDetailDescriptor) ownerDescriptor;
View Full Code Here

Examples of org.qi4j.api.composite.DependencyDescriptor.injectionType()

        classNameLabel.setText( dependencyDescriptor.injectedClass().getSimpleName() );
        classNameLabel.setToolTipText( dependencyDescriptor.injectedClass().getName() );
        annotationLabel.setText( "@" + dependencyDescriptor.injectionAnnotation().annotationType().getSimpleName() );
        optionalLabel.setText( Boolean.toString( dependencyDescriptor.optional() ) );
        injectionTypeLabel.setText( Classes.simpleGenericNameOf( dependencyDescriptor.injectionType() ) );
        injectionTypeLabel.setToolTipText( dependencyDescriptor.injectionType().toString() );
    }

    /**
     * Check whether the type is a dependency field (Service and Use only)
View Full Code Here

Examples of org.qi4j.api.composite.DependencyDescriptor.injectionType()

        classNameLabel.setText( dependencyDescriptor.injectedClass().getSimpleName() );
        classNameLabel.setToolTipText( dependencyDescriptor.injectedClass().getName() );
        annotationLabel.setText( "@" + dependencyDescriptor.injectionAnnotation().annotationType().getSimpleName() );
        optionalLabel.setText( Boolean.toString( dependencyDescriptor.optional() ) );
        injectionTypeLabel.setText( Classes.simpleGenericNameOf( dependencyDescriptor.injectionType() ) );
        injectionTypeLabel.setToolTipText( dependencyDescriptor.injectionType().toString() );
    }

    /**
     * Check whether the type is a dependency field (Service and Use only)
     *
 
View Full Code Here

Examples of org.qi4j.api.composite.DependencyDescriptor.injectionType()

            writeString( "- name: " + dependencyDescriptor.injectedClass().getSimpleName() );
            writeString( "    * annotation: @" + dependencyDescriptor.injectionAnnotation()
                .annotationType()
                .getSimpleName() );
            writeString( "    * optional: " + Boolean.toString( dependencyDescriptor.optional() ) );
            writeString( "    * type: " + dependencyDescriptor.injectionType().getClass().getSimpleName() );
        }
    }

    private void writeTypeMethodsPage( Object objectDesciptor )
    {
View Full Code Here

Examples of org.qi4j.api.composite.DependencyDescriptor.injectionType()

                    {
                        DependencyDescriptor descriptor = (DependencyDescriptor) visited;
                        Node node = document.createElement( "dependency" );

                        addAttribute( "annotation", descriptor.injectionAnnotation().toString(), node );
                        addAttribute( "injection", descriptor.injectionType().toString(), node );
                        addAttribute( "optional", Boolean.toString( descriptor.optional() ), node );

                        current.push( node );
                    }
                    else
View Full Code Here

Examples of org.qi4j.api.composite.DependencyDescriptor.injectionType()

                    {
                        DependencyDescriptor descriptor = (DependencyDescriptor) visited;
                        element = document.createElement( "dependency" );

                        addAttribute( "annotation", descriptor.injectionAnnotation().toString(), element );
                        addAttribute( "injection", descriptor.injectionType().toString(), element );
                        addAttribute( "optional", Boolean.toString( descriptor.optional() ), element );
                    }
                    else
                    {
                        element = document.createElement( visited.getClass().getSimpleName() );
View Full Code Here

Examples of org.qi4j.api.composite.MethodDescriptor.injectionType()

                    {
                        DependencyDescriptor descriptor = (DependencyDescriptor) visited;
                        Node node = document.createElement( "dependency" );

                        addAttribute( "annotation", descriptor.injectionAnnotation().toString(), node );
                        addAttribute( "injection", descriptor.injectionType().toString(), node );
                        addAttribute( "optional", Boolean.toString( descriptor.optional() ), node );

                        current.push( node );
                    }
                    else
View Full Code Here

Examples of org.qi4j.api.composite.MethodDescriptor.injectionType()

                    {
                        DependencyDescriptor descriptor = (DependencyDescriptor) visited;
                        element = document.createElement( "dependency" );

                        addAttribute( "annotation", descriptor.injectionAnnotation().toString(), element );
                        addAttribute( "injection", descriptor.injectionType().toString(), element );
                        addAttribute( "optional", Boolean.toString( descriptor.optional() ), element );
                    }
                    else
                    {
                        element = document.createElement( visited.getClass().getSimpleName() );
View Full Code Here

Examples of org.qi4j.api.composite.TransientDescriptor.injectionType()

                    {
                        DependencyDescriptor descriptor = (DependencyDescriptor) visited;
                        Node node = document.createElement( "dependency" );

                        addAttribute( "annotation", descriptor.injectionAnnotation().toString(), node );
                        addAttribute( "injection", descriptor.injectionType().toString(), node );
                        addAttribute( "optional", Boolean.toString( descriptor.optional() ), node );

                        current.push( node );
                    }
                    else
View Full Code Here

Examples of org.qi4j.api.composite.TransientDescriptor.injectionType()

                    {
                        DependencyDescriptor descriptor = (DependencyDescriptor) visited;
                        element = document.createElement( "dependency" );

                        addAttribute( "annotation", descriptor.injectionAnnotation().toString(), element );
                        addAttribute( "injection", descriptor.injectionType().toString(), element );
                        addAttribute( "optional", Boolean.toString( descriptor.optional() ), element );
                    }
                    else
                    {
                        element = document.createElement( visited.getClass().getSimpleName() );
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.