StringValueExp may be used anywhere a ValueExp is required.
| Modifier and Type | Field and Description |
|---|---|
| private static final long | |
| private String |
| Access | Constructor and Description |
|---|---|
| public | |
| public | StringValueExp(String
the string that will be the value of this expression val)Creates a new |
| Modifier and Type | Method and Description |
|---|---|
| public ValueExp | Returns: TheValueExp.The name of the MBean on which the ValueExp will be applied. name)Implements javax. Applies the ValueExp on a MBean. |
| public String | |
| public void | setMBeanServer(MBeanServer
The MBean server on which the query is to be performed. s)Implements javax.
Deprecated
Sets the MBean server on which the query is to be performed. |
| public String |
| serialVersionUID | back to summary |
|---|---|
| private static final long serialVersionUID | |
| val | back to summary |
|---|---|
| private String val | |
| StringValueExp | back to summary |
|---|---|
| public StringValueExp() Basic constructor. | |
| StringValueExp | back to summary |
|---|---|
| public StringValueExp(String val) Creates a new
| |
| apply | back to summary |
|---|---|
| public ValueExp apply(ObjectName name) throws BadStringOperationException, BadBinaryOpValueExpException, BadAttributeValueExpException, InvalidApplicationException Implements javax. Applies the ValueExp on a MBean.
| |
| getValue | back to summary |
|---|---|
| public String getValue() Returns the string represented by the
| |
| setMBeanServer | back to summary |
|---|---|
| public void setMBeanServer(MBeanServer s) Implements javax. Deprecated
Sets the MBean server on which the query is to be performed.
| |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Returns the string representing the object. | |