|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.apache.cayenne.event.XMPPBridgeFactory
public class XMPPBridgeFactory
A factory of XMPPBridge. Note that to deploy an XMPPBridge, you need to have smack.jar library in the runtime.
| Field Summary | |
|---|---|
static java.lang.String |
XMPP_CHAT_SERVICE_PROPERTY
An optional property, "conference" is used as default chat service. |
static java.lang.String |
XMPP_HOST_PROPERTY
|
static java.lang.String |
XMPP_LOGIN_PROPERTY
|
static java.lang.String |
XMPP_PASSWORD_PROPERTY
|
static java.lang.String |
XMPP_PORT_PROPERTY
An optional property, port 5222 is used as default XMPP port. |
static java.lang.String |
XMPP_SECURE_CONNECTION_PROPERTY
|
| Constructor Summary | |
|---|---|
XMPPBridgeFactory()
|
|
| Method Summary | |
|---|---|
EventBridge |
createEventBridge(java.util.Collection localSubjects,
java.lang.String externalSubject,
java.util.Map properties)
Creates an EventBridge with the specified parameters. |
EventBridge |
createEventBridge(EventSubject localSubject,
java.util.Map properties)
Deprecated. since 1.2, as we now need to support multiple subjects. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String XMPP_HOST_PROPERTY
public static final java.lang.String XMPP_PORT_PROPERTY
public static final java.lang.String XMPP_CHAT_SERVICE_PROPERTY
public static final java.lang.String XMPP_SECURE_CONNECTION_PROPERTY
public static final java.lang.String XMPP_LOGIN_PROPERTY
public static final java.lang.String XMPP_PASSWORD_PROPERTY
| Constructor Detail |
|---|
public XMPPBridgeFactory()
| Method Detail |
|---|
public EventBridge createEventBridge(EventSubject localSubject,
java.util.Map properties)
createEventBridge in interface EventBridgeFactory
public EventBridge createEventBridge(java.util.Collection localSubjects,
java.lang.String externalSubject,
java.util.Map properties)
EventBridgeFactory
createEventBridge in interface EventBridgeFactory
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||