Package org.jboss.metatype.api.types

Examples of org.jboss.metatype.api.types.SimpleMetaType


/*     */   public static <T extends Serializable> SimpleValue<T> wrap(T object)
/*     */   {
/*  56 */     if (object == null)
/*  57 */       return null;
/*  58 */     String className = object.getClass().getName();
/*  59 */     SimpleMetaType metaType = SimpleMetaType.resolve(className);
/*  60 */     return new SimpleValueSupport(metaType, object);
/*     */   }
View Full Code Here

TOP

Related Classes of org.jboss.metatype.api.types.SimpleMetaType

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.