|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ExtendedPropertySetMBean
This class represents a named set of user-defined extensions represented by XML that can be associated with a trading partner
Field Summary |
---|
Fields inherited from interface weblogic.management.configuration.ConfigurationMBean |
---|
DEFAULT_EMPTY_BYTE_ARRAY |
Method Summary | |
---|---|
void |
addAttribute(String name,
String attribute,
String attributeValue)
Adds an attribute to an existing element |
void |
appendElement(String parent,
String name,
String value)
Add a child elements to the exiting element for the ExtendedPropertySet |
void |
fromXMLProperties(String xmlString)
Xml representation that needs to be set for this extended property set. |
List |
getAttributes(String name)
Gets the Map of the all the attributes for this element |
String |
getAttributeValue(String name,
String attribute)
Gets the text for this attribute belonging to element |
String |
getDescription()
Retrieves the short textual description of this entity. |
String |
getElementValue(String parent,
String name)
Gets the text for this element |
String |
getNotes()
Retrieves the additional description to of this entity. |
String |
getPropertySetName()
Returns the name of this extended property set. |
void |
removeAttribute(String element,
String attribute)
Deletes the attribute for that element |
void |
removeElement(String name)
Deletes the element and all the child elements and attributes |
TradingPartnerMBean |
retrieveTradingPartner()
Retrieves the TradingPartnerMBean associated for this property set. |
void |
setDescription(String newValue)
Specifies the description for the extended propety set |
void |
setNotes(String newValue)
Registers the additional textual documentation |
void |
setPropertySetName(String newValue)
Registers the name of this property set. |
String |
toXMLProperties()
Gets the XML representation of ExtendedPropertySet |
void |
updateAll(String description,
String notes,
String xml)
Updates the custom XML extensions. |
Methods inherited from interface com.bea.wli.tpm.management.configuration.TPMBaseMBean |
---|
fromXML, getDelegateObject, isActive, publish, remove, setActive, setDelegateObject, toXML, toXMLInternal, update, updateInternal |
Methods inherited from interface weblogic.management.configuration.ConfigurationMBean |
---|
freezeCurrentValue, getComments, getName, isDefaultedMBean, isPersistenceEnabled, isSet, restoreDefaultValue, setComments, setDefaultedMBean, setName, setPersistenceEnabled, touch, unSet |
Methods inherited from interface weblogic.management.WebLogicMBean |
---|
getMBeanInfo, getObjectName, getParent, getType, isCachingDisabled, isRegistered, setParent |
Methods inherited from interface javax.management.DynamicMBean |
---|
getAttribute, getAttributes, invoke, setAttribute, setAttributes |
Methods inherited from interface javax.management.MBeanRegistration |
---|
postDeregister, postRegister, preDeregister, preRegister |
Methods inherited from interface javax.management.NotificationBroadcaster |
---|
addNotificationListener, getNotificationInfo, removeNotificationListener |
Methods inherited from interface weblogic.descriptor.DescriptorBean |
---|
addBeanUpdateListener, addPropertyChangeListener, createChildCopy, createChildCopyIncludingObsolete, getDescriptor, getParentBean, isEditable, removeBeanUpdateListener, removePropertyChangeListener |
Method Detail |
---|
String getPropertySetName()
void setPropertySetName(String newValue) throws javax.management.InvalidAttributeValueException
newValue
- - the name of the set
javax.management.InvalidAttributeValueException
- - If the name cannot be set or the name has
invalid characters.String getDescription()
void setDescription(String newValue) throws javax.management.InvalidAttributeValueException
newValue
- - description text, can be null
javax.management.InvalidAttributeValueException
String getNotes()
getNotes
in interface weblogic.management.configuration.ConfigurationMBean
void setNotes(String newValue) throws javax.management.InvalidAttributeValueException
setNotes
in interface weblogic.management.configuration.ConfigurationMBean
newValue
- - the text to specify
javax.management.InvalidAttributeValueException
List getAttributes(String name) throws ManagementException, javax.management.InstanceNotFoundException
name
- - Name of the element
ManagementException
javax.management.InstanceNotFoundException
String getAttributeValue(String name, String attribute) throws ManagementException, javax.management.InstanceNotFoundException
name
- - Name of the elementattribute
- - Name of the attribute
ManagementException
javax.management.InstanceNotFoundException
String getElementValue(String parent, String name) throws ManagementException, javax.management.InstanceNotFoundException
parent
- - Parent of the elementname
- - Name of the element
ManagementException
javax.management.InstanceNotFoundException
void addAttribute(String name, String attribute, String attributeValue) throws ConfigurationException
name
- - Name of the elementattribute
- - Name of the attributeattributeValue
- - Value of the attribute
ConfigurationException
String toXMLProperties() throws ManagementException
ManagementException
void fromXMLProperties(String xmlString) throws ManagementException
xmlString
- - For example
ManagementException
- - If the xml is malformed.void appendElement(String parent, String name, String value) throws ConfigurationException
parent
- - parent Elementname
- - element to be appended to the parent for the ExtendedPropertySetvalue
- - Value of the element to be appended
ConfigurationException
void removeElement(String name) throws DeleteException
name
- - element to be removed for the ExtendedPropertySet
DeleteException
- - If the element does not existsvoid removeAttribute(String element, String attribute) throws DeleteException
element
- - name of the element, attribute belongsattribute
- - Name of the attribute
DeleteException
TradingPartnerMBean retrieveTradingPartner() throws ManagementException
null
is no trading partner is associated.
ManagementException
- - If unable to find the the trading partner for this extended property setvoid updateAll(String description, String notes, String xml) throws javax.management.InvalidAttributeValueException, UpdateException, ObjectActiveException
description
- - short description property setnotes
- - additional textual information for property setxml
- - Custom of the XML
javax.management.InvalidAttributeValueException
UpdateException
ObjectActiveException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |