Package org.apache.tapestry.ioc.annotations

Examples of org.apache.tapestry.ioc.annotations.Marker


        Scope scope = serviceImplementation.getAnnotation(Scope.class);

        _scope = scope != null ? scope.value() : IOCConstants.DEFAULT_SCOPE;

        Marker marker = serviceImplementation.getAnnotation(Marker.class);

        if (marker != null)
        {
            InternalUtils.validateMarkerAnnotations(marker.value());
            _markers.addAll(Arrays.asList(marker.value()));
        }

        return this;
    }
View Full Code Here


        addServiceDef(serviceDef);
    }

    private Class extractMarker(Method method)
    {
        Marker annotation = method.getAnnotation(Marker.class);

        return annotation == null ? null : annotation.value();
    }
View Full Code Here

        Scope scope = serviceImplementation.getAnnotation(Scope.class);

        _scope = scope != null ? scope.value() : IOCConstants.DEFAULT_SCOPE;

        Marker marker = serviceImplementation.getAnnotation(Marker.class);

        _marker = marker != null ? marker.value() : null;

        return this;
    }
View Full Code Here

TOP

Related Classes of org.apache.tapestry.ioc.annotations.Marker

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.