Package org.jboss.metatype.spi.types

Examples of org.jboss.metatype.spi.types.MetaTypeBuilder


    * @return the meta type when it is special
    */
   @SuppressWarnings("deprecation")
   public MetaType isBuilder(TypeInfo typeInfo)
   {
      MetaTypeBuilder builder = null;
      synchronized (builders)
      {
         WeakReference<MetaTypeBuilder> weak = builders.get(typeInfo.getType());
         if (weak != null)
            builder = weak.get();
      }
      if (builder == null)
         return null;
      return builder.buildMetaType();
   }
View Full Code Here


    * @param typeInfo the type info
    * @return the meta type when it is special
    */
   public MetaType isBuilder(TypeInfo typeInfo)
   {
      MetaTypeBuilder builder = null;
      synchronized (builders)
      {
         WeakReference<MetaTypeBuilder> weak = builders.get(typeInfo.getType());
         if (weak != null)
            builder = weak.get();
      }
      if (builder == null)
         return null;
      return builder.buildMetaType();
   }
View Full Code Here

    * @return the meta type when it is special
    */
   @SuppressWarnings("deprecation")
   public MetaType isBuilder(TypeInfo typeInfo)
   {
      MetaTypeBuilder builder = null;
      synchronized (builders)
      {
         WeakReference<MetaTypeBuilder> weak = builders.get(typeInfo.getType());
         if (weak != null)
            builder = weak.get();
      }
      if (builder == null)
         return null;
      return builder.buildMetaType();
   }
View Full Code Here

    * @return the meta type when it is special
    */
   @SuppressWarnings("deprecation")
   public MetaType isBuilder(TypeInfo typeInfo)
   {
      MetaTypeBuilder builder = null;
      synchronized (builders)
      {
         WeakReference<MetaTypeBuilder> weak = builders.get(typeInfo.getType());
         if (weak != null)
            builder = weak.get();
      }
      if (builder == null)
         return null;
      return builder.buildMetaType();
   }
View Full Code Here

/* 364 */     return result;
/*     */   }
/*     */
/*     */   public MetaType isBuilder(TypeInfo typeInfo)
/*     */   {
/* 375 */     MetaTypeBuilder builder = null;
/* 376 */     synchronized (this.builders)
/*     */     {
/* 378 */       WeakReference weak = (WeakReference)this.builders.get(typeInfo.getType());
/* 379 */       if (weak != null)
/* 380 */         builder = (MetaTypeBuilder)weak.get();
/*     */     }
/* 382 */     if (builder == null)
/* 383 */       return null;
/* 384 */     return builder.buildMetaType();
/*     */   }
View Full Code Here

    * @param typeInfo the type info
    * @return the meta type when it is special
    */
   public MetaType isBuilder(TypeInfo typeInfo)
   {
      MetaTypeBuilder builder = null;
      synchronized (builders)
      {
         WeakReference<MetaTypeBuilder> weak = builders.get(typeInfo.getType());
         if (weak != null)
            builder = weak.get();
      }
      if (builder == null)
         return null;
      return builder.buildMetaType();
   }
View Full Code Here

TOP

Related Classes of org.jboss.metatype.spi.types.MetaTypeBuilder

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.