|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface TradingPartnerMgmtMBean
The class represents the factory for all Services and Trading Partner. This is a globally unique, cluster-wide component and the central point from which TPM can be managed
Field Summary | |
---|---|
static String |
ALL
|
static String |
METADATA
|
static String |
NONE
|
Fields inherited from interface weblogic.management.configuration.ConfigurationMBean |
---|
DEFAULT_EMPTY_BYTE_ARRAY |
Method Summary | |
---|---|
void |
addReferenceToService(ServiceMBean serviceMBean)
Internal Use Only - Adds a reference to the service |
void |
addReferenceToTradingPartner(TradingPartnerMBean tpMBean)
Internal Use Only - Adds a new trading partner by reference |
void |
addService(String name,
String description,
String notes,
String BusinessProcess,
String type)
Adds a new service to trading partner management. |
void |
addTradingPartner(String name,
String businessId,
String businessIdType,
boolean isDefault,
String status,
String type,
String description,
String notes,
String address,
String fax,
String phone,
String email,
String userName)
Adds a new trading partner |
String |
getMessageTraceDirectory()
Returns the directory location of the message trace files. |
String |
getMessageTrackingLevel()
Specifies the global settring for message tracking. |
boolean |
isMessageTrace()
Specifies whether message traceing is enabled or not |
boolean |
isSecureAuditLogging()
Specifies whether secure audit logging is enabled or not |
boolean |
isTestMode()
If true, trading partner bindings are defaulted for testing |
void |
removeService(String name)
Removes the service from trading partner management. |
void |
removeServiceWithReferences(String name)
Removes all the reference for the service from trading partner. |
void |
removeTradingPartner(String name)
Removes the trading partner, identified by name. |
void |
removeTradingPartnerWithReferences(String name)
Removes all the elements of the trading partners, all the binding, certificates, extended property set would be removed belonging to the trading partner |
ArrayList |
retrieveAllServiceProfilesForTP(String tpName)
Internal Use Only - Returns a list of instances of ServiceProfileMBean for all the matching service profiles for all the services, where this partner name is configured. |
ServiceMBean[] |
retrieveAllServices()
Retrieves all the services configured in trading partner management |
TradingPartnerMBean[] |
retrieveAllTradingPartners()
Retrieves all the trading partners instances configured |
TradingPartnerMBean |
retrieveDefaultTradingPartner()
Retrieves the default Trading Partner, configured |
ServiceMBean |
retrieveService(String name)
Retrieves a service from trading partner management, identified by name |
ServiceProfileMBean |
retrieveServiceProfile(String serviceName,
String remoteTP,
String localTP)
Returns an instance of the service profile. |
ArrayList |
retrieveServiceProfileForBinding(String bindingName)
Internal Use Only - Returns the service profile instance with partner name and partners binding name. |
ServiceProfileMBean |
retrieveServiceProfileForTP(String serviceName,
String remoteTP)
Internal Use Only - Returns the Service Profile for the service name and remote partner name In this case the local partner is assumed as the default trading partner |
ArrayList |
retrieveServiceProfilesByBPNameVersionAndEP(String protocol,
String version,
String url)
Internal Use Only - Gets the list of ServiceProfileMBeans for a specific Business Protocol Name, Version and End Point |
ArrayList |
retrieveServiceProfilesByBusinessProtocol(String businessProtocolName)
Internal Use Only - Gets the MBean of a specfic Service profile by business protocol name like, ebxml, rosettanet, webservices |
TradingPartnerMBean |
retrieveTradingPartner(String name)
Retrieves an instance of the trading partner, identified by name |
TradingPartnerMBean |
retrieveTradingPartnerByID(String businessId)
Retrieves an instance of the trading partner, identified by trading partner id |
void |
setMessageTrace(boolean newValue)
Registers, whether message traceing should be enabled or not. |
void |
setMessageTraceDirectory(String newValue)
Specifies the directory location of the message trace files. |
void |
setMessageTrackingLevel(String newValue)
Registers the global settring for message tracking. |
void |
setSecureAuditLogging(boolean newValue)
Registers, whether secure audit logging should be enabled or not. |
void |
setTestMode(boolean newValue)
If true, trading partner bindings are defaulted for testing |
void |
updateAll(String messageTrackingLevel,
boolean messageTrace,
String messageTraceDirectory,
boolean testMode)
|
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 ALL
static final String METADATA
static final String NONE
Method Detail |
---|
boolean isSecureAuditLogging()
void setSecureAuditLogging(boolean newValue) throws javax.management.InvalidAttributeValueException
newValue
- - boolean - true, enabled secure audit logging
- false, disable secure audit logging
javax.management.InvalidAttributeValueException
String getMessageTrackingLevel()
void setMessageTrackingLevel(String newValue) throws javax.management.InvalidAttributeValueException
newValue
- - new value for attribute MessageTrackingLevel
javax.management.InvalidAttributeValueException
boolean isMessageTrace()
void setMessageTrace(boolean newValue) throws javax.management.InvalidAttributeValueException
newValue
- - boolean - true, enable message traceing
- false, disable message traceing
javax.management.InvalidAttributeValueException
String getMessageTraceDirectory()
void setMessageTraceDirectory(String newValue) throws javax.management.InvalidAttributeValueException
newValue
- - directory location of the message trace files.
javax.management.InvalidAttributeValueException
boolean isTestMode()
void setTestMode(boolean newValue) throws javax.management.InvalidAttributeValueException
newValue
- - new value for attribute TestMode
javax.management.InvalidAttributeValueException
TradingPartnerMBean[] retrieveAllTradingPartners() throws ManagementException
ManagementException
TradingPartnerMBean retrieveTradingPartner(String name) throws ManagementException, javax.management.InstanceNotFoundException
name
- - name of trading partner
ManagementException
javax.management.InstanceNotFoundException
- - If no trading partner with name existsTradingPartnerMBean retrieveTradingPartnerByID(String businessId) throws ManagementException, javax.management.InstanceNotFoundException
businessId
- - Business id of trading partner
ManagementException
javax.management.InstanceNotFoundException
TradingPartnerMBean retrieveDefaultTradingPartner() throws ManagementException, javax.management.InstanceNotFoundException
ManagementException
javax.management.InstanceNotFoundException
- - If no default existsvoid addTradingPartner(String name, String businessId, String businessIdType, boolean isDefault, String status, String type, String description, String notes, String address, String fax, String phone, String email, String userName) throws ConfigurationException, javax.management.InstanceAlreadyExistsException
name
- - Name of collaboration agreementbusinessId
- - business-id of party identifier to be usedbusinessIdType
- - business-id Type of party identifier to be usedisDefault
- - Is the trading Partner Defaulttype
- - Type of Trading Partner(LOCAL or REMOTE)description
- - Descriptionnotes
- - Notesaddress
- - Addressfax
- - Fax Numberphone
- - Phone Numberemail
- - Email AddressuserName
- - WLS User Name
ConfigurationException
javax.management.InstanceAlreadyExistsException
void addReferenceToTradingPartner(TradingPartnerMBean tpMBean) throws ConfigurationException, javax.management.InstanceAlreadyExistsException
tpMBean
- - trading partner
ConfigurationException
javax.management.InstanceAlreadyExistsException
void removeTradingPartner(String name) throws DeleteException, javax.management.InstanceNotFoundException
name
- - name of trading partner to remove
DeleteException
javax.management.InstanceNotFoundException
- - If trading partner with name does not existsvoid removeTradingPartnerWithReferences(String name) throws DeleteException, javax.management.InstanceNotFoundException
name
- - name of trading partner to remove
DeleteException
javax.management.InstanceNotFoundException
- - If trading partner with name does not existsServiceMBean[] retrieveAllServices() throws ManagementException
ManagementException
ServiceMBean retrieveService(String name) throws ManagementException, javax.management.InstanceNotFoundException
name
- - name of service
ManagementException
javax.management.InstanceNotFoundException
- - If service with name does not existsvoid addReferenceToService(ServiceMBean serviceMBean) throws ConfigurationException, javax.management.InstanceAlreadyExistsException
serviceMBean
- - service mbean
ConfigurationException
javax.management.InstanceAlreadyExistsException
void addService(String name, String description, String notes, String BusinessProcess, String type) throws ConfigurationException, javax.management.InstanceAlreadyExistsException
name
- - Name of servicedescription
- - short textual descriptionnotes
- - additional textual descriptionBusinessProcess
- - the business protocol used for this service. Following are the possible types
type
- - type of the service options Following are the possible types
ConfigurationException
javax.management.InstanceAlreadyExistsException
ServiceMBean
void removeService(String name) throws DeleteException, javax.management.InstanceNotFoundException
name
- - Name of the service
DeleteException
javax.management.InstanceNotFoundException
- - If none exists with specified namevoid removeServiceWithReferences(String name) throws DeleteException, javax.management.InstanceNotFoundException
name
- - Name of the service
DeleteException
javax.management.InstanceNotFoundException
- - If no service with the specified name existsArrayList retrieveServiceProfilesByBusinessProtocol(String businessProtocolName) throws ManagementException
businessProtocolName
- - Business Protocol Name
ManagementException
ServiceProfileMBean retrieveServiceProfile(String serviceName, String remoteTP, String localTP) throws ManagementException, javax.management.InstanceNotFoundException
serviceName
- - name of the ServiceremoteTP
- - name of the remote trading partnerlocalTP
- - name of the local trading partner
ManagementException
javax.management.InstanceNotFoundException
- - If no service profile exists for the servicename, remote partner name,
local partner nameServiceProfileMBean retrieveServiceProfileForTP(String serviceName, String remoteTP) throws ManagementException, javax.management.InstanceNotFoundException
serviceName
- - name of the ServiceremoteTP
- - name of the remote trading partner
ManagementException
javax.management.InstanceNotFoundException
ArrayList retrieveAllServiceProfilesForTP(String tpName) throws ManagementException, javax.management.InstanceNotFoundException
tpName
- - name of the trading Partner
ManagementException
javax.management.InstanceNotFoundException
- - If none exitsArrayList retrieveServiceProfileForBinding(String bindingName) throws ManagementException, javax.management.InstanceNotFoundException
bindingName
- - name of the Service
ManagementException
javax.management.InstanceNotFoundException
ArrayList retrieveServiceProfilesByBPNameVersionAndEP(String protocol, String version, String url) throws ManagementException
protocol
- - Business Protocol Nameversion
- - Business Protocol Versionurl
- - Transport End Point
ManagementException
void updateAll(String messageTrackingLevel, boolean messageTrace, String messageTraceDirectory, boolean testMode) throws javax.management.InvalidAttributeValueException, UpdateException, ObjectActiveException
messageTrackingLevel
- - Message Tracking LevelmessageTrace
- - Message TracemessageTraceDirectory
- - Message Trace DirectorytestMode
- - Test Mode
javax.management.InvalidAttributeValueException
UpdateException
ObjectActiveException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |