Code example for MalformedObjectNameException

Methods: printStackTrace

0
 
    static { 
        try { 
            WLS_RUNTIME_SERVICE_MBEAN = new ObjectName("com.bea:Name=RuntimeService,Type=weblogic.management.mbeanservers.runtime.RuntimeServiceMBean");
        } catch (MalformedObjectNameException e) {
            e.printStackTrace();
        } 
    } 
 
    private Constants() { 
    } 
}