|
Oracle Fusion Middleware Configuration MBean Java API Reference for Oracle Identity Federation 11g Release 1 (11.1.1) E14683-01 |
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface PropertiesListMXBean
Config MBean to manage Server properties; contains Property elements.
Method Summary | |
---|---|
void |
addProperty(java.lang.String value, java.lang.String type) Creates a Property with the specified value and type and no name, and adds it at the end of the this PropertiesList. |
void |
addProperty(java.lang.String value, java.lang.String type, int index) Creates a Property with the specified value, and type and no name, and adds it at the specified index in this PropertiesList. |
java.lang.String |
getName() Returns the name of this PropertiesList object |
javax.management.ObjectName |
getParent() Returns the Object Name of the parent MBean of this PropertiesList MBean. |
boolean |
hasPropertyValue(java.lang.String value) Returns true if there exists at least one Property in this PropertiesList with the specified value. |
int |
indexOf(java.lang.String value) Returns the index of the first Property in this PropertiesList that has the specified value |
void |
removeAllProperties() Removes all Property elements in this PropertiesList. |
java.lang.String |
removeProperty(int index) Removes the Property at the specified index in this PropertiesList. |
boolean |
removeProperty(java.lang.String value) Removes the first Property in this PropertiesList with the specified value |
java.lang.String[] |
retrieveAllPropertyValues() Returns a String[] containg the values of all Property elements in this PropertiesList. |
int |
retrieveNumberOfProperties() Returns the number of Property elements in this PropertiesList. |
java.lang.String |
retrievePropertyType(int index) Returns the type of the Property at the specified index in this PropertiesList. |
java.lang.String |
retrievePropertyValue(int index) Returns the value of the Property at the specified index in this PropertiesList. |
Method Detail |
---|
javax.management.ObjectName getParent()
java.lang.String getName()
void addProperty(java.lang.String value, java.lang.String type)
value
- The value of the Property to be created. Cannot be null.type
- The type of the Property to be created. Cannot be null. Must be one of: string, long, boolean.java.lang.NullPointerException
- if the value or the type is nulljava.lang.IllegalArgumentException
- if the given type is not one of: string, long, boolean, or if the the given type is boolean and the value is not one of: true, false.java.lang.NumberFormatException
- if the type specified is long and the value is neither an empty string nor a parsable longvoid addProperty(java.lang.String value, java.lang.String type, int index)
value
- The value of the Property to be created. Cannot be null.type
- The type of the Property to be created. Cannot be null. Must be one of: string, long, boolean.index
- The index at which the Property is to be added.java.lang.NullPointerException
- if value, or type is nulljava.lang.IllegalArgumentException
- if the given type is not one of: string, long, boolean, or if the the given type is boolean and the value is not one of: true, false.java.lang.NumberFormatException
- if the type specified is long and the value is neither an empty string nor a parsable longjava.lang.IndexOutOfBoundsException
- if index < 0 || index > retrieveNumberOfProperties()java.lang.String removeProperty(int index)
index
- The index of the Property to be removed.java.lang.IndexOutOfBoundsException
- if index < 0 || index >= retrieveNumberOfProperties()boolean removeProperty(java.lang.String value)
value
- The value of the Property to be removedint indexOf(java.lang.String value)
value
- The value of the Property whose index is to be returnedvoid removeAllProperties()
java.lang.String retrievePropertyType(int index)
index
- The index of the Propertyjava.lang.IndexOutOfBoundsException
- if index < 0 || index > retrieveNumberOfProperties() - 1java.lang.String retrievePropertyValue(int index)
index
- The index of the Propertyjava.lang.IndexOutOfBoundsException
- if index < 0 || index > retrieveNumberOfProperties() - 1int retrieveNumberOfProperties()
java.lang.String[] retrieveAllPropertyValues()
boolean hasPropertyValue(java.lang.String value)
value
- The value of the Property
|
Oracle Fusion Middleware Configuration MBean Java API Reference for Oracle Identity Federation 11g Release 1 (11.1.1) E14683-01 |
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |