|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
The EnablerMBean interface represents a c-enabler.
Method Summary | |
ConversationMBean[] |
getActiveConversations()
Gets ConversationMBeans for all of the active conversations for this c-enabler. |
EnablerSessionMBean[] |
getActiveSessions()
Gets EnablerSessionMBeans for all of the active sessions in this c-enabler. |
java.util.Date |
getActiveSince()
Gets the start time for this c-enabler. |
java.lang.String |
getName()
Gets the name of this c-enabler. |
int |
getNumMsgsPublished()
Gets the number of messages published by this c-enabler. |
int |
getNumMsgsReceived()
Gets the number of messages received by this c-enabler. |
int |
getNumTotalConversations()
Gets the total number of conversations in which this c-enabler participated since it started. |
int |
getNumTotalSessions()
Gets the total number of sessions started by this c-enabler. |
java.lang.String[] |
getSessionNames()
Gets the names of all of the sessions specified in the configuration file. |
void |
shutDown(boolean keepSubscription)
Shuts down the c-enabler. |
EnablerSessionMBean |
startEnablerSession(java.lang.String sessionName)
Gets or starts a c-enabler session for the specified session name. |
Method Detail |
public java.lang.String getName()
public java.util.Date getActiveSince()
public int getNumMsgsPublished()
public int getNumMsgsReceived()
public int getNumTotalConversations()
public int getNumTotalSessions()
public EnablerSessionMBean[] getActiveSessions()
public java.lang.String[] getSessionNames()
public EnablerSessionMBean startEnablerSession(java.lang.String sessionName) throws ManagementException
sessionName
- Name of the session in the c-enabler configuration file.public ConversationMBean[] getActiveConversations()
public void shutDown(boolean keepSubscription) throws ManagementException, B2BException
keepSubscription
- - If true, keeps the subscription to conversations in which this
c-enabler was participating. Pertinent messages
are stored in message queues for later retrieval using
deferred pull. The trading partner does not leave the c-space.
- If false (the default), explictly shuts down the c-enabler.
All of the relevant messages in the conversation started
through this c-enabler are discarded and the trading partner
leaves the c-space.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |