Package org.jboss.managed.api.annotation

Examples of org.jboss.managed.api.annotation.ManagementObjectRef


/* 323 */         if ("class".equals(propertyInfo.getName())) {
/*     */           continue;
/*     */         }
/* 326 */         ManagementProperty managementProperty = (ManagementProperty)propertyInfo.getUnderlyingAnnotation(ManagementProperty.class);
/* 327 */         ManagementObjectID id = (ManagementObjectID)propertyInfo.getUnderlyingAnnotation(ManagementObjectID.class);
/* 328 */         ManagementObjectRef ref = (ManagementObjectRef)propertyInfo.getUnderlyingAnnotation(ManagementObjectRef.class);
/* 329 */         ManagementRuntimeRef runtimeRef = (ManagementRuntimeRef)propertyInfo.getUnderlyingAnnotation(ManagementRuntimeRef.class);
/* 330 */         HashMap propAnnotations = new HashMap();
/* 331 */         if (managementProperty != null)
/* 332 */           propAnnotations.put(ManagementProperty.class.getName(), managementProperty);
/* 333 */         if (id != null)
View Full Code Here


/* 709 */     if (MANAGED_OBJECT_META_TYPE == propertyType)
/*     */     {
/* 711 */       if (!(value instanceof Serializable)) {
/* 712 */         throw new IllegalStateException("Object is not serializable: " + value.getClass().getName());
/*     */       }
/* 714 */       ManagementObjectRef ref = (ManagementObjectRef)property.getAnnotations().get(ManagementObjectRef.class.getName());
/* 715 */       String moName = ref != null ? ref.name() : value.getClass().getName();
/* 716 */       String moNameType = ref != null ? ref.type() : "";
/* 717 */       ManagedObject mo = initManagedObject((Serializable)value, moName, moNameType);
/* 718 */       return new GenericValueSupport(MANAGED_OBJECT_META_TYPE, mo);
/*     */     }
/* 720 */     if (propertyType.isArray())
/*     */     {
View Full Code Here

            if ("class".equals(propertyInfo.getName()))
               continue;

            ManagementProperty managementProperty = getAnnotation(ManagementProperty.class, propertyInfo, metaData);
            ManagementObjectID id = getAnnotation(ManagementObjectID.class, propertyInfo, metaData);
            ManagementObjectRef ref = getAnnotation(ManagementObjectRef.class, propertyInfo, metaData);
            ManagementRuntimeRef runtimeRef = getAnnotation(ManagementRuntimeRef.class, propertyInfo, metaData);
            RunStateProperty rsp = getAnnotation(RunStateProperty.class, propertyInfo, metaData);
            Masked masked = getAnnotation(Masked.class, propertyInfo, metaData);
            DefaultValueBuilderFactory defaultsFactory = getAnnotation(DefaultValueBuilderFactory.class, propertyInfo, metaData);
            HashMap<String, Annotation> propAnnotations = new HashMap<String, Annotation>();
View Full Code Here

TOP

Related Classes of org.jboss.managed.api.annotation.ManagementObjectRef

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.