|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
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 |
CACHING_STUB_SVUID, 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()
OAM Use Only - Determines whether this binding is of Ebxml Binding type. |
void |
setRosettaNet()
OAM Use Only - Determines whether this binding is of RosettaNet Binding type. |
void |
setWebService()
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, getAttributeStringValue, getComments, getNotes, getSetFields, getXml, getXmlConverter, isDefaultedMBean, isPersistenceEnabled, preDeregister, registerConfigMBean, restoreDefaultValue, setComments, setDefaultedMBean, setNotes, setPersistenceEnabled, touch, unRegisterConfigMBean |
Methods inherited from interface weblogic.management.WebLogicMBean |
getMBeanInfo, getName, getObjectName, getParent, getType, isCachingDisabled, isRegistered, setName, setParent |
Methods inherited from interface javax.management.DynamicMBean |
getAttribute, getAttributes, invoke, setAttribute, setAttributes |
Methods inherited from interface javax.management.MBeanRegistration |
postDeregister, postRegister, preRegister |
Methods inherited from interface javax.management.NotificationBroadcaster |
addNotificationListener, getNotificationInfo, removeNotificationListener |
Field Detail |
public static final String EBXML
public static final String ROSETTANET
public static final String WEBSERVICE
public static final String EBXML_10
public static final String EBXML_20
public static final String ROSETTANET_11
public static final String ROSETTANET_20
Method Detail |
public String getBindingName()
public 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.public boolean isDefaultBinding()
public 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 bindingpublic void setRosettaNet()
public boolean isRosettaNet()
public void setEbxml()
public boolean isEbxml()
public void setWebService()
public boolean isWebService()
public String getBusinessProtocolName()
public void setBusinessProtocolName(String newValue) throws javax.management.InvalidAttributeValueException
newValue
- - the business protocol name
javax.management.InvalidAttributeValueException
- - If specified value is of unknown typepublic String getBusinessProtocolVersion()
EBXML
public 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 protocolpublic void 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 incorrectpublic void addReferenceToTransport(TransportMBean mbean) throws ConfigurationException
mbean
- - Transport MBean
ConfigurationException
- - If fails to add the transportpublic void removeTransport() throws DeleteException
DeleteException
- - If unable to disassociate the transport for this bindingpublic TransportMBean retrieveTransport() throws ManagementException
ManagementException
public 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.public 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 |