|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface BindingMBean
The class is an base interface for all the binding types supported by WLI for Trading Partner Management. There are 3 types of bindings supported
Field Summary | |
---|---|
static String |
EBXML
|
static String |
EBXML_10
|
static String |
EBXML_20
|
static String |
ROSETTANET
|
static String |
ROSETTANET_11
|
static String |
ROSETTANET_20
|
static String |
WEBSERVICE
|
Fields inherited from interface weblogic.management.configuration.ConfigurationMBean |
---|
DEFAULT_EMPTY_BYTE_ARRAY |
Method Summary | |
---|---|
void |
addReferenceToTransport(TransportMBean mbean)
Internal Use Only - Adds the Transport MBean to this binding. |
void |
addTransport(String protocol,
String protocolVersion,
String endpoint,
String timeout)
Registers the transport for this binding. |
String |
getBindingName()
Returns the name of this binding type. |
String |
getBusinessProtocolName()
Returns the type of business protocol for this binding. |
String |
getBusinessProtocolVersion()
Returns the version of the business protcol specified for the binding |
String |
getTradingPartnerName()
For OAM use only - Retrieves the name of the trading partner |
boolean |
isDefaultBinding()
Determines whether this binding is the default binding for the business protocol. |
boolean |
isEbxml()
|
boolean |
isRosettaNet()
|
boolean |
isWebService()
|
void |
removeTransport()
Deletes the transport associated with this binding type. |
TradingPartnerMBean |
retrieveTradingPartner()
Retrieves the TradingPartnerMBean for this binding. |
TransportMBean |
retrieveTransport()
Retrieves the Transport for this Binding |
void |
setBindingName(String newValue)
Registers the name of this binding type. |
void |
setBusinessProtocolName(String newValue)
Specifies the business protocol to be used for this binding. |
void |
setBusinessProtocolVersion(String newValue)
Specifies the version of the business protocol used for this binding. |
void |
setDefaultBinding(boolean newValue)
Specifies that the current binding, be the default binding for the business protocol type. |
void |
setEbxml(boolean value)
OAM Use Only - Determines whether this binding is of Ebxml Binding type. |
void |
setRosettaNet(boolean value)
OAM Use Only - Determines whether this binding is of RosettaNet Binding type. |
void |
setWebService(boolean value)
OAM Use Only - Determines whether this binding is of Web Service Binding type. |
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, getNotes, isDefaultedMBean, isPersistenceEnabled, isSet, restoreDefaultValue, setComments, setDefaultedMBean, setName, setNotes, 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 |
Field Detail |
---|
static final String EBXML
static final String ROSETTANET
static final String WEBSERVICE
static final String EBXML_10
static final String EBXML_20
static final String ROSETTANET_11
static final String ROSETTANET_20
Method Detail |
---|
String getBindingName()
void setBindingName(String newValue) throws javax.management.InvalidAttributeValueException
newValue
- - the name of the binding
javax.management.InvalidAttributeValueException
- - If the name cannot be set or the name has
invalid characters.boolean isDefaultBinding()
void setDefaultBinding(boolean newValue) throws javax.management.InvalidAttributeValueException
For example
If you have configured 2 binding for EBXML protocol, with names 'ebxml10' one for version 1.0 and 'ebxml20' for version 2.0. Then you can define either binding 'ebxml10' or 'ebxml20' as the default binding.
newValue
- - new value for attribute Default
javax.management.InvalidAttributeValueException
- - If unable to the set the current binding as the default bindingvoid setRosettaNet(boolean value)
boolean isRosettaNet()
void setEbxml(boolean value)
boolean isEbxml()
void setWebService(boolean value)
boolean isWebService()
String getBusinessProtocolName()
void setBusinessProtocolName(String newValue) throws javax.management.InvalidAttributeValueException
newValue
- - the business protocol name
javax.management.InvalidAttributeValueException
- - If specified value is of unknown typeString getBusinessProtocolVersion()
EBXML
void setBusinessProtocolVersion(String newValue) throws javax.management.InvalidAttributeValueException
EBXML
newValue
- - the business protocol version
javax.management.InvalidAttributeValueException
- - If the value specified is not supported by the business protocolvoid addTransport(String protocol, String protocolVersion, String endpoint, String timeout) throws ConfigurationException
The endpoint uri is the URL where business doc would be sent or received between you and your partners for example http://localhost:7001/ebxml10/bea, could be the url specified to exchange messages with BEA using ebxml as the business protocol
This method also register a Transport mbean with the mbean server.
protocol
- - the protocol to be used for transportprotocolVersion
- - the version of the transport protocol usedendpoint
- - the url for the endpointtimeout
- - the timeout for the endpoint
ConfigurationException
- - If unable to add a transport for this binding or the combination of
protocol and protocol version is incorrectvoid addReferenceToTransport(TransportMBean mbean) throws ConfigurationException
mbean
- - Transport MBean
ConfigurationException
- - If fails to add the transportvoid removeTransport() throws DeleteException
DeleteException
- - If unable to disassociate the transport for this bindingTransportMBean retrieveTransport() throws ManagementException
ManagementException
TradingPartnerMBean retrieveTradingPartner() throws ManagementException
null
is no trading partner is associated with this binding
ManagementException
- - If unable to find the the trading partner for this
binding type.String getTradingPartnerName() throws ManagementException
ManagementException
- - If unable to load the the trading partner for this
binding.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |