aries-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alasdair Nottingham <...@apache.org>
Subject Re: svn commit: r887937 - /incubator/aries/trunk/jmx/jmx-core/src/main/java/org/apache/aries/jmx/permissionadmin/PermissionAdminMBeanHandler.java
Date Mon, 07 Dec 2009 14:53:57 GMT
Hi,

Do you know what happened here?

Alasdair

2009/12/7  <awojtuniak@apache.org>:
> Author: awojtuniak
> Date: Mon Dec  7 14:51:23 2009
> New Revision: 887937
>
> URL: http://svn.apache.org/viewvc?rev=887937&view=rev
> Log:
> fixed the PermissionAdminMBeanHandler to refer to PermissionAdminMBean.
>
> Modified:
>    incubator/aries/trunk/jmx/jmx-core/src/main/java/org/apache/aries/jmx/permissionadmin/PermissionAdminMBeanHandler.java
>
> Modified: incubator/aries/trunk/jmx/jmx-core/src/main/java/org/apache/aries/jmx/permissionadmin/PermissionAdminMBeanHandler.java
> URL: http://svn.apache.org/viewvc/incubator/aries/trunk/jmx/jmx-core/src/main/java/org/apache/aries/jmx/permissionadmin/PermissionAdminMBeanHandler.java?rev=887937&r1=887936&r2=887937&view=diff
> ==============================================================================
> --- incubator/aries/trunk/jmx/jmx-core/src/main/java/org/apache/aries/jmx/permissionadmin/PermissionAdminMBeanHandler.java
(original)
> +++ incubator/aries/trunk/jmx/jmx-core/src/main/java/org/apache/aries/jmx/permissionadmin/PermissionAdminMBeanHandler.java
Mon Dec  7 14:51:23 2009
> @@ -23,7 +23,6 @@
>  import org.apache.aries.jmx.MBeanHandler;
>  import org.osgi.framework.BundleContext;
>  import org.osgi.framework.ServiceReference;
> -import org.osgi.jmx.framework.FrameworkMBean;
>  import org.osgi.jmx.service.permissionadmin.PermissionAdminMBean;
>  import org.osgi.service.log.LogService;
>
> @@ -52,7 +51,7 @@
>      */
>     public PermissionAdminMBeanHandler(BundleContext context, Logger logger) {
>         this.context = context;
> -        this.name = FrameworkMBean.OBJECTNAME;
> +        this.name = PermissionAdminMBean.OBJECTNAME;
>         this.logger = logger;
>     }
>
> @@ -73,7 +72,7 @@
>                 .getService(adminRef);
>         PermissionAdminMBean paMBean = new PermissionAdmin(permissionAdmin);
>         try {
> -            mbean = new StandardMBean(paMBean, FrameworkMBean.class);
> +            mbean = new StandardMBean(paMBean, PermissionAdminMBean.class);
>         } catch (NotCompliantMBeanException e) {
>             logger.log(LogService.LOG_ERROR, "Not compliant MBean", e);
>         }
>
>
>



-- 
Alasdair Nottingham
not@apache.org

Mime
View raw message