|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ServiceMBean
This class represents a service for a business process that is either offered by a local trading partner, or a business process that is being called via a control on a remote trading partner. In the case of a service offered by a local trading partner, this element directly corresponds to a JWS or JPD deployed on the local domain. In the case of a service called by a local trading partner, the service corresponds to a control in the local domain that is used to invoke the remote service.
A service can define multiple service profiles. A service profile defines the interactions that two B2B trading partners agree to carry out, along with a specification for the business protocol implementation details such as messaging characteristics, security constraints, transport mechanisms, and workflow processes. Linking to the appropriate bindings for each trading partner specifies these characteristics.
ServiceProfileMBean
Field Summary | |
---|---|
static String |
PROCESS
|
static String |
SERVICECONTROL
|
static String |
WEBSERVICE
|
Fields inherited from interface weblogic.management.configuration.ConfigurationMBean |
---|
DEFAULT_EMPTY_BYTE_ARRAY |
Method Summary | |
---|---|
void |
addReferenceToRosettaNetServiceDefault(RosettaNetServiceDefaultMBean mbean)
Internal Use Only - Adds reference to RosettaNet Service Binding |
void |
addReferenceToServiceProfile(ServiceProfileMBean mbean)
Internal Use Only - Adds a new service profile to this service. |
void |
addRosettaNetServiceDefaults(String serviceContentSchema,
boolean useDtdValidation,
boolean validateServiceContent,
boolean validateServiceHeader)
Add rosettanet service defaults for a rosettanet service only . |
void |
addServiceProfile(String remoteTP,
String remoteBinding,
String localTP,
String localBinding,
String status,
String messageTrackingLevel)
Registers a new service profile, for this service |
void |
addServiceProfile(String remoteTP,
String remoteBinding,
String localTP,
String localBinding,
String status,
String messageTrackingLevel,
String serviceProfileId)
Registers a new service profile, for this service |
String |
getBusinessProtocol()
Specifies the business protocol used for this service. |
String |
getDescription()
Retrieves the short textual description of this entity. |
String |
getNotes()
Retrieves the additional description to of this entity. |
String |
getServiceName()
Returns the name of this Service. |
String |
getServiceType()
Specifies what kind of service this represents. |
void |
registerAllServiceProfiles()
Internal Use Only - Registers all service profiles for this service. |
void |
registerServiceProfile(ServiceProfileMBean sp)
Internal Use Only - Register the profiles. |
void |
removeAllServiceProfiles()
Removes all service profiles for the service |
void |
removeReferenceForServiceProfile(ServiceProfileMBean mbean)
Internal Use Only - Removes the service profile |
void |
removeRosettaNetServiceDefaults()
Remove RosettaNet Service Defaults |
void |
removeServiceProfile(String localTP,
String remoteTP)
Removes the service profile for this service. |
ArrayList |
retrieveAllServiceProfiles()
Returns an collection of all the service profiles defined in this service. |
RosettaNetServiceDefaultMBean |
retrieveRosettaNetServiceDefaults()
Retrieves the RosettaNet Service Defaults. |
ServiceProfileMBean |
retrieveServiceProfile(String remoteTP,
String localTP)
Retrieves a unique service profile for this service. |
ArrayList |
retrieveServiceProfilesWithTradingPartner(String tpName,
String withTp)
Internal Use Only - Gets the MBeans by trading partner name. |
ArrayList |
retrieveSPForTPBinding(String tpName,
String bindingName)
Internal Use Only - Gets the MBeans by trading partner name. |
ArrayList |
retrieveSPForTradingPartner(String tpName)
Internal Use Only - Gets the MBeans by trading partner name. |
ArrayList |
retrieveSPUsingBinding(String bindingName)
Internal Use Only - Gets the MBean of a service profile by binding name. |
TradingPartnerMgmtMBean |
retrieveTradingPartnerMgmt()
Retrieves the TPM Interface. |
void |
setBusinessProtocol(String newValue)
Registers the business protocol to be used by this service. |
void |
setDescription(String newValue)
Specifies the description for this service |
void |
setNotes(String newValue)
Registers the additional textual documentation |
void |
setServiceName(String newValue)
Registers the name of this Service. |
void |
setServiceType(String newValue)
Registers the type of service to invoke, whether offered by local trading partner, in that case it would be a service control or offered by a remote trading partner, in that case could be a workflow or a web service. |
void |
unregisterAllServiceProfiles()
Internal Use Only - Unregister all service profiles for this service. |
void |
unregisterServiceProfile(ServiceProfileMBean sp)
Internal Use Only - Register the specfic collaboration agreement. |
void |
updateAll(String description,
String notes,
String businessProtocol,
String type)
Updates the service. |
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 |
Field Detail |
---|
static final String WEBSERVICE
static final String SERVICECONTROL
static final String PROCESS
Method Detail |
---|
String getServiceName()
void setServiceName(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
String getServiceType()
void setServiceType(String newValue) throws javax.management.InvalidAttributeValueException
newValue
- - type of service to invoke
javax.management.InvalidAttributeValueException
String getBusinessProtocol()
void setBusinessProtocol(String newValue) throws javax.management.InvalidAttributeValueException
newValue
- - new value for attribute BusinessProtocol
javax.management.InvalidAttributeValueException
void addRosettaNetServiceDefaults(String serviceContentSchema, boolean useDtdValidation, boolean validateServiceContent, boolean validateServiceHeader) throws ConfigurationException, javax.management.InstanceAlreadyExistsException
serviceContentSchema
- - service contents schemasuseDtdValidation
- - true if dtd's are used for validationvalidateServiceContent
- - true if validate service contentvalidateServiceHeader
- - true if validate service header
ConfigurationException
javax.management.InstanceAlreadyExistsException
void removeRosettaNetServiceDefaults() throws DeleteException
DeleteException
RosettaNetServiceDefaultMBean retrieveRosettaNetServiceDefaults() throws ManagementException
ManagementException
void addReferenceToRosettaNetServiceDefault(RosettaNetServiceDefaultMBean mbean) throws ConfigurationException, javax.management.InstanceAlreadyExistsException
mbean
- - RN Service Defaults MBean
ConfigurationException
javax.management.InstanceAlreadyExistsException
TradingPartnerMgmtMBean retrieveTradingPartnerMgmt() throws ManagementException
ManagementException
void addServiceProfile(String remoteTP, String remoteBinding, String localTP, String localBinding, String status, String messageTrackingLevel, String serviceProfileId) throws ConfigurationException, javax.management.InstanceAlreadyExistsException
remoteTP
- - name of the remote trading partnerremoteBinding
- - name of the binding of the remote trading partner to uselocalTP
- - name of the local trading partnerlocalBinding
- - name of the binding of the local trading partner to usestatus
- - Status of the profile. Status can be either
messageTrackingLevel
- - Setting for message tracking level for this service profile. Message tracking level
can be
serviceProfileId
- ID of service Profile, CPA id for ebXML, optional
ConfigurationException
javax.management.InstanceAlreadyExistsException
TradingPartnerMgmtMBean
void addServiceProfile(String remoteTP, String remoteBinding, String localTP, String localBinding, String status, String messageTrackingLevel) throws ConfigurationException, javax.management.InstanceAlreadyExistsException
remoteTP
- - name of the remote trading partnerremoteBinding
- - name of the binding of the remote trading partner to uselocalTP
- - name of the local trading partnerlocalBinding
- - name of the binding of the local trading partner to usestatus
- - Status of the profile. Status can be either
messageTrackingLevel
- - Setting for message tracking level for this service profile. Message tracking level
can be
ConfigurationException
javax.management.InstanceAlreadyExistsException
TradingPartnerMgmtMBean
void removeServiceProfile(String localTP, String remoteTP) throws DeleteException, javax.management.InstanceNotFoundException
localTP
- - name of the local trading partnerremoteTP
- - name of the remote trading partner
DeleteException
javax.management.InstanceNotFoundException
void removeAllServiceProfiles() throws DeleteException
DeleteException
void removeReferenceForServiceProfile(ServiceProfileMBean mbean) throws DeleteException, javax.management.InstanceNotFoundException
mbean
- - Service profile MBean
DeleteException
javax.management.InstanceNotFoundException
ArrayList retrieveAllServiceProfiles() throws ManagementException
ManagementException
ServiceProfileMBean
ServiceProfileMBean retrieveServiceProfile(String remoteTP, String localTP) throws ManagementException, javax.management.InstanceNotFoundException
remoteTP
- - name of the remote trading partnerlocalTP
- - name of the local trading partner
ManagementException
javax.management.InstanceNotFoundException
void addReferenceToServiceProfile(ServiceProfileMBean mbean) throws ConfigurationException, javax.management.InstanceAlreadyExistsException
mbean
- - Service profile MBean
ConfigurationException
javax.management.InstanceAlreadyExistsException
ArrayList retrieveSPUsingBinding(String bindingName) throws ManagementException
bindingName
- - Name of the binding
ManagementException
ArrayList retrieveSPForTradingPartner(String tpName) throws ManagementException
tpName
- - Trading Partner Name
ManagementException
ArrayList retrieveSPForTPBinding(String tpName, String bindingName) throws ManagementException
tpName
- - Trading Partner NamebindingName
- - Name of the binding
ManagementException
ArrayList retrieveServiceProfilesWithTradingPartner(String tpName, String withTp) throws ManagementException
tpName
- - Trading Partner NamewithTp
- - Trading Partner Name
ManagementException
void registerServiceProfile(ServiceProfileMBean sp) throws ManagementException
sp
- - Service profile mbean
ManagementException
void unregisterAllServiceProfiles() throws ManagementException
ManagementException
void registerAllServiceProfiles() throws ManagementException
ManagementException
void unregisterServiceProfile(ServiceProfileMBean sp) throws ManagementException
sp
- - Service profile mbean
ManagementException
void updateAll(String description, String notes, String businessProtocol, String type) throws javax.management.InvalidAttributeValueException, UpdateException, ObjectActiveException
description
- - short textual descriptionnotes
- - additional textual descriptionbusinessProtocol
- - the business protocol used for this service. Following are the possible types
type
- - type of the service options Following are the possible types
javax.management.InvalidAttributeValueException
UpdateException
ObjectActiveException
ServiceMBean
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |