Prerender description for JMX operation

8 views
Skip to first unread message

Michael Sidorkevich

unread,
Jan 31, 2017, 2:07:18 AM1/31/17
to jminix-users
Hello.

Seems like official doc didn't answer my question.

Assume I have the following JMX operation:

@ManagedOperation(description = "some test operation")
@ManagedOperationParameters({
    @ManagedOperationParameter(name = "param", description = "This description should be filled in runtime"))
public String someOperation(String param) {}

and want to fill operation description in runtime. I tried to do it via AttributeFilter, but no luck. It is not executed.
Is it the right way to solve my problem? If yes, could you show example for console application.

I can show you what I did, it if AttributeFilter can solve my problem.
Reply all
Reply to author
Forward
0 new messages