Package javax.management.openmbean

Examples of javax.management.openmbean.OpenMBeanParameterInfo


                      String description) {
        if (equal(name, pi.getName()) &&
                equal(description, pi.getDescription()))
            return pi;
        else if (pi instanceof OpenMBeanParameterInfo) {
            OpenMBeanParameterInfo opi = (OpenMBeanParameterInfo) pi;
            return new OpenMBeanParameterInfoSupport(name,
                                                     description,
                                                     opi.getOpenType(),
                                                     pi.getDescriptor());
        } else {
            return new MBeanParameterInfo(name,
                                          pi.getType(),
                                          description,
View Full Code Here


/*     */         continue;
/* 307 */       MBeanParameterInfo[] parameters = operations[i].getSignature();
/* 308 */       boolean match = true;
/* 309 */       for (int p = 0; (p < parameters.length) && (match); p++)
/*     */       {
/* 311 */         OpenMBeanParameterInfo openMBeanParameterInfo = (OpenMBeanParameterInfo)parameters[p];
/* 312 */         if (!signature[p].equals(openMBeanParameterInfo.getOpenType()))
/* 313 */           match = false;
/*     */       }
/* 315 */       if (match)
/* 316 */         return (OpenMBeanOperationInfo)operations[i];
/*     */     }
View Full Code Here

/*     */     {
/* 396 */       MBeanParameterInfo[] parameters = this.operation.getSignature();
/* 397 */       Object[] arguments = new Object[args.length];
/* 398 */       for (int i = 0; i < parameters.length; i++)
/*     */       {
/* 400 */         OpenMBeanParameterInfo parameter = (OpenMBeanParameterInfo)parameters[i];
/* 401 */         arguments[i] = MXBeanUtils.construct(parameter.getOpenType(), args[i], this.operation.getName());
/*     */       }
/*     */
/* 404 */       Object result = MXBeanInvocationHandler.this.mbeanServerConnection.invoke(MXBeanInvocationHandler.this.objectName, this.operation.getName(), arguments, this.signature);
/*     */
/* 406 */       return MXBeanUtils.reconstruct(this.operation.getReturnOpenType(), this.type, result, this.operation.getName());
View Full Code Here

TOP

Related Classes of javax.management.openmbean.OpenMBeanParameterInfo

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.