[ 
https://issues.apache.org/jira/browse/DELTASPIKE-1245?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15980918#comment-15980918
 ] 

Jan Matèrne commented on DELTASPIKE-1245:
-----------------------------------------

ATM you could combine the different annotations:

@MBean(...)
public class Application {
    @JmxManaged
    @Inject
    @ConfigProperty(...)
    private Integer value;
}

I use this in my own application.
I also annotated my class with @Startup and @Singleton.

> [Config] expose config via JMX bean
> -----------------------------------
>
>                 Key: DELTASPIKE-1245
>                 URL: https://issues.apache.org/jira/browse/DELTASPIKE-1245
>             Project: DeltaSpike
>          Issue Type: New Feature
>    Affects Versions: 1.7.2
>            Reporter: Mark Struberg
>            Assignee: Mark Struberg
>             Fix For: 1.8.0
>
>
> It would be nice if the Configuration of an application could be exposed via 
> JMX bean.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Reply via email to