Package org.jboss.mx.metadata

Examples of org.jboss.mx.metadata.StandardMetaData.build()


               String key = (String)it.next();
               builder.setProperty(key, properties.get(key));
            }
           
            // build the metadata
            MBeanInfo standardInfo = builder.build();
           
            // StandardMetaData is used by the MBean server to introspect
            // standard MBeans. We need to now turn that Standard metadata into
            // ModelMBean metadata (including operation mapping for attributes)
            info = MBeanInfoConversion.toModelMBeanInfo(standardInfo, CREATE_ATTRIBUTE_OPERATION_MAPPING);
View Full Code Here


            {
               String key = (String)it.next();
               builder.setProperty(key, properties.get(key));
            }
     
            info = builder.build();
         }
         // we must try to load this MBean (as the superclass does), even if only NullPersistence
         // is used - MMM
         load();
      }
View Full Code Here

   private final MBeanInfo buildMBeanInfo(Object implementation, Class mbeanInterface)
      throws NotCompliantMBeanException
   {
      StandardMetaData metaData = new StandardMetaData(implementation, mbeanInterface);
      this.mbeanInterface = metaData.getMBeanInterface();
      MBeanInfo info = metaData.build();

      String className = getClassName(info);
      String mainDescription = getDescription(info);
      MBeanAttributeInfo[] attributes = info.getAttributes();
      MBeanConstructorInfo[] constructors = info.getConstructors();
View Full Code Here

      if (implementation == null)
         throw new IllegalArgumentException("Null implementation");

      StandardMetaData metaData = new StandardMetaData(implementation, mbeanInterface);
      this.mbeanInterface = metaData.getMBeanInterface();
      return metaData.build();
   }
  
   // Inner Classes -----------------------------------------------
}
View Full Code Here

               String key = (String)it.next();
               builder.setProperty(key, properties.get(key));
            }

            // build the metadata
            MBeanInfo standardInfo = builder.build();

            // StandardMetaData is used by the MBean server to introspect
            // standard MBeans. We need to now turn that Standard metadata into
            // ModelMBean metadata (including operation mapping for attributes)
            minfo = MBeanInfoConversion.toModelMBeanInfo(standardInfo, CREATE_ATTRIBUTE_OPERATION_MAPPING);
View Full Code Here

            {
               String key = (String)it.next();
               builder.setProperty(key, properties.get(key));
            }

            minfo = (ModelMBeanInfo) builder.build();
         }
         // Sotre the ModelMBeanInfo
         this.setModelMBeanInfo(minfo);

         // we must try to load this MBean (as the superclass does), even if only NullPersistence
View Full Code Here

/*     */         {
/* 219 */           String key = (String)it.next();
/* 220 */           builder.setProperty(key, properties.get(key));
/*     */         }
/*     */
/* 224 */         MBeanInfo standardInfo = builder.build();
/*     */
/* 229 */         minfo = MBeanInfoConversion.toModelMBeanInfo(standardInfo, true);
/*     */       }
/* 234 */       else if (resourceType.endsWith(".xml"))
/*     */       {
View Full Code Here

/*     */         {
/* 249 */           String key = (String)it.next();
/* 250 */           builder.setProperty(key, properties.get(key));
/*     */         }
/*     */
/* 253 */         minfo = (ModelMBeanInfo)builder.build();
/*     */       }
/*     */
/* 256 */       setModelMBeanInfo(minfo);
/*     */
/* 260 */       load();
View Full Code Here

/* 344 */     if (this.implementation == null) {
/* 345 */       throw new IllegalArgumentException("Null implementation");
/*     */     }
/* 347 */     StandardMetaData metaData = new StandardMetaData(this.implementation, this.mbeanInterface);
/* 348 */     this.mbeanInterface = metaData.getMBeanInterface();
/* 349 */     return metaData.build();
/*     */   }
/*     */ }

/* Location:           /home/mnovotny/projects/EMBEDDED_JBOSS_BETA3_COMMUNITY/embedded/output/lib/embedded-jboss/lib/jboss-embedded-all.jar
* Qualified Name:     org.jboss.mx.standardmbean.StandardMBeanImpl
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.