public class XMPPAcceptorFactory
extends com.streamscape.sef.network.mf.admin.AbstractAcceptorFactory
Title: Service Event Fabric Core
Description: Defines a XMPP Acceptor Factory managing XMPP Acceptor instances.
Copyright: Copyright (c) 2011
Company: StreamScape Technologies
DEFAULT_SERIAL_VERSION_ID
Constructor and Description |
---|
XMPPAcceptorFactory() |
Modifier and Type | Method and Description |
---|---|
XMPPAcceptor |
createAcceptor(java.lang.String acceptorName,
java.lang.Class acceptorClass)
Creates a new acceptor instance with the specified name and class.
|
LinkProtocol |
getAcceptorProtocol()
Returns a base acceptor protocol supported by the factory.
|
void |
init(RuntimeContext context)
Initializes the object.
|
XMPPAcceptor |
lookupAcceptor(java.lang.String acceptorName)
Finds and returns an acceptor with the specified name.
|
createAcceptor, getAcceptors, isAcceptorRegistered, listAcceptors, loadAcceptor, registerAcceptor, registerAcceptor, saveAcceptor, startAcceptors, stopAcceptors, unregisterAcceptor
abortOnFailure, addObject, destroy, existsObject, getName, getNamespace, getObjects, getSemanticType, getSerialVersionUID, getSupportedTypes, isObjectRegistered, listRegisteredObjects, listSupportedModels, loadObject, lookupObject, registerObject, saveObject, unregisterObject
getContextType, hasContext
clone
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getName, getNamespace, listSupportedModels
clone
public LinkProtocol getAcceptorProtocol()
AcceptorFactory
public void init(RuntimeContext context) throws FabricException
ConfigurationObject
init
in interface ConfigurationObject
init
in class com.streamscape.sef.network.mf.config.AbstractObjectFactory
FabricException
- if some error occurs.public XMPPAcceptor createAcceptor(java.lang.String acceptorName, java.lang.Class acceptorClass)
AcceptorFactory
acceptorName
- the name of the acceptor to be created.acceptorClass
- the class of the acceptor to be created.null
if the specified class is not supported.public XMPPAcceptor lookupAcceptor(java.lang.String acceptorName)
AcceptorFactory
lookupAcceptor
in interface AcceptorFactory
lookupAcceptor
in class com.streamscape.sef.network.mf.admin.AbstractAcceptorFactory
acceptorName
- the name of acceptor to be found.null
if acceptor is not found.Copyright © 2015-2024 StreamScape Technologies. All rights reserved.