Package com.ecyrd.simplejmx

Examples of com.ecyrd.simplejmx.MBean


        }       
    }

    public static ObjectName getObjectName( Object o ) throws NotCompliantMBeanException
    {
        MBean mb = o.getClass().getAnnotation( MBean.class );
        if( mb != null )
        {
            try
            {
                return new ObjectName( mb.name() );
            }
            catch( Exception e ) {}
        }
       
        throw new NotCompliantMBeanException("Object must be annotated with @MBean and have a proper name attribute");
View Full Code Here

TOP

Related Classes of com.ecyrd.simplejmx.MBean

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.