You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Celal Ziftci (JIRA)" <ji...@apache.org> on 2009/04/28 22:16:30 UTC

[jira] Created: (CXF-2195) InstrumentationManagerImpl is doing too many things at a time -- would be much better if registering mbeans and exposing over a port are separated

InstrumentationManagerImpl is doing too many things at a time -- would be much better if registering mbeans and exposing over a port are separated
--------------------------------------------------------------------------------------------------------------------------------------------------

                 Key: CXF-2195
                 URL: https://issues.apache.org/jira/browse/CXF-2195
             Project: CXF
          Issue Type: Improvement
    Affects Versions: 2.1.5
            Reporter: Celal Ziftci
             Fix For: 2.1.6


Currently InstrumentationManagerImpl class is doing a little bit too much in terms of jmx support.
I'm trying to make use of it in an enterprise world, and the registering of cxf mbeans and exposing of the mbeanserver over a protocol are bundled into the InstrumentationManagerImpl class.

Ideally, we would like to have these separated, so that we can still use cxf's built-in mechanism of registration of mbeans to a specific mbeanserver. But then the job of exposing the MBeanServer should be left to the end-user.

We have an infrastructure to do authentication and authorization on jmx connectors, which requires us to use our own connectors.
And what we would like is from cxf is: cxf registers its mbeans for endpoints, managedbus etc to a specified mbeanserver.

Once it is done, we can expose that mbeanserver over our own connectors, and do proper authentication and authorization.

Please let me know if you would like me to provide more concrete examples. A good example where this feature I'm asking for is implemented is Spring framework, where they have a concept of "MBeanExporter", which only exports to a given MBeanServer (but doesn't try to start a connector).

Currently, this is really blocking me from using the InstrumentationManagerImpl class.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (CXF-2195) InstrumentationManagerImpl is doing too many things at a time -- would be much better if registering mbeans and exposing over a port are separated

Posted by "Daniel Kulp (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CXF-2195?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12707014#action_12707014 ] 

Daniel Kulp commented on CXF-2195:
----------------------------------


With 2.1.5, we added some methods to the InstrumentationManagerImpl to allow you to pass in the MBeanServer that you want to use as well as tell it not to create the connection.     Are those not adequate?




> InstrumentationManagerImpl is doing too many things at a time -- would be much better if registering mbeans and exposing over a port are separated
> --------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: CXF-2195
>                 URL: https://issues.apache.org/jira/browse/CXF-2195
>             Project: CXF
>          Issue Type: Improvement
>    Affects Versions: 2.1.5
>            Reporter: Celal Ziftci
>             Fix For: 2.1.6
>
>
> Currently InstrumentationManagerImpl class is doing a little bit too much in terms of jmx support.
> I'm trying to make use of it in an enterprise world, and the registering of cxf mbeans and exposing of the mbeanserver over a protocol are bundled into the InstrumentationManagerImpl class.
> Ideally, we would like to have these separated, so that we can still use cxf's built-in mechanism of registration of mbeans to a specific mbeanserver. But then the job of exposing the MBeanServer should be left to the end-user.
> We have an infrastructure to do authentication and authorization on jmx connectors, which requires us to use our own connectors.
> And what we would like is from cxf is: cxf registers its mbeans for endpoints, managedbus etc to a specified mbeanserver.
> Once it is done, we can expose that mbeanserver over our own connectors, and do proper authentication and authorization.
> Please let me know if you would like me to provide more concrete examples. A good example where this feature I'm asking for is implemented is Spring framework, where they have a concept of "MBeanExporter", which only exports to a given MBeanServer (but doesn't try to start a connector).
> Currently, this is really blocking me from using the InstrumentationManagerImpl class.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (CXF-2195) InstrumentationManagerImpl is doing too many things at a time -- would be much better if registering mbeans and exposing over a port are separated

Posted by "Daniel Kulp (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CXF-2195?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Daniel Kulp updated CXF-2195:
-----------------------------

    Fix Version/s:     (was: 2.1.6)

> InstrumentationManagerImpl is doing too many things at a time -- would be much better if registering mbeans and exposing over a port are separated
> --------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: CXF-2195
>                 URL: https://issues.apache.org/jira/browse/CXF-2195
>             Project: CXF
>          Issue Type: Improvement
>    Affects Versions: 2.1.5
>            Reporter: Celal Ziftci
>
> Currently InstrumentationManagerImpl class is doing a little bit too much in terms of jmx support.
> I'm trying to make use of it in an enterprise world, and the registering of cxf mbeans and exposing of the mbeanserver over a protocol are bundled into the InstrumentationManagerImpl class.
> Ideally, we would like to have these separated, so that we can still use cxf's built-in mechanism of registration of mbeans to a specific mbeanserver. But then the job of exposing the MBeanServer should be left to the end-user.
> We have an infrastructure to do authentication and authorization on jmx connectors, which requires us to use our own connectors.
> And what we would like is from cxf is: cxf registers its mbeans for endpoints, managedbus etc to a specified mbeanserver.
> Once it is done, we can expose that mbeanserver over our own connectors, and do proper authentication and authorization.
> Please let me know if you would like me to provide more concrete examples. A good example where this feature I'm asking for is implemented is Spring framework, where they have a concept of "MBeanExporter", which only exports to a given MBeanServer (but doesn't try to start a connector).
> Currently, this is really blocking me from using the InstrumentationManagerImpl class.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Resolved: (CXF-2195) InstrumentationManagerImpl is doing too many things at a time -- would be much better if registering mbeans and exposing over a port are separated

Posted by "Daniel Kulp (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CXF-2195?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Daniel Kulp resolved CXF-2195.
------------------------------

       Resolution: Fixed
    Fix Version/s: 2.2.2
                   2.1.6


We added a bunch of new flags and such for obtaining the JMX MBeanServer and connections and such to make this much more flexible.

> InstrumentationManagerImpl is doing too many things at a time -- would be much better if registering mbeans and exposing over a port are separated
> --------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: CXF-2195
>                 URL: https://issues.apache.org/jira/browse/CXF-2195
>             Project: CXF
>          Issue Type: Improvement
>          Components: Core
>    Affects Versions: 2.1.5
>            Reporter: Celal Ziftci
>             Fix For: 2.1.6, 2.2.2
>
>
> Currently InstrumentationManagerImpl class is doing a little bit too much in terms of jmx support.
> I'm trying to make use of it in an enterprise world, and the registering of cxf mbeans and exposing of the mbeanserver over a protocol are bundled into the InstrumentationManagerImpl class.
> Ideally, we would like to have these separated, so that we can still use cxf's built-in mechanism of registration of mbeans to a specific mbeanserver. But then the job of exposing the MBeanServer should be left to the end-user.
> We have an infrastructure to do authentication and authorization on jmx connectors, which requires us to use our own connectors.
> And what we would like is from cxf is: cxf registers its mbeans for endpoints, managedbus etc to a specified mbeanserver.
> Once it is done, we can expose that mbeanserver over our own connectors, and do proper authentication and authorization.
> Please let me know if you would like me to provide more concrete examples. A good example where this feature I'm asking for is implemented is Spring framework, where they have a concept of "MBeanExporter", which only exports to a given MBeanServer (but doesn't try to start a connector).
> Currently, this is really blocking me from using the InstrumentationManagerImpl class.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.