com.bea.b2b.management.hub.runtime
Interface GlobalConversationMBean


public interface GlobalConversationMBean

The GlobalConversationMBean interface represents a global conversation.

Author:
Copyright © 2000 BEA Systems, Inc. All Rights Reserved.

Method Summary
 CollaboratorMBean[] getActiveCollaborators()
          Gets CollaboratorMBeans for all of the trading partners participating in this conversation.
 java.util.Date getActiveSince()
          Gets the start time of this conversation.
 java.lang.String getConversationId()
          Gets the conversation ID of this global conversation.
 java.lang.String getConversationName()
          Gets the name of the conversation definition associated with this conversation.
 java.lang.String getConversationVersion()
          Gets the version of the conversation definition associated with this conversation.
 CSpaceMBean getCSpace()
          Gets the CSpaceMBean of the c-space associated with this conversation.
 java.util.Date getLastMessageTime()
          Gets the time when the last business message was sent in this conversation.
 java.lang.String getLastSender()
          Gets the name of the trading partner who sent the last business message in this conversation.
 com.bea.b2b.protocol.Protocol getProtocol()
          Gets the protocol of this conversation.
 int getState()
          Gets the current state of this conversation.
 void terminate(int result)
          Terminates this conversation.
 

Method Detail

getCSpace

public CSpaceMBean getCSpace()
Gets the CSpaceMBean of the c-space associated with this conversation.

Returns:
CSpaceMBean - C-space MBean.

getConversationId

public java.lang.String getConversationId()
Gets the conversation ID of this global conversation.

Returns:
String - Conversation ID.

getState

public int getState()
Gets the current state of this conversation.

Returns:
int - Conversation state.
See Also:
for conversation states.

getProtocol

public com.bea.b2b.protocol.Protocol getProtocol()
Gets the protocol of this conversation.

Returns:
Protocol - Conversation protocol.

getConversationName

public java.lang.String getConversationName()
Gets the name of the conversation definition associated with this conversation.

Returns:
String - Name of the associated conversation definition.

getConversationVersion

public java.lang.String getConversationVersion()
Gets the version of the conversation definition associated with this conversation.

Returns:
String - Version of the associated conversation definition.

getActiveCollaborators

public CollaboratorMBean[] getActiveCollaborators()
Gets CollaboratorMBeans for all of the trading partners participating in this conversation.

Returns:
CollaboratorMBean[] - Array of CollaboratorMBeans for participating trading partners.

getActiveSince

public java.util.Date getActiveSince()
Gets the start time of this conversation.

Returns:
Date - Time when this conversation started.

getLastMessageTime

public java.util.Date getLastMessageTime()
Gets the time when the last business message was sent in this conversation.

Returns:
Date - Time when the last business message was sent.

getLastSender

public java.lang.String getLastSender()
Gets the name of the trading partner who sent the last business message in this conversation.

Returns:
String - Name of the trading partner who sent the last business message.

terminate

public void terminate(int result)
               throws ManagementException
Terminates this conversation.

Parameters:
result - Conversation termination result.
Throws:
ManagementException - If an error occurred when terminating this conversation.