Announcement Announcement Module
Collapse
No announcement yet.
In JMX Can a managedoperationparameter have a drop down for default values ? Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • In JMX Can a managedoperationparameter have a drop down for default values ?

    I have the following JMX Operation :

    @ManagedOperation(description="Gets the daily cap for a given cap type.")
    @ManagedOperationParameters({
    @ManagedOperationParameter(name="capType", description="The cap type to get. NETWORK IMPRESSION CAP= 1, NETWORK API CAP = 2, NETWORK REVENUE CAP= 3, PUBLISHER IMPRESSION CAP = 4.")})
    public String addNetworkDailyCap(String network, long dailyCap, String capType) {

    Can the parameter capType have a dropdown with default values. If so, how can we implement that? Thanks alot in advance.
Working...
X