|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
The EnablerSessionMBean interface represents a c-enabler session.
Method Summary | |
ConversationMBean[] |
getActiveConversations()
Gets ConversationMBeans for all of the active conversations in this c-enabler session. |
java.util.Date |
getActiveSince()
Gets the start time for this c-enabler session. |
java.lang.String |
getCertificateFieldName()
Gets the field name of the c-hub certificate. |
java.lang.String |
getCertificateFieldValue()
Gets the field value of the c-hub certificate. |
java.lang.String |
getCertificateLocation()
Gets the location of the certificate associated with this c-enabler session. |
int |
getConversationsInitiated()
Gets the number of conversations initiated by this c-enabler session. |
java.lang.String |
getCSpaceName()
Gets the name of the c-space associated with this c-enabler session. |
EnablerMBean |
getEnabler()
Gets the MBean of the c-enabler associated with this c-enabler session. |
java.lang.String |
getEnablerUrl()
Gets the URL of the c-enabler associated with this c-enabler session. |
java.lang.String |
getHubUrl()
Gets the URL of the c-hub associated with this c-enabler session. |
java.lang.String |
getHubUser()
Gets the user name of the c-hub's user. |
java.lang.String |
getName()
Gets the name of this c-enabler session. |
int |
getNumMsgsPublished()
Gets the number of messages published in this c-enabler session. |
int |
getNumMsgsReceived()
Gets the number of messages received in this c-enabler session. |
java.lang.String |
getPrivateKeyLocation()
Gets the location of the private key associated with this c-enabler session. |
java.lang.String |
getProxyHost()
Gets the proxy host for the c-hub. |
java.lang.String |
getProxyPort()
Gets the proxy port for the c-hub. |
int |
getRegisteredConversations()
Gets the number of registered conversations for this c-enabler session. |
java.lang.String |
getServerCertificateFieldName()
Gets the field name of the c-hub server certificate. |
java.lang.String |
getServerCertificateFieldValue()
Gets the field value of the c-hub server certificate. |
java.lang.String |
getTradingPartnerName()
Gets the trading partner name associated with this c-enabler session. |
void |
shutDown(boolean keepSubscription)
Shuts down the c-enabler session and, optionally, leaves the c-space. |
Method Detail |
public java.util.Date getActiveSince()
public int getNumMsgsPublished()
public int getNumMsgsReceived()
public java.lang.String getName()
public EnablerMBean getEnabler()
public java.lang.String getCSpaceName()
public java.lang.String getHubUrl()
public java.lang.String getEnablerUrl()
public java.lang.String getTradingPartnerName()
public java.lang.String getCertificateLocation()
public java.lang.String getPrivateKeyLocation()
public java.lang.String getCertificateFieldName()
public java.lang.String getCertificateFieldValue()
public java.lang.String getServerCertificateFieldName()
public java.lang.String getServerCertificateFieldValue()
public java.lang.String getProxyHost()
public java.lang.String getProxyPort()
public java.lang.String getHubUser()
public int getConversationsInitiated()
public int getRegisteredConversations()
public ConversationMBean[] getActiveConversations()
public void shutDown(boolean keepSubscription) throws ManagementException, B2BException
keepSubscription
- - If true, keeps the subscription to conversations in which this
c-enabler session 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 session.
All of the relevant messages in the conversation started
through this session are discarded and the collaborator
leaves the c-space.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |