Examples of XMLAnnotationTypeManager


Examples of org.apache.webbeans.xml.XMLAnnotationTypeManager

     *         {@link BindingType} false otherwise
     */
    public static boolean isBindingAnnotation(Class<? extends Annotation> clazz)
    {
        Asserts.assertNotNull(clazz, "clazz parameter can not be null");
        XMLAnnotationTypeManager manager = XMLAnnotationTypeManager.getInstance();
        if (manager.isBindingTypeExist(clazz))
        {
            return true;
        }
        else if (clazz.isAnnotationPresent(BindingType.class))
        {
View Full Code Here

Examples of org.apache.webbeans.xml.XMLAnnotationTypeManager

     *         {@link BindingType} false otherwise
     */
    public static boolean isResourceAnnotation(Class<? extends Annotation> clazz)
    {
        Asserts.assertNotNull(clazz, "clazz parameter can not be null");
        XMLAnnotationTypeManager manager = XMLAnnotationTypeManager.getInstance();
        if (manager.isResourceExist(clazz))
        {
            return true;
        }
        else if (clazz.equals(Resource.class) ||
                 clazz.equals(EJB.class) ||
View Full Code Here

Examples of org.apache.webbeans.xml.XMLAnnotationTypeManager

     *         {@link InterceptorBindingType} false otherwise
     */
    public static boolean isInterceptorBindingAnnotation(Class<? extends Annotation> clazz)
    {
        Asserts.assertNotNull(clazz, "clazz parameter can not be null");
        XMLAnnotationTypeManager manager = XMLAnnotationTypeManager.getInstance();
        if (manager.isInterceptorBindingTypeExist(clazz))
        {
            return true;
        }
        else if (clazz.isAnnotationPresent(InterceptorBindingType.class))
        {
View Full Code Here

Examples of org.apache.webbeans.xml.XMLAnnotationTypeManager

     *         {@link Stereotype} false otherwise
     */
    public static boolean isStereoTypeAnnotation(Class<? extends Annotation> clazz)
    {
        Asserts.assertNotNull(clazz, "clazz parameter can not be null");
        XMLAnnotationTypeManager manager = XMLAnnotationTypeManager.getInstance();
        if (manager.isStereoTypeExist(clazz))
        {
            return true;
        }
        else if (clazz.isAnnotationPresent(Stereotype.class))
        {
View Full Code Here

Examples of org.apache.webbeans.xml.XMLAnnotationTypeManager

     *         {@link BindingType} false otherwise
     */
    public boolean isResourceAnnotation(Class<? extends Annotation> clazz)
    {
        Asserts.assertNotNull(clazz, "clazz parameter can not be null");
        XMLAnnotationTypeManager manager = XMLAnnotationTypeManager.getInstance();
        if (manager.isResourceExist(clazz))
        {
            return true;
        }
        else if (clazz.equals(PersistenceContext.class) ||
                 clazz.equals(PersistenceUnit.class) )
View Full Code Here

Examples of org.apache.webbeans.xml.XMLAnnotationTypeManager

     *         {@link javax.inject.Qualifier} false otherwise
     */
    public static boolean isQualifierAnnotation(Class<? extends Annotation> clazz)
    {
        Asserts.nullCheckForClass(clazz);
        XMLAnnotationTypeManager manager = XMLAnnotationTypeManager.getInstance();
        if (manager.hasBindingType(clazz))
        {
            return true;
        }
        else if (clazz.isAnnotationPresent(Qualifier.class))
        {
View Full Code Here

Examples of org.apache.webbeans.xml.XMLAnnotationTypeManager

     *         {@link javax.interceptor.InterceptorBinding} false otherwise
     */
    public static boolean isInterceptorBindingAnnotation(Class<? extends Annotation> clazz)
    {
        Asserts.nullCheckForClass(clazz);
        XMLAnnotationTypeManager manager = XMLAnnotationTypeManager.getInstance();
        if (manager.hasInterceptorBindingType(clazz))
        {
            return true;
        }
        else if (clazz.isAnnotationPresent(InterceptorBinding.class))
        {
View Full Code Here

Examples of org.apache.webbeans.xml.XMLAnnotationTypeManager

     *         {@link Stereotype} false otherwise
     */
    public static boolean isStereoTypeAnnotation(Class<? extends Annotation> clazz)
    {
        Asserts.nullCheckForClass(clazz);
        XMLAnnotationTypeManager manager = XMLAnnotationTypeManager.getInstance();
        if (manager.hasStereoType(clazz))
        {
            return true;
        }
        else if (clazz.isAnnotationPresent(Stereotype.class))
        {
View Full Code Here

Examples of org.apache.webbeans.xml.XMLAnnotationTypeManager

     *         {@link javax.inject.Qualifier} false otherwise
     */
    public static boolean isQualifierAnnotation(Class<? extends Annotation> clazz)
    {
        Asserts.nullCheckForClass(clazz);
        XMLAnnotationTypeManager manager = XMLAnnotationTypeManager.getInstance();
        if (manager.hasBindingType(clazz))
        {
            return true;
        }
        else if (clazz.isAnnotationPresent(Qualifier.class))
        {
View Full Code Here

Examples of org.apache.webbeans.xml.XMLAnnotationTypeManager

     *         {@link javax.interceptor.InterceptorBinding} false otherwise
     */
    public static boolean isInterceptorBindingAnnotation(Class<? extends Annotation> clazz)
    {
        Asserts.nullCheckForClass(clazz);
        XMLAnnotationTypeManager manager = XMLAnnotationTypeManager.getInstance();
        if (manager.hasInterceptorBindingType(clazz))
        {
            return true;
        }
        else if (clazz.isAnnotationPresent(InterceptorBinding.class))
        {
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.