|
xmlBlaster 2.2.0 API | |||||||||
PREV NEXT | FRAMES NO FRAMES |
Uses of XmlBlasterException in http.dhtml.systemInfo |
---|
Methods in http.dhtml.systemInfo that throw XmlBlasterException | |
---|---|
private int |
SystemInfoPublisher.getCpuload()
The Linux way ... |
private int |
SystemInfoPublisher.getMeminfo()
The Linux way ... |
Uses of XmlBlasterException in javaclients |
---|
Methods in javaclients that throw XmlBlasterException | |
---|---|
void |
HelloWorldNative2.init(Global glob,
PluginInfo pluginInfo)
|
void |
HelloWorldNative.init(Global glob,
PluginInfo pluginInfo)
|
void |
ClientPlugin.init(Global glob,
PluginInfo pluginInfo)
|
void |
HelloWorldNative.shutdown()
|
void |
ClientPlugin.shutdown()
|
java.lang.String |
HelloWorldSubscribe.update(java.lang.String cbSessionId,
UpdateKey updateKey,
byte[] content,
UpdateQos updateQos)
Here the messages from xmlBlaster arrive. |
Uses of XmlBlasterException in org.xmlBlaster |
---|
Methods in org.xmlBlaster with parameters of type XmlBlasterException | |
---|---|
void |
Main.newException(XmlBlasterException e)
|
Methods in org.xmlBlaster that throw XmlBlasterException | |
---|---|
void |
Main.runlevelChange(int from,
int to,
boolean force)
Invoked on run level change, see RunlevelManager.RUNLEVEL_HALTED and RunlevelManager.RUNLEVEL_RUNNING Enforced by I_RunlevelListener |
Constructors in org.xmlBlaster that throw XmlBlasterException | |
---|---|
MainGUI.GuiQuery(I_Authenticate authenticate,
I_XmlBlaster xmlBlasterImpl)
Login to xmlBlaster and get a sessionId. |
Uses of XmlBlasterException in org.xmlBlaster.authentication |
---|
Fields in org.xmlBlaster.authentication declared as XmlBlasterException | |
---|---|
private XmlBlasterException |
SessionInfo.transportConnectFail
|
Methods in org.xmlBlaster.authentication that return XmlBlasterException | |
---|---|
XmlBlasterException |
SessionInfo.getTransportConnectFail()
If the connection failed the reason is stored here, like this cleanup code knows what happened. |
Methods in org.xmlBlaster.authentication with parameters of type XmlBlasterException | |
---|---|
void |
SessionInfo.setTransportConnectFail(XmlBlasterException transportConnectFail)
|
Methods in org.xmlBlaster.authentication that throw XmlBlasterException | |
---|---|
void |
Authenticate.changeSecretSessionId(java.lang.String oldSessionId,
java.lang.String newSessionId)
Replace the old by the new session id |
SessionInfo |
Authenticate.check(java.lang.String secretSessionId)
Use this method to check a clients authentication. |
void |
SubjectInfo.checkNumberOfSessions(ConnectQosServer qos)
|
java.lang.String |
AuthenticateProtector.connect(AddressServer addressServer,
java.lang.String connectQos_literal)
helper |
java.lang.String |
AuthenticateProtector.connect(AddressServer addressServer,
java.lang.String connectQos_literal,
java.lang.String secretSessionId)
|
ConnectReturnQosServer |
AuthenticateProtector.connect(ConnectQosServer xmlQos)
helper |
ConnectReturnQosServer |
Authenticate.connect(ConnectQosServer xmlQos)
Login to xmlBlaster. |
ConnectReturnQosServer |
AuthenticateProtector.connect(ConnectQosServer xmlQos,
java.lang.String secretSessionId)
helper |
ConnectReturnQosServer |
Authenticate.connect(ConnectQosServer connectQos,
java.lang.String forcedSecretSessionId)
Login to xmlBlaster. |
private java.lang.String |
Authenticate.createSessionId(java.lang.String loginName)
Generate a unique (and secret) resource ID |
private I_Queue |
SubjectInfo.createSubjectQueue(CbQueueProperty prop)
|
void |
AuthenticateProtector.disconnect(AddressServer addressServer,
java.lang.String secretSessionId,
java.lang.String qos_literal)
|
void |
Authenticate.disconnect(java.lang.String secretSessionId,
java.lang.String qos_literal)
|
private void |
Authenticate.fireClientEvent(SessionInfo sessionInfo,
boolean login)
Used to fire an event if a client does a login / logout |
private void |
Authenticate.firePreRemovedClientEvent(SessionInfo sessionInfo)
|
private int |
SubjectInfo.forwardToSessionQueue(MsgQueueEntry entry)
Forward the given message to session queue. |
MsgUnit[] |
SessionInfo.getCallbackQueueEntries(java.lang.String query)
|
MsgUnit[] |
SessionInfoProtector.getCallbackQueueEntries(java.lang.String querySpec)
|
NodeId |
SubjectInfo.getNodeId()
|
(package private) SessionInfo |
SubjectInfo.getOrCreateSessionInfo(SessionName sessionName,
ConnectQosServer connectQos)
Blocks for existing SessionInfo until it is initialized. |
private SessionInfo |
Authenticate.getOrCreateSessionInfo(SessionName sessionName,
ConnectQosServer connectQos)
Blocks for existing SessionInfo until it is initialized. |
SubjectInfo |
Authenticate.getOrCreateSubjectInfoByName(SessionName subjectName,
boolean returnLocked,
I_Subject subjectCtx,
CbQueueProperty prop)
Access a subjectInfo with the unique login name. |
java.lang.String[] |
SessionInfo.getRootSubscriptions()
|
I_AdminSubject |
AuthenticateProtector.getSubjectInfoByName(SessionName sessionName)
Administrative access. |
MsgUnit[] |
SubjectInfo.getSubjectQueueEntries(java.lang.String querySpec)
Query the subject queue, can be peeking or consuming. |
MsgUnit[] |
SubjectInfoProtector.getSubjectQueueEntries(java.lang.String querySpec)
|
java.lang.String |
SessionInfo.getSubscriptionDump()
|
java.lang.String |
SessionInfoProtector.getSubscriptionDump()
|
java.lang.String[] |
SessionInfo.getSubscriptions()
|
(package private) void |
SessionInfo.init(SubjectInfo subjectInfo,
I_Session securityCtx,
ConnectQosServer connectQos)
|
boolean |
SubjectInfo.isCluster()
|
(package private) java.lang.String |
SubjectInfo.killClient()
Kills all sessions of this client |
java.lang.String |
SubjectInfoProtector.killClient()
|
java.lang.String |
SessionInfo.killSession()
|
java.lang.String |
SessionInfoProtector.killSession()
|
java.lang.String |
Authenticate.login(java.lang.String loginName,
java.lang.String passwd,
java.lang.String xmlQoS_literal,
java.lang.String secretSessionId)
|
void |
Authenticate.logout(java.lang.String secretSessionId)
Logout of a client. |
void |
SubjectInfo.notifyAboutLogin(SessionInfo sessionInfo)
Get notification that the client did a login. |
void |
SubjectInfo.notifyAboutLogout(java.lang.String absoluteSessionName,
boolean clearQueue,
boolean forceShutdownEvenIfEntriesExist)
Get notification that the client did a logout. |
java.lang.String[] |
SessionInfo.peekCallbackMessages(int numOfEntries)
|
java.lang.String[] |
SessionInfoProtector.peekCallbackMessages(int numOfEntries)
|
java.lang.String[] |
SubjectInfo.peekSubjectMessages(int numOfEntries)
|
java.lang.String[] |
SubjectInfoProtector.peekSubjectMessages(int numOfEntries)
|
void |
SessionInfo.queueMessage(MsgQueueEntry entry)
Put the given message entry into the queue |
void |
SubjectInfo.queueMessage(MsgQueueEntry entry)
PtP mode: If the qos is set to forceQueuing the message is queued. |
void |
SessionInfo.refreshSession()
Call this to reactivate the session expiry to full value |
void |
SessionInfoProtector.refreshSession()
|
long |
SessionInfo.removeFromCallbackQueue(long numOfEntries)
|
private void |
Authenticate.resetSessionInfo(SessionInfo sessionInfo,
boolean clearQueue,
boolean forceShutdownEvenIfEntriesExist,
boolean isDisconnecting)
|
void |
Authenticate.runlevelChange(int from,
int to,
boolean force)
Invoked on run level change, see RunlevelManager.RUNLEVEL_HALTED and RunlevelManager.RUNLEVEL_RUNNING Enforced by I_RunlevelListener |
void |
I_ClientListener.sessionAdded(ClientEvent e)
Invoked on successful client login |
void |
I_ClientListener.sessionPreRemoved(ClientEvent e)
Invoked before a client does a logout |
void |
I_ClientListener.sessionRemoved(ClientEvent e)
Invoked when client does a logout |
void |
I_ClientListener.sessionUpdated(ClientEvent e)
Invoked on successful client login |
void |
SubjectInfo.setSubjectQueueProperty(CbQueueProperty prop)
Allows to overwrite queue property. |
void |
I_ClientListener.subjectAdded(ClientEvent e)
Invoked on first successful client login, when SubjectInfo is created |
void |
I_ClientListener.subjectRemoved(ClientEvent e)
Invoked when client does its last logout |
java.lang.String |
SessionInfo.subscribe(java.lang.String url,
java.lang.String qos)
|
java.lang.String |
SessionInfoProtector.subscribe(java.lang.String url,
java.lang.String qos)
|
void |
SubjectInfo.toAlive(I_Subject securityCtx,
CbQueueProperty prop)
Initialize SubjectInfo |
java.lang.String |
AuthenticateProtector.toXml()
|
SessionInfo |
Authenticate.unsecureCreateSession(ConnectQos connectQos)
Use this to create a user and session for internal users only. |
SessionInfo |
AuthenticateProtector.unsecureCreateSession(SessionName loginName)
Deprecated. Security hole, currently need by MainGUI.java |
java.lang.String[] |
SessionInfo.unSubscribe(java.lang.String url,
java.lang.String qos)
|
java.lang.String[] |
SessionInfoProtector.unSubscribe(java.lang.String url,
java.lang.String qos)
|
java.lang.String[] |
SessionInfo.unSubscribeByIndex(int index,
java.lang.String qos)
|
java.lang.String[] |
SessionInfoProtector.unSubscribeByIndex(int index,
java.lang.String qos)
|
void |
SessionInfo.updateConnectQos(ConnectQosServer newConnectQos)
|
private void |
Authenticate.updateConnectQos(SessionInfo sessionInfo,
ConnectQosServer newConnectQos)
|
void |
SubjectInfo.waitUntilAlive(boolean returnLocked)
if state==UNDEF we block until we are ALIVE (or DEAD) |
Constructors in org.xmlBlaster.authentication that throw XmlBlasterException | |
---|---|
Authenticate(ServerScope global)
|
|
AuthenticateProtector(ServerScope global,
Authenticate authenticate)
|
|
SubjectInfo(ServerScope glob,
Authenticate authenticate,
SessionName subjectName)
|
Uses of XmlBlasterException in org.xmlBlaster.authentication.plugins |
---|
Fields in org.xmlBlaster.authentication.plugins declared as XmlBlasterException | |
---|---|
private XmlBlasterException |
DataHolder.exceptionToThrow
|
Methods in org.xmlBlaster.authentication.plugins that return XmlBlasterException | |
---|---|
XmlBlasterException |
DataHolder.getExceptionToThrow()
|
Methods in org.xmlBlaster.authentication.plugins with parameters of type XmlBlasterException | |
---|---|
void |
DataHolder.setExceptionToThrow(XmlBlasterException exceptionToThrow)
Allows a security plugin to throw another exception instead of ErrorCode.USER_SECURITY_AUTHORIZATION_NOTAUTHORIZED when returning false during isAuthorized() call |
Methods in org.xmlBlaster.authentication.plugins that throw XmlBlasterException | |
---|---|
void |
I_Session.changeSecretSessionId(java.lang.String sessionId)
The current implementation of the user session handling (especially Authenticate.connect(org.xmlBlaster.engine.qos.ConnectQosServer, String) )
cannot provide a real sessionId when this object is created. |
MsgUnitRaw |
I_MsgSecurityInterceptor.exportMessage(CryptDataHolder dataHolder)
Encrypt, sign, seal an outgoing message. |
I_Manager |
PluginManager.getDummyManager()
Tries to return an instance of the default security manager, which simulates the old xmlBlaster behavior. |
I_Manager |
PluginManager.getManager(SessionInfo sessionInfo)
Returns the security manager, responsible for given session. |
I_Manager |
PluginManager.getManager(java.lang.String sessionId)
Returns the security manager, responsible for given session. |
I_Manager |
PluginManager.getManager(java.lang.String type,
java.lang.String version)
Return a specific SecurityManager, suitable to handle the requested security mechanisms. |
I_Session |
I_Manager.getSessionById(java.lang.String id)
Get the I_Session which corresponds to the given sessionId. |
MsgUnitRaw |
I_MsgSecurityInterceptor.importMessage(CryptDataHolder dataHolder)
Decrypt, check, unseal etc an incomming message. |
ConnectQosServer |
I_Session.init(ConnectQosServer connectQos,
java.util.Map map)
Initialize the session with useful information. |
void |
I_ClientPlugin.init(Global glob,
PluginInfo pluginInfo)
|
java.lang.String |
I_Session.init(I_SecurityQos securityQos)
Initialize a new session and do the credential check. |
void |
I_SecurityQos.parse(java.lang.String xml)
Parse the given xml string which contains the userId and credentials. |
void |
I_Manager.releaseSession(java.lang.String sessionId,
java.lang.String qos_literal)
Releases a reserved I_Session. |
I_Session |
I_Manager.reserveSession(java.lang.String sessionId)
The session handling. |
boolean |
I_Session.verify(I_SecurityQos securityQos)
Allows to check the given securityQos again. |
Uses of XmlBlasterException in org.xmlBlaster.authentication.plugins.demo |
---|
Methods in org.xmlBlaster.authentication.plugins.demo that throw XmlBlasterException | |
---|---|
(package private) void |
Subject.authenticate(java.lang.String passwd)
Authenticate the user |
void |
Session.changeSecretSessionId(java.lang.String sessionId)
|
(package private) void |
Manager.changeSecretSessionId(java.lang.String oldSessionId,
java.lang.String newSessionId)
|
private Subject |
Session.determineSubject(java.lang.String user,
java.lang.String passwd)
Determine which subject is specified by user/passwd |
private byte[] |
ClientPlugin.exportMessage(byte[] byteArr)
|
private byte[] |
Session.exportMessage(byte[] byteArr)
|
MsgUnitRaw |
ClientPlugin.exportMessage(CryptDataHolder dataHolder)
encrypt, sign, seal an outgoing message. |
MsgUnitRaw |
Session.exportMessage(CryptDataHolder dataHolder)
encrypt, sign, seal an outgoing message. |
private java.lang.String |
Session.exportMessage(java.lang.String xmlMsg)
|
(package private) Subject |
Manager.getSubject(java.lang.String name)
|
private byte[] |
ClientPlugin.importMessage(byte[] byteArr)
|
private byte[] |
Session.importMessage(byte[] byteArr)
|
MsgUnitRaw |
ClientPlugin.importMessage(CryptDataHolder dataHolder)
decrypt, check, unseal an incomming message. |
MsgUnitRaw |
Session.importMessage(CryptDataHolder dataHolder)
decrypt, check, unseal an incoming message. |
private java.lang.String |
ClientPlugin.importMessage(java.lang.String xmlMsg)
decrypt, check, unseal etc an incomming message. |
private java.lang.String |
Session.importMessage(java.lang.String xmlMsg)
|
ConnectQosServer |
Session.init(ConnectQosServer connectQos,
java.util.Map map)
|
java.lang.String |
Session.init(I_SecurityQos securityQos)
Initialize the Session for a login or connect call. |
void |
SecurityQos.parse(java.lang.String xmlQos_literal)
|
void |
Manager.shutdown()
|
Uses of XmlBlasterException in org.xmlBlaster.authentication.plugins.htpasswd |
---|
Methods in org.xmlBlaster.authentication.plugins.htpasswd that throw XmlBlasterException | |
---|---|
void |
Session.changeSecretSessionId(java.lang.String sessionId)
|
void |
Manager.changeSecretSessionId(java.lang.String oldSessionId,
java.lang.String newSessionId)
|
boolean |
HtPasswd.checkPassword(java.lang.String userName,
java.lang.String userPassword)
Check password |
MsgUnitRaw |
ClientPlugin.exportMessage(CryptDataHolder dataHolder)
encrypt, sign, seal an outgoing message. |
MsgUnitRaw |
Session.exportMessage(CryptDataHolder dataHolder)
|
MsgUnitRaw |
ClientPlugin.importMessage(CryptDataHolder dataHolder)
decrypt, check, unseal an incomming message. |
MsgUnitRaw |
Session.importMessage(CryptDataHolder dataHolder)
|
ConnectQosServer |
Session.init(ConnectQosServer connectQos,
java.util.Map map)
|
java.lang.String |
Session.init(I_SecurityQos securityQos)
Initialize the Session for a login or connect call. |
void |
SecurityQos.parse(java.lang.String xmlQos_literal)
|
(package private) boolean |
HtPasswd.readHtpasswordFile(java.lang.String htpasswdFilename)
Read passwords file 16/11/01 20:42 mad@ktaland.com |
I_Session |
Manager.reserveSession(java.lang.String sessionId)
|
void |
Manager.shutdown()
|
Constructors in org.xmlBlaster.authentication.plugins.htpasswd that throw XmlBlasterException | |
---|---|
HtPasswd(Global glob)
Check password 16/11/01 19:36 mad@ktaland.com |
|
SecurityQos(Global glob,
java.lang.String xmlQos_literal)
|
|
Session(Manager sm,
java.lang.String sessionId)
|
Uses of XmlBlasterException in org.xmlBlaster.authentication.plugins.ldap |
---|
Methods in org.xmlBlaster.authentication.plugins.ldap that throw XmlBlasterException | |
---|---|
void |
Session.changeSecretSessionId(java.lang.String sessionId)
|
(package private) void |
Manager.changeSecretSessionId(java.lang.String oldSessionId,
java.lang.String newSessionId)
|
boolean |
LdapGateway.checkPassword(java.lang.String loginName,
java.lang.String userPassword)
Check password |
MsgUnitRaw |
ClientPlugin.exportMessage(CryptDataHolder dataHolder)
|
MsgUnitRaw |
Session.exportMessage(CryptDataHolder dataHolder)
|
java.util.Hashtable |
LdapGateway.getAllAttributes(java.lang.String loginName,
java.lang.String password,
java.lang.String lookupUserId)
Get all attributes of this 'Person' objectclass |
java.lang.String |
LdapGateway.getPassword(javax.naming.directory.Attributes result)
We assume that only one password is specified. |
javax.naming.directory.DirContext |
LdapGateway.getRootContext()
|
private javax.naming.directory.DirContext |
LdapGateway.getUserContext(java.lang.String loginName,
java.lang.String userPassword)
Please close the given Context after usage. |
private java.lang.String |
LdapGateway.getUserDN(java.lang.String loginName)
Searches the loginName in LDAP and returns its distinguishable name DN, e.g. |
MsgUnitRaw |
ClientPlugin.importMessage(CryptDataHolder dataHolder)
|
MsgUnitRaw |
Session.importMessage(CryptDataHolder dataHolder)
|
ConnectQosServer |
Session.init(ConnectQosServer connectQos,
java.util.Map map)
|
java.lang.String |
Session.init(I_SecurityQos securityQos)
|
void |
SecurityQos.parse(java.lang.String xmlQos_literal)
|
I_Session |
Manager.reserveSession(java.lang.String sessionId)
|
private javax.naming.NamingEnumeration |
LdapGateway.search(javax.naming.directory.DirContext ctx,
java.lang.String filter)
Do a ldap query. |
void |
Manager.shutdown()
|
boolean |
LdapGateway.userExists(java.lang.String loginName,
java.lang.String password,
java.lang.String loginNameToCheck)
Check if given user exists |
Constructors in org.xmlBlaster.authentication.plugins.ldap that throw XmlBlasterException | |
---|---|
LdapGateway(Global glob,
java.lang.String serverUrl,
java.lang.String rootDN,
java.lang.String rootPwd,
java.lang.String loginFieldName)
Connects to the LDAP server. |
|
SecurityQos(Global glob,
java.lang.String xmlQos_literal)
|
|
Session(Manager sm,
java.lang.String sessionId)
|
Uses of XmlBlasterException in org.xmlBlaster.authentication.plugins.simple |
---|
Methods in org.xmlBlaster.authentication.plugins.simple that throw XmlBlasterException | |
---|---|
(package private) void |
Subject.authenticate(java.lang.String passwd)
Authenticate the user |
void |
Session.changeSecretSessionId(java.lang.String sessionId)
|
(package private) void |
Manager.changeSecretSessionId(java.lang.String oldSessionId,
java.lang.String newSessionId)
|
private Subject |
Session.determineSubject(java.lang.String user,
java.lang.String passwd)
Determine which subject is specified by user/passwd |
MsgUnitRaw |
ClientPlugin.exportMessage(CryptDataHolder dataHolder)
|
MsgUnitRaw |
Session.exportMessage(CryptDataHolder dataHolder)
|
(package private) Subject |
Manager.getSubject(java.lang.String name)
|
MsgUnitRaw |
ClientPlugin.importMessage(CryptDataHolder dataHolder)
|
MsgUnitRaw |
Session.importMessage(CryptDataHolder dataHolder)
|
ConnectQosServer |
Session.init(ConnectQosServer connectQos,
java.util.Map map)
|
java.lang.String |
Session.init(I_SecurityQos securityQos)
Initialize the Session for a login or connect call. |
void |
SecurityQos.parse(java.lang.String xmlQoS_literal)
|
void |
Manager.shutdown()
|
Constructors in org.xmlBlaster.authentication.plugins.simple that throw XmlBlasterException | |
---|---|
SecurityQos(Global glob,
java.lang.String xmlQoS_literal)
|
Uses of XmlBlasterException in org.xmlBlaster.client |
---|
Fields in org.xmlBlaster.client declared as XmlBlasterException | |
---|---|
private XmlBlasterException |
StreamingCallback.ex
|
private XmlBlasterException |
XmlBlasterAccess.toDeadXmlBlasterException
|
Methods in org.xmlBlaster.client that return XmlBlasterException | |
---|---|
XmlBlasterException |
XmlBlasterAccess.getToDeadXmlBlasterException()
Workaround to transport the reason for the toDead() transition as the interface {@link I_ConnectionStateListener#reachedDead(ConnectionStateEnum, I_XmlBlasterAccess) is missing to pass the exception to the client. |
Methods in org.xmlBlaster.client with parameters of type XmlBlasterException | |
---|---|
void |
XmlBlasterAccess.lostConnection(XmlBlasterException xmlBlasterException)
For example called by SOCKET layer (SocketCallbackImpl.java) on EOF. |
boolean |
XmlBlasterAccess.sendingFailed(MsgQueueEntry[] entries,
XmlBlasterException exception)
|
void |
XmlBlasterAccess.toDead(I_DispatchManager dispatchManager,
ConnectionStateEnum oldState,
XmlBlasterException xmlBlasterException)
Call by DispatchManager on connection state transition. |
Methods in org.xmlBlaster.client that throw XmlBlasterException | |
---|---|
void |
StreamingCallback.Writer.close(java.io.OutputStream outStream)
|
ConnectReturnQos |
XmlBlasterAccess.connect(ConnectQos qos,
I_Callback updateListener)
|
ConnectReturnQos |
I_XmlBlasterAccess.connect(ConnectQos qos,
I_Callback updateListener)
Login to xmlBlaster. |
ConnectReturnQos |
XmlBlasterAccess.connect(ConnectQos qos,
I_StreamingCallback streamingUpdateListener,
boolean withQueue)
|
private void |
StreamingCallback.consumeExceptionIfNotNull()
returns the exception (if any) and resets it. |
private void |
XmlBlasterAccess.createDefaultCbServer()
Extracts address data from ConnectQos (or adds default if missing) and instantiate a callback server as specified in ConnectQos |
PublishReturnQos |
XmlBlasterAccess.createTemporaryTopic(long destroyDelay,
int historyMaxMsg)
|
PublishReturnQos |
XmlBlasterAccess.createTemporaryTopic(java.lang.String uniqueTopicId,
long destroyDelay,
int historyMaxMsg)
|
PublishReturnQos |
XmlBlasterAccess.createTemporaryTopic(TopicProperty topicProperty)
Create a temporay topic. |
EraseReturnQos[] |
XmlBlasterAccess.erase(EraseKey eraseKey,
EraseQos eraseQos)
|
EraseReturnQos[] |
I_XmlBlasterAccess.erase(EraseKey eraseKey,
EraseQos eraseQos)
|
EraseReturnQos[] |
XmlBlasterAccess.erase(java.lang.String xmlKey,
java.lang.String qos)
|
private java.lang.String[] |
PluginLoader.fetchClassnameAndParam(java.lang.String mechanism,
java.lang.String version)
Resolve a class name of a plugin, specified by its type (mechanism) and version. |
MsgUnit[] |
XmlBlasterAccess.get(GetKey getKey,
GetQos getQos)
|
MsgUnit[] |
I_XmlBlasterAccess.get(GetKey getKey,
GetQos getQos)
Get synchronous messages. |
MsgUnit[] |
SynchronousCache.get(GetKey getKey,
GetQos getQos)
Access messages from cache |
MsgUnit[] |
XmlBlasterAccess.get(java.lang.String xmlKey,
java.lang.String qos)
|
MsgUnit[] |
XmlBlasterAccess.getCached(GetKey getKey,
GetQos getQos)
|
MsgUnit[] |
I_XmlBlasterAccess.getCached(GetKey getKey,
GetQos getQos)
Access synchronously messages. |
I_ClientPlugin |
PluginLoader.getClientPlugin(java.lang.String mechanism,
java.lang.String version)
Load another plugin. |
I_ClientPlugin |
PluginLoader.getCurrentClientPlugin()
Get the currently used plugin |
FileDumper |
XmlBlasterAccess.getFileDumper()
|
java.lang.String |
ClientErrorHandler.handleErrorSync(I_MsgErrorInfo msgErrorInfo)
|
I_CallbackServer |
XmlBlasterAccess.initCbServer(java.lang.String loginName,
CallbackAddress callbackAddress)
|
I_CallbackServer |
I_XmlBlasterAccess.initCbServer(java.lang.String loginName,
CallbackAddress callbackAddress)
Create a new instance of the desired protocol driver like CORBA or RMI driver using the plugin loader. |
boolean |
XmlBlasterAccess.isCallbackDispatcherActive()
|
private I_ClientPlugin |
PluginLoader.loadPlugin(java.lang.String[] param)
Handels the process of loading a plugin. |
boolean |
SynchronousCache.newEntry(java.lang.String subId,
GetKey getKey,
MsgUnit[] units)
Creates an new entry in the cache |
PublishReturnQos |
XmlBlasterAccess.publish(MsgUnit msgUnit)
|
PublishReturnQos |
I_XmlBlasterAccess.publish(MsgUnit msgUnit)
|
PublishReturnQos[] |
XmlBlasterAccess.publishArr(MsgUnit[] msgUnitArr)
|
void |
XmlBlasterAccess.publishOneway(MsgUnit[] msgUnitArr)
|
void |
I_XmlBlasterAccess.publishOneway(MsgUnit[] msgUnitArr)
Publish messages. |
private PublishReturnQos |
XmlBlasterAccess.publishSingleChunk(MsgKeyData keyData,
MsgQosData chunkQosData,
byte[] buf,
int length,
boolean isLastChunk,
long count,
java.lang.Exception ex)
|
PublishReturnQos[] |
XmlBlasterAccess.publishStream(java.io.InputStream is,
MsgKeyData keyData,
MsgQosData qosData,
int maxBufSize,
I_ReplaceContent contentReplacer)
|
PublishReturnQos[] |
I_XmlBlasterAccess.publishStream(java.io.InputStream is,
MsgKeyData keyData,
MsgQosData qosData,
int maxBufSize,
I_ReplaceContent contentReplacer)
Publishes one message in streaming manner, if the message content is too big to fit in one single chunk, the message is split in several smaller messages (called chunks) and these are published. |
private java.lang.Object |
XmlBlasterAccess.queueMessage(MsgQueueEntry entry)
Put the given message entry into the queue |
MsgUnit[] |
XmlBlasterAccess.receive(java.lang.String oid,
int maxEntries,
long timeout,
boolean consumable)
|
MsgUnit[] |
I_XmlBlasterAccess.receive(java.lang.String oid,
int maxEntries,
long timeout,
boolean consumable)
This method synchronously accesses maxEntries messages from any xmlBlaster server side queue. |
void |
XmlBlasterAccess.refreshSession()
|
void |
XmlBlasterAccessMBean.refreshSession()
Send an event to xmlBlaster to refresh the login session life time. |
void |
I_XmlBlasterAccess.refreshSession()
Send an event to xmlBlaster to refresh the login session life time. |
MsgUnit[] |
XmlBlasterAccess.request(MsgUnit msgUnit,
long timeout,
int maxEntries)
|
MsgUnit[] |
I_XmlBlasterAccess.request(MsgUnit msgUnit,
long timeout,
int maxEntries)
Implements the blocking request/reply pattern. |
private void |
StreamingCallback.reset()
|
java.lang.String |
XmlBlasterAccess.sendAdministrativeCommand(java.lang.String command)
|
java.lang.String |
I_XmlBlasterAccess.sendAdministrativeCommand(java.lang.String command)
Convenience method to send an administrative command to xmlBlaster. |
private void |
XmlBlasterAccess.sendConnectQos()
Sends the current connectQos to xmlBlaster and stores the connectReturnQos. |
int |
StreamingCallback.sendInitialQueueEntries()
|
void |
XmlBlasterAccess.setCallbackDispatcherActive(boolean activate)
|
void |
I_XmlBlasterAccess.setCallbackDispatcherActive(boolean activate)
Switch callback dispatcher on/off. |
private void |
StreamingCallback.storeEntry(java.lang.String cbSessId,
UpdateKey key,
byte[] cont,
UpdateQos qos)
|
SubscribeReturnQos |
XmlBlasterAccess.subscribe(java.lang.String xmlKey,
java.lang.String qos)
|
SubscribeReturnQos |
XmlBlasterAccess.subscribe(java.lang.String xmlKey,
java.lang.String qos,
I_Callback cb)
|
SubscribeReturnQos |
I_XmlBlasterAccess.subscribe(java.lang.String xmlKey,
java.lang.String xmlQos,
I_Callback cb)
Subscribe to messages. |
SubscribeReturnQos |
XmlBlasterAccess.subscribe(SubscribeKey subscribeKey,
SubscribeQos subscribeQos)
|
SubscribeReturnQos |
I_XmlBlasterAccess.subscribe(SubscribeKey subscribeKey,
SubscribeQos subscribeQos)
Subscribe to messages. |
SubscribeReturnQos |
XmlBlasterAccess.subscribe(SubscribeKey subscribeKey,
SubscribeQos subscribeQos,
I_Callback cb)
|
SubscribeReturnQos |
I_XmlBlasterAccess.subscribe(SubscribeKey subscribeKey,
SubscribeQos subscribeQos,
I_Callback cb)
This subscribe variant allows to specify a specialized callback for updated messages. |
MsgUnit |
XmlDbMessageWrapper.toMessage()
Creates the complete message for you, which you can publish to xmlBlaster. |
java.lang.String |
XmlDbMessageWrapper.toXml()
Returns the 'message content' which is the SQL request coded in XML. |
UnSubscribeReturnQos[] |
XmlBlasterAccess.unSubscribe(java.lang.String xmlKey,
java.lang.String qos)
|
UnSubscribeReturnQos[] |
XmlBlasterAccess.unSubscribe(UnSubscribeKey unSubscribeKey,
UnSubscribeQos unSubscribeQos)
|
UnSubscribeReturnQos[] |
I_XmlBlasterAccess.unSubscribe(UnSubscribeKey unSubscribeKey,
UnSubscribeQos unSubscribeQos)
Cancel subscription. |
java.lang.String[] |
I_CallbackRaw.update(java.lang.String cbSessionId,
MsgUnitRaw[] msgUnitArr)
This is the callback method invoked from xmlBlaster server informing the client in an asynchronous mode about a new message. |
java.lang.String |
XmlBlasterAccess.update(java.lang.String cbSessionId,
UpdateKey updateKey,
byte[] content,
UpdateQos updateQos)
This is the callback method invoked from xmlBlaster delivering us a new asynchronous message. |
java.lang.String |
StreamingCallback.update(java.lang.String cbSessId,
UpdateKey updKey,
byte[] cont,
UpdateQos updQos)
|
java.lang.String |
I_Callback.update(java.lang.String cbSessionId,
UpdateKey updateKey,
byte[] content,
UpdateQos updateQos)
This is the callback method invoked from I_XmlBlasterAccess informing the client in an asynchronous mode about a new message. |
boolean |
SynchronousCache.update(java.lang.String subId,
UpdateKey updateKey,
byte[] content,
UpdateQos updateQos)
Updated the cache (add a new entry or replaces an existing or removes one). |
java.lang.String |
JavascriptCallback.update(java.lang.String cbSessionId,
UpdateKey updateKey,
byte[] content,
UpdateQos updateQos)
This is the callback method invoked from xmlBlaster delivering us a new asynchronous message. |
java.lang.String |
I_StreamingCallback.update(java.lang.String cbSessionId,
UpdateKey updateKey,
java.io.InputStream contentStream,
UpdateQos updateQos)
This is the callback method invoked from I_XmlBlasterAccess informing the client in an asynchronous mode about a new message. |
private java.lang.String |
StreamingCallback.updateInternal(java.lang.String cbSessId,
UpdateKey updKey,
byte[] cont,
UpdateQos updQos,
boolean isExternal)
|
java.lang.String |
StreamingCallback.updateNewMessage(java.lang.String cbSessId,
UpdateKey updKey,
byte[] cont,
UpdateQos updQos)
|
java.lang.String |
StreamingCallback.updateStraight(java.lang.String cbSessId,
UpdateKey updKey,
byte[] cont,
UpdateQos updQos)
|
void |
StreamingCallback.Writer.write(java.io.OutputStream outStream,
byte[] buf)
|
Constructors in org.xmlBlaster.client that throw XmlBlasterException | |
---|---|
StreamingCallback(Global global,
I_StreamingCallback callback)
|
|
StreamingCallback(Global global,
I_StreamingCallback callback,
long waitForChunksTimeout,
long waitForClientReturnTimeout,
boolean useQueue)
|
Uses of XmlBlasterException in org.xmlBlaster.client.dispatch |
---|
Methods in org.xmlBlaster.client.dispatch with parameters of type XmlBlasterException | |
---|---|
private void |
ClientDispatchManager.givingUpDelivery(XmlBlasterException ex)
|
boolean |
ClientDispatchManager.sendingFailedNotification(MsgQueueEntry[] entries,
XmlBlasterException ex)
Notify I_PostSendListener about problem. |
void |
ClientDispatchManager.shutdownFomAnyState(ConnectionStateEnum oldState,
XmlBlasterException ex)
Call by DispatchConnectionsHandler on state transition |
void |
ClientDispatchManager.toDead(XmlBlasterException ex)
|
Methods in org.xmlBlaster.client.dispatch that throw XmlBlasterException | |
---|---|
private void |
ClientDispatchConnection.connect(MsgQueueEntry entry)
Encrypt and send a connect request, decrypt the returned data |
void |
ClientDispatchConnection.connectLowlevel()
|
DispatchConnection |
ClientDispatchConnectionsHandler.createDispatchConnection(AddressBase address)
|
void |
ClientDispatchConnectionsHandler.createFakedReturnObjects(I_QueueEntry[] entries,
java.lang.String state,
java.lang.String stateInfo)
If no connection is available but the message is for example save queued, we can generate here valid return objects |
private void |
ClientDispatchConnection.disconnect(MsgQueueEntry entry)
Encrypt and send a disconnect request, decrypt the returned data |
java.lang.String |
ClientDispatchConnection.doPing(java.lang.String data)
|
void |
ClientDispatchConnection.doSend(MsgQueueEntry[] msgArr_,
boolean isAsyncMode)
Send the messages to xmlBlaster. |
private void |
ClientDispatchConnection.erase(MsgQueueEntry entry)
Encrypt and send a erase request, decrypt the returned data |
private void |
ClientDispatchConnection.get(MsgQueueEntry entry)
Encrypt and send a synchronous get request, decrypt the returned data |
private java.lang.String |
ClientDispatchConnection.getEncryptedConnectQos(ConnectQosData cqd)
Remember the cqd in this.connectQosData and return the encrypted string. |
void |
ClientDispatchManager.handleSyncWorkerException(java.util.List<I_Entry> entryList,
java.lang.Throwable throwable)
Called by DispatchWorker if an Exception occured in sync mode Only on client side |
void |
ClientDispatchManager.handleWorkerException(java.util.List<I_Entry> entryList,
java.lang.Throwable throwable)
Called by DispatchWorker if an Exception occurred in async mode. |
void |
ClientDispatchConnection.loadPlugin()
Load the appropriate protocol driver, e.g the CORBA protocol plugin. |
private void |
ClientDispatchConnection.publish(MsgQueueEntry[] msgArr_)
|
void |
ClientDispatchManager.putPost(I_QueueEntry queueEntry)
|
void |
ClientDispatchManager.putPost(I_QueueEntry[] queueEntries)
|
boolean |
ClientDispatchManager.putPre(I_QueueEntry queueEntry)
|
boolean |
ClientDispatchManager.putPre(I_QueueEntry[] queueEntries)
|
protected void |
ClientDispatchConnection.reconnect()
On reconnect polling try to establish the connection. |
void |
ClientDispatchManager.removeFromQueue(MsgQueueEntry[] entries,
boolean postSendNotify)
Messages are successfully sent, remove them now from queue (sort of a commit()): We remove filtered/destroyed messages as well (which doen't show up in entryListChecked) |
void |
ClientDispatchManager.setAddresses(AddressBase[] addr)
Set new callback addresses, typically after a session login/logout |
void |
ClientDispatchConnection.shutdown(boolean delayed)
Stop all callback drivers of this client. |
private void |
ClientDispatchConnection.subscribe(MsgQueueEntry entry)
Encrypt and send a subscribe request, decrypt the returned data |
private void |
ClientDispatchConnection.unSubscribe(MsgQueueEntry entry)
Encrypt and send a unSubscribe request, decrypt the returned data |
void |
ClientDispatchManager.updateProperty(CallbackAddress[] addressArr)
Reconfigure dispatcher with given properties. |
Constructors in org.xmlBlaster.client.dispatch that throw XmlBlasterException | |
---|---|
ClientDispatchConnection(Global glob,
ClientDispatchConnectionsHandler connectionsHandler,
AddressBase address)
|
|
ClientDispatchConnectionsHandler(Global glob,
ClientDispatchManager dispatchManager)
|
|
ClientDispatchManager(Global glob,
I_MsgErrorHandler failureListener,
I_MsgSecurityInterceptor securityInterceptor,
I_Queue msgQueue,
I_ConnectionStatusListener connectionStatusListener,
AddressBase[] addrArr,
SessionName sessionName)
|
Uses of XmlBlasterException in org.xmlBlaster.client.feeder |
---|
Constructors in org.xmlBlaster.client.feeder that throw XmlBlasterException | |
---|---|
PublishFile(java.lang.String[] args)
Constructs the PublishFile object. |
Uses of XmlBlasterException in org.xmlBlaster.client.filepoller |
---|
Methods in org.xmlBlaster.client.filepoller that throw XmlBlasterException | |
---|---|
private void |
Publisher.createDirectoryManager()
Create the file checker instance with the current configuration. |
(package private) void |
DirectoryManager.deleteOrMoveEntry(java.lang.String entryName,
boolean success)
Removes the specified entry from the map. |
private FileInfo[] |
Publisher.doPublish()
Publish file to xmlBlaster. |
byte[] |
DirectoryManager.getContent(FileInfo info)
Gets the content from the specified file as a byte[]. |
(package private) java.util.Set |
DirectoryManager.getEntries()
Gets all entries which are ready to be sent (i.e. |
private java.util.Map |
DirectoryManager.getNewFiles(java.io.File directory)
Retrieves all files from the specified directory |
void |
Publisher.init()
Connects to the xmlBlaster. |
void |
FilePollerPlugin.init(Global global,
PluginInfo pluginInfo)
|
private java.io.File |
DirectoryManager.initDirectory(java.io.File parent,
java.lang.String propNameForLogging,
java.lang.String dirName)
Returns the specified directory or null or if needed it will create one |
private void |
DirectoryManager.moveTo(java.io.File file,
java.lang.String origName,
java.io.File destinationDirectory)
|
void |
FilenameFilter.setPattern(java.lang.String globPattern,
boolean trueRegex)
|
void |
Publisher.shutdown()
If an exception occurs it means it could not publish the entry |
void |
FilePollerPlugin.shutdown()
|
Constructors in org.xmlBlaster.client.filepoller that throw XmlBlasterException | |
---|---|
DirectoryManager(Global global,
java.lang.String name,
java.lang.String directoryName,
long delaySinceLastFileChange,
java.lang.String filter,
java.lang.String sent,
java.lang.String discarded,
java.lang.String lockExtention,
boolean trueRegex,
boolean copyOnMove)
|
|
FilenameFilter(java.lang.String pattern,
boolean trueRegex)
|
|
Publisher(Global globOrig,
java.lang.String name,
I_PluginConfig pluginConfig)
|
Uses of XmlBlasterException in org.xmlBlaster.client.key |
---|
Constructors in org.xmlBlaster.client.key that throw XmlBlasterException | |
---|---|
EraseKey(Global glob,
java.lang.String queryString,
java.lang.String queryType)
Constructor with given oid. |
|
GetKey(Global glob,
java.lang.String queryString,
java.lang.String queryType)
Constructor for XPath query. |
|
GetReturnKey(Global glob,
java.lang.String xmlKey)
Parse the given xml data. |
|
SubscribeKey(Global glob,
java.lang.String queryString,
java.lang.String queryType)
Constructor for XPath query. |
|
UnSubscribeKey(Global glob,
java.lang.String queryString,
java.lang.String queryType)
Constructor with query parameters. |
|
UpdateKey(Global glob,
java.lang.String xmlKey)
Parse the given xml data. |
Uses of XmlBlasterException in org.xmlBlaster.client.protocol |
---|
Methods in org.xmlBlaster.client.protocol with parameters of type XmlBlasterException | |
---|---|
void |
I_CallbackExtended.lostConnection(XmlBlasterException xmlBlasterException)
For example called by socket layer on EOF |
Methods in org.xmlBlaster.client.protocol that throw XmlBlasterException | |
---|---|
void |
CbServerPluginManager.activateDrivers()
|
void |
ProtocolPluginManager.activateDrivers()
|
java.lang.String |
I_XmlBlasterConnection.connect(java.lang.String connectQos)
Login and authenticate, the authentication schema is transported in the qos. |
void |
I_XmlBlasterConnection.connectLowlevel(Address address)
Initialize the driver and verify if the remote side is reachable on the low-level protocol layer. |
boolean |
I_XmlBlasterConnection.disconnect(java.lang.String disconnectQos)
Logout from xmlBlaster. |
java.lang.String[] |
I_XmlBlasterConnection.erase(java.lang.String xmlKey,
java.lang.String qos)
|
EraseReturnQos[] |
I_XmlBlaster.erase(java.lang.String xmlKey,
java.lang.String qos)
|
MsgUnitRaw[] |
I_XmlBlasterConnection.get(java.lang.String xmlKey,
java.lang.String qos)
|
MsgUnit[] |
I_XmlBlaster.get(java.lang.String xmlKey,
java.lang.String qos)
|
java.lang.String |
I_CallbackServer.getCbAddress()
Returns the current callback address. |
I_CallbackServer |
CbServerPluginManager.getNewProtocolDriverInstance(java.lang.String driverType)
Creates a new instance of the given protocol driver type. |
I_XmlBlasterConnection |
ProtocolPluginManager.getNewProtocolDriverInstance(java.lang.String driverType)
Creates a new instance of the given protocol driver type. |
I_CallbackServer |
CbServerPluginManager.getPlugin(java.lang.String type,
java.lang.String version)
Return a specific plugin, every call will create a new plugin instance. |
I_XmlBlasterConnection |
ProtocolPluginManager.getPlugin(java.lang.String type,
java.lang.String version)
Return a specific plugin, every call will create a new plugin instance. |
void |
I_CallbackServer.initialize(Global glob,
java.lang.String name,
CallbackAddress callbackAddress,
I_CallbackExtended client)
Initialize and start the callback server. |
java.lang.String |
I_XmlBlasterConnection.ping(java.lang.String qos)
Ping the server on physical level and/or application level (see AvailabilityChecker). |
PublishReturnQos |
I_XmlBlaster.publish(MsgUnit msgUnit)
|
java.lang.String |
I_XmlBlasterConnection.publish(MsgUnitRaw msgUnit)
|
PublishReturnQos[] |
I_XmlBlaster.publishArr(MsgUnit[] msgUnitArr)
|
java.lang.String[] |
I_XmlBlasterConnection.publishArr(MsgUnitRaw[] msgUnitArr)
|
void |
I_XmlBlaster.publishOneway(MsgUnit[] msgUnitArr)
|
void |
I_XmlBlasterConnection.publishOneway(MsgUnitRaw[] msgUnitArr)
|
void |
I_XmlBlasterConnection.setConnectReturnQos(ConnectReturnQos connectReturnQos)
Pass the driver the decrypted and parsed ConnectReturnQos directly after a connect. |
void |
I_XmlBlasterConnection.shutdown()
|
void |
I_CallbackServer.shutdown()
Stop the server |
void |
CbServerPluginManager.shutdownDrivers(boolean force)
|
void |
ProtocolPluginManager.shutdownDrivers(boolean force)
|
java.lang.String |
I_XmlBlasterConnection.subscribe(java.lang.String xmlKey,
java.lang.String qos)
|
SubscribeReturnQos |
I_XmlBlaster.subscribe(java.lang.String xmlKey,
java.lang.String qos)
|
java.lang.String[] |
I_XmlBlasterConnection.unSubscribe(java.lang.String xmlKey,
java.lang.String qos)
|
UnSubscribeReturnQos[] |
I_XmlBlaster.unSubscribe(java.lang.String xmlKey,
java.lang.String qos)
|
java.lang.String[] |
AbstractCallbackExtended.update(java.lang.String cbSessionId,
MsgUnitRaw[] msgUnitArr)
This is the callback method invoked natively informing the client in an asynchronous mode about new messages. |
java.lang.String |
AbstractCallbackExtended.update(java.lang.String cbSessionId,
java.lang.String updateKeyLiteral,
byte[] content,
java.lang.String updateQosLiteral)
It parses the string literals passed in the argument list and calls subsequently the update method with the signature defined in I_Callback. |
java.lang.String |
I_CallbackExtended.update(java.lang.String cbSessionId,
java.lang.String updateKeyLiteral,
byte[] content,
java.lang.String updateQosLiteral)
This is the callback method invoked when using certain callback protocols (for example xml-rpc) which informs the client in an asynchronous mode about a new message. |
abstract java.lang.String |
AbstractCallbackExtended.update(java.lang.String cbSessionId,
UpdateKey updateKey,
byte[] content,
UpdateQos updateQos)
The class which extends AbstractCallbackExtended must implement this method. |
Uses of XmlBlasterException in org.xmlBlaster.client.protocol.corba |
---|
Methods in org.xmlBlaster.client.protocol.corba that throw XmlBlasterException | |
---|---|
java.lang.String |
CorbaConnection.connect(java.lang.String connectQos)
Login to the server. |
void |
CorbaConnection.connectLowlevel(Address address)
|
private void |
CorbaCallbackServer.createCallbackServer()
Building a Callback server, using the tie approach. |
java.lang.String[] |
CorbaConnection.erase(java.lang.String xmlKey,
java.lang.String qos)
|
MsgUnitRaw[] |
CorbaConnection.get(java.lang.String xmlKey,
java.lang.String qos)
|
AuthServer |
CorbaConnection.getAuthenticationService(Address address)
Access the authentication service. |
java.lang.String |
CorbaCallbackServer.getCbAddress()
|
(package private) org.omg.CosNaming.NamingContextExt |
CorbaConnection.getNamingService()
Locate the CORBA Name Service. |
private Server |
CorbaConnection.getXmlBlaster()
Accessing the xmlBlaster handle. |
void |
CorbaCallbackServer.initialize(Global glob,
java.lang.String name,
CallbackAddress callbackAddress,
I_CallbackExtended boss)
Construct a CORBA callback server for xmlBlaster, used by java/corba clients. |
java.lang.String |
CorbaConnection.ping(java.lang.String qos)
|
java.lang.String |
CorbaConnection.publish(MsgUnitRaw msgUnit)
Publish fault-tolerant the given message. |
java.lang.String[] |
CorbaConnection.publishArr(MsgUnitRaw[] msgUnitArr)
|
void |
CorbaConnection.publishOneway(MsgUnitRaw[] msgUnitArr)
|
void |
CorbaConnection.setConnectReturnQos(ConnectReturnQos connectReturnQos)
|
void |
CorbaConnection.shutdown()
Shut down the callback server. |
java.lang.String |
CorbaConnection.subscribe(java.lang.String xmlKey,
java.lang.String qos)
Enforced by I_XmlBlasterConnection interface (failsafe mode). |
java.lang.String[] |
CorbaConnection.unSubscribe(java.lang.String xmlKey,
java.lang.String qos)
Enforced by I_XmlBlasterConnection interface (failsafe mode) |
Constructors in org.xmlBlaster.client.protocol.corba that throw XmlBlasterException | |
---|---|
CorbaCallbackServer(Global glob,
java.lang.String name,
CallbackAddress callbackAddress,
I_CallbackExtended boss,
org.omg.CORBA.ORB orb_)
Construct a CORBA callback server for xmlBlaster, used by java/corba clients. |
Uses of XmlBlasterException in org.xmlBlaster.client.protocol.email |
---|
Methods in org.xmlBlaster.client.protocol.email that throw XmlBlasterException | |
---|---|
java.lang.String |
EmailConnection.connect(java.lang.String connectQos)
Login to the server. |
void |
EmailConnection.connectLowlevel(Address address)
Connects to xmlBlaster with one email connection. |
boolean |
EmailConnection.disconnect(java.lang.String qos)
Does a logout and removes the callback server. |
java.lang.String[] |
EmailConnection.erase(java.lang.String xmlKey_literal,
java.lang.String qos_literal)
Delete messages. |
MsgUnitRaw[] |
EmailConnection.get(java.lang.String xmlKey_literal,
java.lang.String qos_literal)
Synchronous access a message. |
java.lang.String |
EmailCallbackImpl.getCbAddress()
|
void |
EmailConnection.init(Global glob,
PluginInfo pluginInfo)
This method is called by the PluginManager (enforced by I_Plugin). |
void |
EmailCallbackImpl.initialize(Global glob,
java.lang.String loginName,
CallbackAddress callbackAddress,
I_CallbackExtended cbClient)
Initialize and start the callback server A thread receiving all messages from xmlBlaster, and delivering them back to the client code. |
java.lang.String |
EmailConnection.ping(java.lang.String qos)
Check server. |
java.lang.String |
EmailConnection.publish(MsgUnitRaw msgUnit)
Publish a message. |
java.lang.String[] |
EmailConnection.publishArr(MsgUnitRaw[] msgUnitArr)
Publish multiple messages in one sweep. |
void |
EmailConnection.publishOneway(MsgUnitRaw[] msgUnitArr)
Publish multiple messages in one sweep. |
java.lang.String |
EmailConnection.subscribe(java.lang.String xmlKey_literal,
java.lang.String qos_literal)
Enforced by I_XmlBlasterConnection interface (failsafe mode). |
java.lang.String[] |
EmailConnection.unSubscribe(java.lang.String xmlKey_literal,
java.lang.String qos_literal)
Unsubscribe from messages. |
Uses of XmlBlasterException in org.xmlBlaster.client.protocol.http.common |
---|
Methods in org.xmlBlaster.client.protocol.http.common that throw XmlBlasterException | |
---|---|
java.lang.String |
Msg.getContentStr()
Get the raw content, never null |
Uses of XmlBlasterException in org.xmlBlaster.client.protocol.local |
---|
Methods in org.xmlBlaster.client.protocol.local that throw XmlBlasterException | |
---|---|
java.lang.String |
LocalConnection.connect(java.lang.String connectQos)
Login to the server. |
void |
LocalConnection.connectLowlevel(Address address)
|
java.lang.String[] |
LocalConnection.erase(java.lang.String xmlKey_literal,
java.lang.String qos_literal)
Delete messages. |
MsgUnitRaw[] |
LocalConnection.get(java.lang.String xmlKey_literal,
java.lang.String qos_literal)
Synchronous access a message. |
java.lang.String |
LocalCallbackImpl.getCbAddress()
Returns the callback address. |
void |
LocalConnection.init(Global glob_,
PluginInfo pluginInfo)
This method is called by the PluginManager (enforced by I_Plugin). |
void |
LocalCallbackImpl.initialize(Global glob,
java.lang.String loginName,
CallbackAddress callbackAddress,
I_CallbackExtended cbClient)
Initialize the callback server. |
java.lang.String |
LocalConnection.ping(java.lang.String str)
Check server. |
java.lang.String |
LocalConnection.publish(MsgUnitRaw msgUnit)
Publish a message. |
java.lang.String[] |
LocalConnection.publishArr(MsgUnitRaw[] msgUnitArr)
Publish multiple messages in one sweep. |
void |
LocalConnection.publishOneway(MsgUnitRaw[] msgUnitArr)
Publish multiple messages in one sweep. |
void |
LocalConnection.shutdown()
Shut down. |
java.lang.String |
LocalConnection.subscribe(java.lang.String xmlKey_literal,
java.lang.String qos_literal)
Enforced by I_XmlBlasterConnection interface (failsafe mode). |
java.lang.String |
LocalConnection.toXml()
|
java.lang.String |
LocalConnection.toXml(java.lang.String extraOffset)
Dump of the server, remove in future. |
java.lang.String[] |
LocalConnection.unSubscribe(java.lang.String xmlKey_literal,
java.lang.String qos_literal)
Unsubscribe from messages. |
Uses of XmlBlasterException in org.xmlBlaster.client.protocol.rmi |
---|
Methods in org.xmlBlaster.client.protocol.rmi that throw XmlBlasterException | |
---|---|
private void |
RmiCallbackServer.bindToRegistry(I_XmlBlasterCallback callbackRmiServer)
Publish the RMI xmlBlaster server to rmi registry. |
java.lang.String |
RmiConnection.connect(java.lang.String connectQos)
Login to the server. |
void |
RmiConnection.connectLowlevel(Address address)
Connect to RMI server. |
void |
RmiCallbackServer.createCallbackServer(I_XmlBlasterCallback callbackRmiServer)
Building a Callback server, using the tie approach. |
java.lang.String[] |
RmiConnection.erase(java.lang.String xmlKey,
java.lang.String qos)
|
MsgUnitRaw[] |
RmiConnection.get(java.lang.String xmlKey,
java.lang.String qos)
|
java.lang.String |
RmiCallbackServer.getCbAddress()
|
private I_XmlBlaster |
RmiConnection.getXmlBlaster()
Accessing the xmlBlaster handle. |
void |
RmiConnection.init(Global glob,
PluginInfo pluginInfo)
This method is called by the PluginManager (enforced by I_Plugin). |
void |
RmiCallbackServer.initialize(Global glob,
java.lang.String name,
CallbackAddress callbackAddress,
I_CallbackExtended client)
Construct the callback server. |
private java.rmi.Remote |
RmiConnection.lookup(java.lang.String addr)
Connect to RMI server. |
java.lang.String |
RmiConnection.ping(java.lang.String str)
Check server. |
java.lang.String |
RmiConnection.publish(MsgUnitRaw msgUnit)
Publish fault-tolerant the given message. |
java.lang.String[] |
RmiConnection.publishArr(MsgUnitRaw[] msgUnitArr)
|
void |
RmiConnection.publishOneway(MsgUnitRaw[] msgUnitArr)
RMI does not support oneway messages. |
void |
RmiConnection.shutdown()
Shut down. |
java.lang.String |
RmiConnection.subscribe(java.lang.String xmlKey,
java.lang.String qos)
Enforced by I_XmlBlasterConnection interface (failsafe mode). |
java.lang.String[] |
RmiConnection.unSubscribe(java.lang.String xmlKey,
java.lang.String qos)
Enforced by I_XmlBlasterConnection interface (failsafe mode) |
java.lang.String[] |
RmiCallbackServer.update(java.lang.String cbSessionId,
MsgUnitRaw[] msgUnitArr)
This is the callback method invoked from xmlBlaster informing the client in an asynchronous mode about new messages. |
Constructors in org.xmlBlaster.client.protocol.rmi that throw XmlBlasterException | |
---|---|
RmiConnection(Global glob)
RMI client access to xmlBlaster for normal client applications. |
|
RmiConnection(Global glob,
java.applet.Applet ap)
RMI client access to xmlBlaster for applets. |
Uses of XmlBlasterException in org.xmlBlaster.client.protocol.socket |
---|
Methods in org.xmlBlaster.client.protocol.socket that throw XmlBlasterException | |
---|---|
java.lang.String |
SocketConnection.connect(java.lang.String connectQos)
Login to the server. |
void |
SocketConnection.connectLowlevel(Address address)
Connects to xmlBlaster with one socket connection. |
boolean |
SocketConnection.disconnect(java.lang.String qos)
Does a logout and removes the callback server. |
java.lang.String[] |
SocketConnection.erase(java.lang.String xmlKey_literal,
java.lang.String qos_literal)
Delete messages. |
MsgUnitRaw[] |
SocketConnection.get(java.lang.String xmlKey_literal,
java.lang.String qos_literal)
Synchronous access a message. |
java.lang.String |
SocketCallbackImpl.getCbAddress()
Returns the callback address. |
java.net.Socket |
SocketConnection.getSocket()
Get the raw socket handle |
void |
SocketConnection.init(Global glob,
PluginInfo pluginInfo)
This method is called by the PluginManager (enforced by I_Plugin). |
void |
SocketCallbackImpl.initialize(Global glob,
java.lang.String loginName,
CallbackAddress callbackAddress,
I_CallbackExtended cbClient)
Initialize and start the callback server A thread receiving all messages from xmlBlaster, and delivering them back to the client code. |
java.lang.String |
SocketConnection.ping(java.lang.String qos)
Check server. |
java.lang.String |
SocketConnection.publish(MsgUnitRaw msgUnit)
Publish a message. |
java.lang.String[] |
SocketConnection.publishArr(MsgUnitRaw[] msgUnitArr)
Publish multiple messages in one sweep. |
void |
SocketConnection.publishOneway(MsgUnitRaw[] msgUnitArr)
Publish multiple messages in one sweep. |
void |
SocketConnection.shutdown()
Shut down the callback server. |
java.lang.String |
SocketConnection.subscribe(java.lang.String xmlKey_literal,
java.lang.String qos_literal)
Enforced by I_XmlBlasterConnection interface (failsafe mode). |
java.lang.String |
SocketConnection.toXml()
Dump of the state, remove in future. |
java.lang.String |
SocketConnection.toXml(java.lang.String extraOffset)
Dump of the state, remove in future. |
java.lang.String[] |
SocketConnection.unSubscribe(java.lang.String xmlKey_literal,
java.lang.String qos_literal)
Unsubscribe from messages. |
Constructors in org.xmlBlaster.client.protocol.socket that throw XmlBlasterException | |
---|---|
SocketConnection(Global glob)
Connect to xmlBlaster using plain socket with native message format. |
|
SocketConnection(Global glob,
java.applet.Applet ap)
Connect to xmlBlaster using plain socket messaging. |
Uses of XmlBlasterException in org.xmlBlaster.client.protocol.xmlrpc |
---|
Methods in org.xmlBlaster.client.protocol.xmlrpc that return XmlBlasterException | |
---|---|
static XmlBlasterException |
XmlRpcConnection.extractXmlBlasterException(Global glob,
org.apache.xmlrpc.XmlRpcException e,
ErrorCode fallback,
java.lang.String txt)
Helma XmlRpc does in XmlRpcServer.java:314 an exception.toString() which is sent back to the client. |
static XmlBlasterException |
XmlRpcConnection.extractXmlBlasterException(Global glob,
org.apache.xmlrpc.XmlRpcException e,
java.lang.String txt)
|
Methods in org.xmlBlaster.client.protocol.xmlrpc that throw XmlBlasterException | |
---|---|
java.lang.String |
XmlRpcConnection.connect(java.lang.String connectQos)
Login to the server. |
void |
XmlRpcConnection.connectLowlevel(Address address)
|
private void |
XmlRpcCallbackServer.createCallbackServer(boolean useCDATA)
Building a Callback server, using the tie approach. |
java.lang.String[] |
XmlRpcConnection.erase(java.lang.String xmlKey_literal,
java.lang.String qos_literal)
Delete messages. |
MsgUnitRaw[] |
XmlRpcConnection.get(java.lang.String xmlKey_literal,
java.lang.String qos_literal)
Synchronous access a message. |
java.lang.String |
XmlRpcCallbackServer.getCbAddress()
Returns the current callback address. |
java.lang.String |
XmlScriptSerializer.getConnect(java.lang.String connectQos)
Login to the server. |
XmlRpcConnection |
XmlRpcConnection.getCopy()
|
java.lang.String |
XmlScriptSerializer.getDisconnect(java.lang.String qos)
Does a logout and removes the callback server. |
java.lang.String |
XmlScriptSerializer.getErase(java.lang.String xmlKey_literal,
java.lang.String qos_literal)
|
java.lang.String |
XmlScriptSerializer.getGet(java.lang.String xmlKey_literal,
java.lang.String qos_literal)
Synchronous access a message. |
private java.lang.String |
XmlScriptSerializer.getLiteral(MsgUnitRaw[] msgArr,
MethodName methodName,
byte typeByte)
|
private java.lang.String |
XmlScriptSerializer.getLiteral(MsgUnitRaw msgUnit,
MethodName methodName)
|
private java.lang.String |
XmlScriptSerializer.getLiteral(java.lang.String qos,
MethodName methodName,
byte typeByte)
|
private java.lang.String |
XmlScriptSerializer.getLiteral(java.lang.String key,
java.lang.String qos,
MethodName methodName)
|
java.lang.String |
XmlScriptSerializer.getPing(java.lang.String qos)
Check server. |
java.lang.String |
XmlScriptSerializer.getPingResponse(java.lang.String qos)
|
java.lang.String |
XmlScriptSerializer.getPublish(MsgUnitRaw msgUnit)
|
java.lang.String |
XmlScriptSerializer.getPublishArr(MsgUnitRaw[] msgUnitArr)
|
java.lang.String |
XmlScriptSerializer.getPublishOneway(MsgUnitRaw[] msgUnitArr)
|
java.lang.String |
XmlScriptSerializer.getSubscribe(java.lang.String xmlKey_literal,
java.lang.String qos_literal)
|
java.lang.String |
XmlScriptSerializer.getUnSubscribe(java.lang.String xmlKey_literal,
java.lang.String qos_literal)
|
java.lang.String |
XmlScriptSerializer.getUpdateException(java.lang.String ex)
|
java.lang.String |
XmlScriptSerializer.getUpdateResponse(java.lang.String ok)
|
void |
XmlRpcConnection.getUpdates(I_CallbackExtended cb)
Publish multiple messages in one sweep. |
org.apache.xmlrpc.client.XmlRpcClient |
XmlRpcConnection.getXmlRpcClient()
|
void |
XmlRpcConnection.init(Global global,
PluginInfo plInfo)
This method is called by the PluginManager (enforced by I_Plugin). |
void |
XmlRpcCallbackServer.initialize(Global glob,
java.lang.String name,
CallbackAddress callbackAddress,
I_CallbackExtended client)
Construct a persistently named object. |
java.lang.String |
XmlRpcConnection.ping(java.lang.String str)
Check server. |
void |
XmlRpcCallbackServer.postInitialize()
|
java.lang.String |
XmlRpcConnection.publish(MsgUnitRaw msgUnit)
Publish a message. |
java.lang.String[] |
XmlRpcConnection.publishArr(MsgUnitRaw[] msgUnitArr)
Publish multiple messages in one sweep. |
void |
XmlRpcConnection.publishOneway(MsgUnitRaw[] msgUnitArr)
Publish multiple messages in one sweep. |
private java.lang.Object |
XmlRpcConnection.sendXmlScript(java.lang.String literal,
java.lang.String prefix,
boolean singleChannel)
|
void |
XmlRpcConnection.setConnectReturnQos(ConnectReturnQos connectReturnQos)
|
void |
XmlRpcConnection.shutdown()
Shut down. |
java.lang.String |
XmlRpcConnection.subscribe(java.lang.String xmlKey_literal,
java.lang.String qos_literal)
Enforced by I_XmlBlasterConnection interface (failsafe mode). |
java.lang.String |
XmlRpcConnection.toXml()
|
java.lang.String |
XmlRpcConnection.toXml(java.lang.String extraOffset)
Dump of the server, remove in future. |
java.lang.String[] |
XmlRpcConnection.unSubscribe(java.lang.String xmlKey_literal,
java.lang.String qos_literal)
Unsubscribe from messages. |
java.lang.String |
XmlRpcCallbackServer.update(java.lang.String cbSessionId,
java.lang.String updateKey,
byte[] content,
java.lang.String updateQos)
The update method. |
java.lang.String |
XmlRpcCallbackImpl.update(java.lang.String cbSessionId,
java.lang.String updateKey,
byte[] content,
java.lang.String updateQos)
The update method. |
java.lang.String |
XmlRpcCallbackImpl.update(java.lang.String cbSessionId,
java.lang.String updateKey,
java.lang.String contentAsString,
java.lang.String updateQos)
The update method. |
Constructors in org.xmlBlaster.client.protocol.xmlrpc that throw XmlBlasterException | |
---|---|
XmlRpcCallbackImpl(XmlRpcCallbackServer server,
boolean inhibitCbExceptions)
Construct a persistently named object. |
|
XmlRpcCallbackServer.CbRunner()
|
|
XmlRpcConnection(Global glob)
Connect to xmlBlaster using XMLRPC. |
|
XmlRpcConnection(Global glob,
java.applet.Applet ap)
Connect to xmlBlaster using XMLRPC. |
|
XmlScriptSerializer(Global glob,
PluginInfo pluginInfo)
Called by plugin loader which calls init(Global, PluginInfo) thereafter. |
Uses of XmlBlasterException in org.xmlBlaster.client.qos |
---|
Methods in org.xmlBlaster.client.qos that throw XmlBlasterException | |
---|---|
java.lang.String |
UpdateQos.getContentStr(byte[] msgContent)
Convenience method to get the raw content as a string, the encoding is UTF-8 if not specified by clientProperty Constants.CLIENTPROPERTY_CONTENT_CHARSET |
I_ClientPlugin |
ConnectQos.loadClientPlugin(java.lang.String type,
java.lang.String version,
java.lang.String userId,
java.lang.String credential)
Allows to set or overwrite the client side security plugin. |
static void |
ConnectQos.main(java.lang.String[] args)
For testing invoke: java org.xmlBlaster.client.qos.ConnectQos |
static void |
PublishQos.main(java.lang.String[] args)
For testing invoke: java org.xmlBlaster.client.PublishQos |
void |
ConnectQos.setUserId(java.lang.String loginName)
Allows to set or overwrite the login name for I_SecurityQos. |
Constructors in org.xmlBlaster.client.qos that throw XmlBlasterException | |
---|---|
ConnectQos(Global glob)
Default constructor. |
|
ConnectQos(Global glob,
java.lang.String userId,
java.lang.String passwd)
Login with the default security plugin as given by -Security.Client.DefaultPlugin htpasswd,1.0 |
|
ConnectReturnQos(Global glob,
ConnectQosData connectQosData)
|
|
ConnectReturnQos(Global glob,
java.lang.String xmlQos)
|
|
EraseReturnQos(Global glob,
java.lang.String xmlQos)
Constructor which parses XML string. |
|
GetReturnQos(Global glob,
java.lang.String xmlQos)
Constructs the specialized quality of service object for a get() call. |
|
PublishReturnQos(Global glob,
java.lang.String xmlQos)
Constructor which parses XML string. |
|
SubscribeReturnQos(Global glob,
java.lang.String xmlQos)
Constructor which parses XML string. |
|
SubscribeReturnQos(Global glob,
java.lang.String xmlQos,
boolean isFakedReturn)
Constructor which parses XML string. |
|
UnSubscribeReturnQos(Global glob,
java.lang.String xmlQos)
Constructor which parses XML string. |
|
UpdateQos(Global glob,
java.lang.String xmlQos)
Constructs the specialized quality of service object for a update() call. |
Uses of XmlBlasterException in org.xmlBlaster.client.queuemsg |
---|
Methods in org.xmlBlaster.client.queuemsg that throw XmlBlasterException | |
---|---|
I_Entry |
ClientEntryFactory.createEntry(int priority,
long timestamp,
java.lang.String type,
boolean persistent,
long sizeInBytes,
java.io.InputStream is,
StorageId storageId)
Parses back the raw data to a I_Entry (deserializing) |
I_Entry |
ClientEntryFactory.createEntry(XBStore store,
XBMeat meat,
XBRef ref)
|
byte[] |
ClientEntryFactory.toBlob(I_Entry entry)
Parses the specified entry to a byte array (serializing). |
Constructors in org.xmlBlaster.client.queuemsg that throw XmlBlasterException | |
---|---|
MsgQueueConnectEntry(Global glob,
StorageId storageId,
ConnectQosData connectQosData)
Use this constructor if a new message object is fed by method connect(). |
|
MsgQueueDisconnectEntry(Global glob,
StorageId storageId,
DisconnectQos disconnectQos)
Use this constructor if a new message object is fed by method disconnect(). |
|
MsgQueueEraseEntry(Global glob,
StorageId storageId,
EraseKey eraseKey,
EraseQos eraseQos)
Use this constructor if a new message object is fed by method erase(). |
|
MsgQueueGetEntry(Global glob,
StorageId storageId,
GetKey getKey,
GetQos getQos)
Use this constructor for a get() request. |
|
MsgQueuePublishEntry(Global glob,
MsgUnit msgUnit,
StorageId storageId)
Use this constructor if a new message object is fed by method publish() (not oneway). |
|
MsgQueuePublishEntry(Global glob,
MsgUnit msgUnit,
StorageId storageId,
boolean oneway)
|
|
MsgQueueSubscribeEntry(Global glob,
StorageId storageId,
QueryKeyData subscribeKeyData,
QueryQosData subscribeQosData)
Use this constructor if a new message object is fed by method subscribe(). |
|
MsgQueueUnSubscribeEntry(Global glob,
StorageId storageId,
UnSubscribeKey unSubscribeKey,
UnSubscribeQos unSubscribeQos)
Use this constructor if a new message object is fed by method unSubscribe(). |
Uses of XmlBlasterException in org.xmlBlaster.client.reader |
---|
Constructors in org.xmlBlaster.client.reader that throw XmlBlasterException | |
---|---|
SubscribeMessage(Global glob)
Constructs the SubscribeMessage object. |
Uses of XmlBlasterException in org.xmlBlaster.client.script |
---|
Methods in org.xmlBlaster.client.script that throw XmlBlasterException | |
---|---|
protected MsgUnit |
XmlScriptInterpreter.buildMsgUnit()
|
static java.lang.String |
XmlScriptInterpreter.dumpToFile(java.lang.String path,
java.lang.String fn,
java.lang.String xml)
|
private void |
XmlScriptInterpreter.fireCommand(java.lang.String qName)
Fires the given xmlBlaster command and sends the response to the output stream |
boolean |
XmlScriptClient.fireMethod(MethodName methodName,
java.lang.String sessionId,
java.lang.String requestId,
byte type)
|
abstract boolean |
XmlScriptInterpreter.fireMethod(MethodName methodName,
java.lang.String sessionId,
java.lang.String requestId,
byte type)
On each remote method invocation this function is called. |
protected void |
XmlScriptInterpreter.flushResponse()
|
void |
XmlScriptInterpreter.parse(java.io.Reader in)
Parses the given reader and executes the specified commands. |
void |
XmlScriptClient.setProperty(java.lang.String key,
java.lang.String value)
|
abstract void |
XmlScriptInterpreter.setProperty(java.lang.String key,
java.lang.String value)
Set a property into Global scope. |
java.lang.String |
StreamCallback.update(java.lang.String cbSessionId,
UpdateKey updateKey,
byte[] content,
UpdateQos updateQos)
Enforced by I_Callback |
java.lang.String |
XmlScriptClient.update(java.lang.String cbSessionId,
UpdateKey updateKey,
byte[] content,
UpdateQos updateQos)
|
java.lang.String |
XmlScriptInterpreter.update(java.lang.String cbSessionId,
UpdateKey updateKey,
byte[] content,
UpdateQos updateQos)
If a callback handler was registered, we will be notified here about updates as well |
private void |
XmlScriptClient.writeResponse(MethodName methodName,
java.lang.String message)
Write respone message to OutputStream. |
private void |
XmlScriptClient.writeResponse(MethodName methodName,
java.lang.String[] messages)
|
Uses of XmlBlasterException in org.xmlBlaster.contrib |
---|
Methods in org.xmlBlaster.contrib that throw XmlBlasterException | |
---|---|
protected abstract void |
GlobalInfo.doInit(Global global,
PluginInfo pluginInfo)
|
void |
GlobalInfo.init(Global global_,
PluginInfo pluginInfo)
|
void |
GlobalInfo.shutdown()
|
java.lang.String |
MomEventEngine.update(java.lang.String cbSessionId,
UpdateKey updateKey,
byte[] content,
UpdateQos updateQos)
|
Constructors in org.xmlBlaster.contrib that throw XmlBlasterException | |
---|---|
GlobalInfo(Global otherGlobal,
I_Info additionalInfo)
Additional infos are added on top of the initial Global configuration. |
|
GlobalInfo(GlobalInfo baseInfo,
I_Info additionalInfo)
|
Uses of XmlBlasterException in org.xmlBlaster.contrib.dbupdate |
---|
Methods in org.xmlBlaster.contrib.dbupdate that throw XmlBlasterException | |
---|---|
XBStore |
OneToThree.getXBStore(XBDatabaseAccessor accessor,
Global glob,
StorageId oldStorageId)
|
private java.util.Properties |
OneToThree.parsePropertyValue(java.lang.String rawString)
|
Constructors in org.xmlBlaster.contrib.dbupdate that throw XmlBlasterException | |
---|---|
OneToThree(ServerScope serverScopeOne,
ServerScope serverScopeThree,
Global globalOne,
Global globalThree)
|
Uses of XmlBlasterException in org.xmlBlaster.contrib.dbwatcher.mom |
---|
Methods in org.xmlBlaster.contrib.dbwatcher.mom that throw XmlBlasterException | |
---|---|
java.lang.String |
XmlBlasterPublisher.update(java.lang.String s,
UpdateKey k,
byte[] content,
UpdateQos q)
Dummy implementation, PtP messages could arrive here which are ignored. |
Uses of XmlBlasterException in org.xmlBlaster.contrib.dbwatcher.plugin |
---|
Methods in org.xmlBlaster.contrib.dbwatcher.plugin that throw XmlBlasterException | |
---|---|
protected void |
DbWatcherPlugin.doInit(Global global_,
PluginInfo pluginInfo)
|
void |
DbWatcherPlugin.shutdown()
|
Uses of XmlBlasterException in org.xmlBlaster.contrib.dbwriter |
---|
Methods in org.xmlBlaster.contrib.dbwriter that throw XmlBlasterException | |
---|---|
protected void |
DbWriterPlugin.doInit(Global global_,
PluginInfo pluginInfo)
|
void |
DbWriterPlugin.shutdown()
|
void |
DbWriterPluginMBean.shutdown()
|
Uses of XmlBlasterException in org.xmlBlaster.contrib.filewatcher |
---|
Methods in org.xmlBlaster.contrib.filewatcher that throw XmlBlasterException | |
---|---|
private void |
Publisher.createDirectoryManagers()
Create the file checker instance with the current configuration. |
(package private) void |
DirectoryManager.deleteOrMoveEntry(java.lang.String entryName,
boolean success)
Removes the specified entry from the map. |
void |
FileWatcherPlugin.doInit(Global global_,
PluginInfo pluginInfo_)
|
private FileInfo[] |
Publisher.doPublish(DirectoryManager directoryManager)
Publish file or files to xmlBlaster. |
byte[] |
DirectoryManager.getContent(FileInfo info)
Gets the content from the specified file as a byte[]. |
java.io.FileInputStream |
DirectoryManager.getContentStream(FileInfo info)
|
(package private) java.util.Set |
DirectoryManager.getEntries()
Gets all entries which are ready to be sent (i.e. |
private java.util.Map |
DirectoryManager.getNewFiles(java.io.File directory)
Retrieves all files from the specified directory |
void |
Publisher.init()
Connects to the xmlBlaster. |
private java.io.File |
DirectoryManager.initDirectory(java.io.File parent,
java.lang.String propNameForLogging,
java.lang.String dirName)
Returns the specified directory or null or if needed it will create one |
private void |
DirectoryManager.moveTo(java.io.File file,
java.lang.String origName,
java.io.File destinationDirectory)
|
private java.lang.String |
Publisher.preparePubQos(java.lang.String origQos)
|
private void |
Publisher.prepareReplSource(boolean doFill)
|
void |
FilenameFilter.setPattern(java.lang.String globPattern,
boolean trueRegex)
|
void |
Publisher.shutdown()
If an exception occurs it means it could not publish the entry |
void |
FileWatcherPlugin.shutdown()
|
Constructors in org.xmlBlaster.contrib.filewatcher that throw XmlBlasterException | |
---|---|
DirectoryManager(Global global,
java.lang.String name,
java.lang.String directoryName,
java.lang.String subDir,
long delaySinceLastFileChange,
java.lang.String filter,
java.lang.String sent,
java.lang.String discarded,
java.lang.String lockExtention,
boolean trueRegex,
boolean copyOnMove)
|
|
FilenameFilter(java.lang.String pattern,
boolean trueRegex)
|
|
Publisher(Global globOrig,
java.lang.String name,
I_Info info)
|
Uses of XmlBlasterException in org.xmlBlaster.contrib.filewriter |
---|
Methods in org.xmlBlaster.contrib.filewriter that throw XmlBlasterException | |
---|---|
void |
FileWriter.doInit(Global glob,
PluginInfo info)
|
private void |
FileWriter.initConnection()
Connects to the xmlBlaster. |
private void |
FileWriter.prepareInit(Global globOrig,
I_PluginConfig config)
|
void |
FileWriter.shutdown()
If an exception occurs it means it could not publish the entry |
java.lang.String |
FileWriter.update(java.lang.String cbSessionId,
UpdateKey updateKey,
byte[] content,
UpdateQos updateQos)
|
Constructors in org.xmlBlaster.contrib.filewriter that throw XmlBlasterException | |
---|---|
FileWriter(Global globOrig,
java.lang.String name,
I_PluginConfig config)
|
Uses of XmlBlasterException in org.xmlBlaster.contrib.htmlmonitor |
---|
Methods in org.xmlBlaster.contrib.htmlmonitor that throw XmlBlasterException | |
---|---|
void |
HtmlMonitorPlugin.init(Global global_,
PluginInfo pluginInfo)
|
private java.lang.String |
HtmlMonitorPlugin.lookup(java.lang.String query)
Lookup the given administrative command. |
private java.lang.String |
HtmlMonitorPlugin.replaceAllVariables(java.lang.String template)
Replace ${...} occurrences. |
void |
HtmlMonitorPlugin.shutdown()
|
Uses of XmlBlasterException in org.xmlBlaster.contrib.jmx |
---|
Methods in org.xmlBlaster.contrib.jmx that throw XmlBlasterException | |
---|---|
protected void |
MX4JAdaptor.doInit(Global global,
PluginInfo pluginInfo)
|
void |
MX4JAdaptor.shutdown()
|
Uses of XmlBlasterException in org.xmlBlaster.contrib.mime |
---|
Methods in org.xmlBlaster.contrib.mime with parameters of type XmlBlasterException | |
---|---|
void |
DropIfNotDeliverable.toDead(I_DispatchManager dispatchManager,
ConnectionStateEnum oldState,
XmlBlasterException xmlBlasterException)
|
void |
DropIfNotDeliverableUniqueOnly.toDead(I_DispatchManager dispatchManager,
ConnectionStateEnum oldState,
XmlBlasterException xmlBlasterException)
|
Methods in org.xmlBlaster.contrib.mime that throw XmlBlasterException | |
---|---|
void |
DropIfNotDeliverable.init(Global glob,
PluginInfo pluginInfo)
This method is called by the PluginManager (enforced by I_Plugin). |
void |
DropIfNotDeliverableUniqueOnly.init(Global glob,
PluginInfo pluginInfo)
This method is called by the PluginManager (enforced by I_Plugin). |
boolean |
DropIfNotDeliverable.match(SessionInfo receiver,
MsgUnit msgUnit,
Query query)
|
boolean |
DropIfNotDeliverableUniqueOnly.match(SessionInfo receiver,
MsgUnit msgUnit,
Query query)
|
Uses of XmlBlasterException in org.xmlBlaster.contrib.replication |
---|
Methods in org.xmlBlaster.contrib.replication that throw XmlBlasterException | |
---|---|
protected void |
ReplicationAgent.OwnGlobalInfo.doInit(Global global,
PluginInfo pluginInfo)
|
Constructors in org.xmlBlaster.contrib.replication that throw XmlBlasterException | |
---|---|
ReplSlave(Global global,
ReplManagerPlugin manager,
java.lang.String slaveSessionId,
ConnectQosData connQosData)
|
Uses of XmlBlasterException in org.xmlBlaster.contrib.replication.impl |
---|
Methods in org.xmlBlaster.contrib.replication.impl with parameters of type XmlBlasterException | |
---|---|
void |
ReplManagerPlugin.toDead(I_DispatchManager dispatchManager,
ConnectionStateEnum oldState,
XmlBlasterException xmlBlasterException)
|
Methods in org.xmlBlaster.contrib.replication.impl that throw XmlBlasterException | |
---|---|
protected void |
ReplManagerPlugin.doInit(Global global,
PluginInfo pluginInfo)
|
java.util.List<I_Entry> |
ReplManagerPlugin.handleNextMessages(I_DispatchManager dispatchManager,
java.util.List<I_Entry> pushEntries)
|
void |
ReplManagerPlugin.initialize(Global glob,
java.lang.String typeVersion)
|
java.lang.String |
ReplManagerPlugin.intercept(SubjectInfo publisher,
MsgUnit msgUnit)
Is only invoked when it is configured as a MimePlugin (to count messages containing several transactions). |
void |
ReplManagerPlugin.postHandleNextMessages(I_DispatchManager dispatchManager,
MsgUnit[] processedEntries)
Does cleanup, particularly it sets the status and counters. |
void |
ReplManagerPlugin.sessionAdded(ClientEvent e)
The part of this code inherent to the slave could be moved to the addDispatchManager since that method would always invoked too. |
void |
ReplManagerPlugin.sessionPreRemoved(ClientEvent e)
|
void |
ReplManagerPlugin.sessionRemoved(ClientEvent e)
|
void |
ReplManagerPlugin.sessionUpdated(ClientEvent e)
Invoked on successful client re-login (interface I_ClientListener) |
void |
ReplManagerPlugin.shutdown(I_DispatchManager dispatchManager)
|
void |
ReplManagerPlugin.subjectAdded(ClientEvent e)
|
void |
ReplManagerPlugin.subjectRemoved(ClientEvent e)
|
void |
ReplManagerPlugin.subscriptionAdd(SubscriptionEvent e)
To make it simpler one could think to put this method together with sessionAdded. |
void |
ReplManagerPlugin.subscriptionRemove(SubscriptionEvent e)
|
java.lang.String |
ReplManagerPlugin.update(java.lang.String cbSessionId,
UpdateKey updateKey,
byte[] content,
UpdateQos updateQos)
It receives events from all ReplicationConverter instances which want to register themselves for administration of initial updates. |
Uses of XmlBlasterException in org.xmlBlaster.contrib.scheduler |
---|
Methods in org.xmlBlaster.contrib.scheduler that throw XmlBlasterException | |
---|---|
private SchedulerPlugin.CronData |
SchedulerPlugin.addSchedulerWithEx(java.lang.String name,
java.lang.String value)
|
protected void |
SchedulerPlugin.doInit(Global glob,
PluginInfo plugInfo)
|
void |
SchedulerPlugin.CronData.parse(java.lang.String txt)
|
void |
SchedulerPluginMBean.shutdown()
|
void |
SchedulerPlugin.shutdown()
|
private void |
SchedulerPlugin.startSchedule(org.quartz.Scheduler sched,
java.lang.String name,
SchedulerPlugin.CronData data)
|
Uses of XmlBlasterException in org.xmlBlaster.contrib.socketgetter |
---|
Methods in org.xmlBlaster.contrib.socketgetter that throw XmlBlasterException | |
---|---|
protected void |
SocketGetterPlugin.doInit(Global global_,
PluginInfo pluginInfo)
|
void |
SocketGetterPlugin.shutdown()
|
Uses of XmlBlasterException in org.xmlBlaster.engine |
---|
Methods in org.xmlBlaster.engine that return XmlBlasterException | |
---|---|
XmlBlasterException |
AvailabilityChecker.checkException(MethodName action,
java.lang.Throwable origEx)
Checks the given exception and depending on the current run level it is converted into a communication exception (with the original embedded). |
Methods in org.xmlBlaster.engine with parameters of type XmlBlasterException | |
---|---|
void |
EventPlugin.toDead(I_DispatchManager dispatchManager,
ConnectionStateEnum oldState,
XmlBlasterException xmlBlasterException)
|
Methods in org.xmlBlaster.engine that throw XmlBlasterException | |
---|---|
private void |
SessionPersistencePlugin.addOrUpdateSession(SessionInfo sessionInfo)
A new session is added, checks if it shall be persisted. |
int |
RequestBroker.addPersistentTopicHandler(TopicEntry topicEntry)
Make the topicHandler persistent for crash recovery and shutdown/startup cycle. |
void |
TopicHandler.addSubscriber(SubscriptionInfo sub,
boolean calleeIsXPathMatchCheck)
A client subscribed to this message, multiple subscriptions from the same client are OK. |
private void |
TopicHandler.addToBigDom()
Merge the message DOM tree into the big xmlBlaster DOM tree |
private void |
TopicHandler.administrativeInitialize(MsgKeyData msgKeyData,
MsgQosData publishQos,
PublishQosServer publishQosServer)
Initialize the messageUnit cache and the history queue for this topic |
(package private) void |
TopicHandler.change(MsgUnitWrapper msgUnitWrapper)
|
void |
I_TopicListener.changed(TopicEvent e)
Invoked on topic lifecycle change. |
void |
EventPlugin.changed(TopicEvent topicEvent)
|
void |
TopicAccessor.changeDirtyRead(MsgUnitWrapper msgUnitWrapper)
|
I_MapEntry |
MsgUnitWrapper.changeEntry(I_MapEntry entry)
Callback invoked by I_Map.change inside the synchronization point. |
int |
RequestBroker.changePersistentTopicHandler(TopicEntry topicEntry)
Remove the persistent TopicHandler entry. |
(package private) void |
RequestBroker.checkExistingSubscriptions(SessionInfo sessionInfo,
TopicHandler topicHandler,
PublishQosServer xmlQoS)
This helper method checks for a published message which didn't exist before if there are any XPath subscriptions pending which match. |
boolean |
TopicHandler.checkFilter(SessionInfo publisherSessionInfo,
SubscriptionInfo sub,
MsgUnitWrapper msgUnitWrapper,
boolean handleException)
Checks if the filters allow this message to be sent to the specified session |
void |
AvailabilityChecker.checkServerIsReady(SessionName sessionName,
AddressServer addressServer,
MsgUnit msgUnit,
MethodName action)
The extended check when the message is imported/decrypted. |
static MsgQueueUpdateEntry |
TopicHandler.createEntryFromWrapper(MsgUnitWrapper msgUnitWrapper,
SubscriptionInfo sub)
|
DispatchConnectionsHandler |
ServerScope.createServerDispatchConnectionsHandler(ServerDispatchManager dispatchManager)
Returns the callback layer implementation 'CbDispatchConnectionsHandler' on server side. |
java.lang.String |
RequestBroker.dump()
|
java.lang.String[] |
XmlBlasterImpl.erase(AddressServer addressServer,
java.lang.String sessionId,
java.lang.String xmlKey_literal,
java.lang.String qos_literal)
Delete messages. |
(package private) java.lang.String[] |
RequestBroker.erase(SessionInfo sessionInfo,
QueryKeyData xmlKey,
EraseQosServer eraseQos)
Client wants to erase a message. |
private java.lang.String[] |
RequestBroker.erase(SessionInfo sessionInfo,
QueryKeyData xmlKey,
EraseQosServer eraseQos,
boolean isClusterUpdate)
Client wants to erase a message. |
void |
TopicAccessor.erase(java.lang.String oid)
Remove the given topic |
long |
TopicHandler.eraseFromHistoryQueue(SessionInfo sessionInfo,
HistoryQos historyQos)
Erase message instances but not the topic itself. |
(package private) void |
TopicHandler.eraseRequest(SessionInfo sessionInfo,
QueryKeyData eraseKey,
EraseQosServer eraseQos)
Notify all Listeners that a topic is erased. |
java.lang.String |
TopicHandler.eraseTopic()
JMX |
private void |
StartupTasks.excuteStartupTasks()
On startup execute given script. |
void |
RequestBroker.exit()
|
TopicHandler |
TopicAccessor.findOrCreate(SessionInfo sessionInfo,
java.lang.String oid)
Access a topicHandler by its unique oid or create it if not known. |
(package private) void |
RequestBroker.fireSubscribeEvent(SubscriptionInfo subscriptionInfo)
|
private void |
RequestBroker.fireSubscriptionEvent(SubscriptionInfo subscriptionInfo,
boolean subscribe)
Is fired on subscribe(), unSubscribe() and several times on erase(). |
(package private) void |
RequestBroker.fireUnSubscribeEvent(SubscriptionInfo subscriptionInfo)
|
PublishReturnQos |
RequestBroker.forwardPtpPublish(SessionInfo sessionInfo,
MsgUnit msgUnit,
boolean isClusterUpdate,
Destination destination)
Rorward a message to another cluster node. |
private void |
TopicHandler.forwardToDestinations(SessionInfo publisherSessionInfo,
MsgUnitWrapper cacheEntry,
PublishQosServer publishQos)
Forward PtP messages. |
private static java.lang.String |
SubscriptionInfo.generateUniqueKey(KeyData keyData,
QueryQosData xmlQos,
boolean clusterWideUnique)
This static method may be used from external objects to get the unique key of a subscription. |
MsgUnitRaw[] |
XmlBlasterImpl.get(AddressServer addressServer,
java.lang.String sessionId,
java.lang.String xmlKey_literal,
java.lang.String qos_literal)
Synchronous access a message. |
MsgUnit[] |
RequestBroker.get(SessionInfo sessionInfo,
QueryKeyData xmlKey,
GetQosServer getQos)
Invoked by a client, to access one/many MsgUnit. |
CbProtocolManager |
ServerScope.getCbProtocolManager()
Initialize cb protocol manager. |
ClusterManager |
ServerScope.getClusterManager()
Access instance which manages myself in a cluster environment. |
ClusterManager |
ServerScope.getClusterManager(SessionInfo sessionInfo)
Initialize the instance which manages myself in a cluster environment. |
CommandManager |
ServerScope.getCommandManager()
Access instance of remote command administration manager. |
CommandManager |
ServerScope.getCommandManager(SessionInfo sessionInfo)
Initialize instance of remote command administration manager. |
java.lang.String |
ServerScope.getDump()
|
void |
ServerScope.getDump(java.io.OutputStream out)
|
MsgUnit[] |
TopicHandler.getHistoryMsgUnitArr(int num,
boolean newestFirst)
Returns a snapshot of all entries in the history |
MsgUnit[] |
TopicHandler.getHistoryQueueEntries(java.lang.String querySpec)
Query the history queue, can be peeking or consuming. |
MsgFileDumper |
ServerScope.getMsgFileDumper()
A helper to dump a message to a file. |
MsgUnitWrapper |
TopicHandler.getMsgUnitWrapper(long uniqueId)
|
MsgUnitWrapper[] |
TopicHandler.getMsgUnitWrapperArr(int num,
boolean newestFirst)
Returns a snapshot of all entries in the history |
PluginHolder |
ServerScope.getPluginHolder()
gets the object holding all configuration information for the plugins (both for statically loaded plugins (by the run level manager) and dynamically loaded plugins (such plugins loaded on client request). |
org.w3c.dom.Node |
TopicHandler.getRootNode()
|
SmtpClient |
EventPlugin.getSmtpClient()
TODO: Put into engine.Global and util.Global (see EmailExecutor.java) |
java.util.ArrayList<SubscriptionInfo> |
ClientSubscriptions.getSubscription(SessionInfo sessionInfo,
QueryKeyData queryKey,
QueryQosData queryQos)
|
SubscriptionInfo |
ClientSubscriptions.getSubscription(SessionInfo sessionInfo,
java.lang.String subscriptionInfoUniqueKey)
If you have the unique id of a subscription, you may access the SubscriptionInfo object here. |
java.util.Vector<SubscriptionInfo> |
ClientSubscriptions.getSubscriptionByOid(SessionInfo sessionInfo,
java.lang.String keyOid,
boolean exactOnly)
|
java.util.Vector |
ClientSubscriptions.getSubscriptionByOid(java.lang.String keyOid,
boolean exactOnly)
|
java.lang.String |
SubscriptionInfo.getSubSourceSubscriptionId()
Accessing the unique subscription id from method subscribe(), which was the reason for this SubscriptionInfo |
java.lang.String |
TopicHandler.getTopicXml()
|
XmlKey |
TopicHandler.getXmlKey()
Accessing the DOM parsed key of this topic. |
void |
TopicHandler.handleCallbackFailed(java.util.Set removeSet)
If a callback fails, we remove it from the subscription. |
java.lang.String |
MsgErrorHandler.handleErrorSync(I_MsgErrorInfo msgErrorInfo)
This should never happen on server side, so we just call handleError(I_MsgErrorInfo). |
private MsgUnit |
XmlBlasterImpl.importAndAuthorize(SessionInfo sessionInfo,
AddressServer addressServer,
MsgUnitRaw msgUnitRaw,
MethodName action)
Check message via security plugin. |
void |
MsgUnitWrapper.incrementReferenceCounter(int count,
StorageId storageId)
Invoked by ReferenceEntry.java and TopicHandler.java to support reference counting |
void |
DeadMessageDumper.init(Global glob,
PluginInfo pluginInfo)
Initializes the plugin |
void |
SessionPersistencePlugin.init(Global glob,
PluginInfo pluginInfo)
Initializes the plugin |
void |
EventPlugin.init(Global utilGlob,
PluginInfo pluginInfo)
Initializes the plugin |
void |
StartupTasks.init(Global glob,
PluginInfo pluginInfo)
Initializes the plugin |
private void |
SubscriptionInfo.init(ServerScope glob,
SessionInfo sessionInfo,
KeyData keyData,
SubscribeQosServer qos)
|
private java.io.File |
DeadMessageDumper.initDirectory(java.io.File parent,
java.lang.String propName,
java.lang.String dirName)
Returns the specified directory or null or if needed it will create one |
private void |
RequestBroker.initHelperQos()
Put this code in a generic internal message producer class (future release) |
private void |
TopicHandler.initMsgDistributorPlugin()
instantiates and initializes a MsgDistributorPlugin if the topic property requires so. |
private I_Queue |
TopicHandler.initQueue(I_Queue queue,
java.lang.String queueName)
Creates a queue with the properties specified in the historyQueueProperty |
private void |
SubscriptionInfo.initSubscriptionId()
For JMX the uniqueKey may not contain commas ','. |
private void |
TopicHandler.invokeCallbackAndHandleFailure(SessionInfo publisherSessionInfo,
MsgUnitWrapper msgUnitWrapper)
Send updates to all subscribed clients. |
boolean |
ServerScope.isAdministrationCommand(XmlKey xmlKey)
|
static boolean |
TopicHandler.isDirtyRead(SubscriptionInfo sub,
MsgUnitWrapper msgUnitWrapper)
Checks if the subscriber is a cluster and the message has the 'dirtyRead' flag set. |
MsgUnitWrapper |
TopicAccessor.lookupDirtyRead(java.lang.String topicId,
long msgUnitWrapperUniqueId)
Access the message meat without a lock. |
MsgUnitWrapper |
TopicAccessor.lookupNewest(java.lang.String topicId)
Access the newest entry. |
void |
BigXmlKeyDOM.messageErase(TopicHandler topicHandler)
Invoked on message erase() invocation. |
java.lang.String[] |
TopicHandler.peekHistoryMessages(int numOfEntries)
|
java.lang.String[] |
ServerScope.peekMessages(I_Queue queue,
int numOfEntries,
java.lang.String label,
boolean forceReadableTimestamp,
boolean forceReadableBase64)
|
java.lang.String[] |
ServerScope.peekQueueMessagesToFile(I_Queue queue,
int numOfEntries,
java.lang.String path,
java.lang.String label)
Dumps given amount of messages from queue to file. |
private TopicEntry |
TopicHandler.persistTopicEntry()
Create or access the cached persistence storage entry of this topic. |
java.lang.String |
XmlBlasterImpl.ping(AddressServer addressServer,
java.lang.String qos)
ping xmlBlaster if everything is OK and if xmlBlaster is willing to accept requests. |
private java.lang.String |
XmlBlasterImpl.publish(AddressServer addressServer,
SessionInfo sessionInfo,
MsgUnitRaw msgUnitRaw,
MethodName methodName)
|
java.lang.String |
XmlBlasterImpl.publish(AddressServer addressServer,
java.lang.String sessionId,
MsgUnitRaw msgUnitRaw)
Publish a message. |
java.lang.String |
RequestBroker.publish(SessionInfo sessionInfo,
MsgUnit msgUnit)
Internal publishing helper. |
private java.lang.String |
RequestBroker.publish(SessionInfo sessionInfo,
MsgUnit msgUnit,
boolean isClusterUpdate)
|
PublishReturnQos |
TopicHandler.publish(SessionInfo publisherSessionInfo,
MsgUnit msgUnit,
PublishQosServer publishQosServer)
A new publish event (PubSub or PtP) arrives. |
private java.lang.String |
RequestBroker.publish(SessionInfo sessionInfo,
MsgUnit msgUnit,
PublishQosServer publishQos)
Write-Access method to publish a new message from a data source. |
java.lang.String[] |
XmlBlasterImpl.publishArr(AddressServer addressServer,
java.lang.String sessionId,
MsgUnitRaw[] msgUnitArr)
Publish messages. |
java.lang.String |
RequestBroker.publishDeadMessage(MsgUnit origMsgUnit,
java.lang.String text,
java.lang.String clientPropertyKey,
SessionName receiver)
|
java.lang.String |
RequestBroker.publishDeadMessageRaw(SessionName sender,
MsgUnitRaw origMsgUnit,
java.lang.String text,
SessionName receiver)
|
private KeyData[] |
RequestBroker.queryMatchingKeys(SessionInfo sessionInfo,
QueryKeyData queryKeyData,
QueryQosData qos)
This method does the query (queryType = "XPATH" | "EXACT"). |
private java.lang.String[] |
RequestBroker.queryMatchingTopics(SessionInfo sessionInfo,
QueryKeyData queryKeyData,
QueryQosData qos)
This method does the query (queryType = "XPATH" | "EXACT"). |
private java.util.HashMap |
SessionPersistencePlugin.recoverSessions()
|
private void |
SessionPersistencePlugin.recoverSubscriptions(java.util.HashMap sessionIds)
When recovering due to a run level change (without shutting down the application) this will not work. |
private void |
EventPlugin.registerEventTypes(java.lang.String eventTypes)
Find out which events to listen. |
private void |
SessionPersistencePlugin.removeAssociatedSubscriptions(SessionInfo sessionInfo)
|
private void |
ClientSubscriptions.removeFromClientSubscriptionMap(SessionInfo sessionInfo,
java.lang.String subscriptionInfoUniqueKey)
|
private int |
ClientSubscriptions.removeFromQuerySubscribeRequestsSet(SessionInfo sessionInfo,
java.lang.String subscriptionInfoUniqueKey)
|
int |
RequestBroker.removePersistentTopicHandler(TopicEntry topicEntry)
Remove the persistent TopicHandler entry. |
void |
AvailabilityChecker.runlevelChange(int from,
int to,
boolean force)
Invoked on run level change, see RunlevelManager.RUNLEVEL_HALTED and RunlevelManager.RUNLEVEL_RUNNING Enforced by I_RunlevelListener |
void |
RequestBroker.runlevelChange(int from,
int to,
boolean force)
Invoked on run level change, see RunlevelManager.RUNLEVEL_HALTED and RunlevelManager.RUNLEVEL_RUNNING Enforced by I_RunlevelListener |
void |
ServerScope.runlevelChange(int from,
int to,
boolean force)
Invoked on run level change, see RunlevelManager.RUNLEVEL_HALTED and RunlevelManager.RUNLEVEL_RUNNING Enforced by I_RunlevelListener |
void |
ClientSubscriptions.sessionAdded(ClientEvent e)
Invoked on successful client login (interface I_ClientListener) |
void |
RequestBroker.sessionAdded(ClientEvent e)
Event invoked on successful client login (interface I_ClientListener). |
void |
SessionPersistencePlugin.sessionAdded(ClientEvent e)
|
void |
EventPlugin.sessionAdded(ClientEvent clientEvent)
|
void |
ClientSubscriptions.sessionPreRemoved(ClientEvent e)
|
void |
RequestBroker.sessionPreRemoved(ClientEvent e)
|
void |
SessionPersistencePlugin.sessionPreRemoved(ClientEvent e)
|
void |
EventPlugin.sessionPreRemoved(ClientEvent clientEvent)
|
void |
ClientSubscriptions.sessionRemoved(ClientEvent e)
Invoked when client does a logout (interface I_ClientListener) |
void |
RequestBroker.sessionRemoved(ClientEvent e)
Event invoked when client does a logout (interface I_ClientListener). |
void |
SessionPersistencePlugin.sessionRemoved(ClientEvent e)
|
void |
EventPlugin.sessionRemoved(ClientEvent clientEvent)
|
void |
ClientSubscriptions.sessionUpdated(ClientEvent e)
Invoked on successful client re-login (interface I_ClientListener) |
void |
RequestBroker.sessionUpdated(ClientEvent e)
Invoked on successful client re-login (interface I_ClientListener) |
void |
SessionPersistencePlugin.sessionUpdated(ClientEvent e)
Invoked on successful client re-login (interface I_ClientListener) |
void |
EventPlugin.sessionUpdated(ClientEvent e)
Invoked on successful client re-login (interface I_ClientListener) |
void |
RequestBroker.setDump(java.lang.String fn)
|
void |
RequestBroker.setExit(java.lang.String exitValue)
|
void |
RequestBroker.setRunlevel(java.lang.String levelStr)
|
void |
EventPlugin.setupSmtpSink(java.lang.String destination)
Initialize email sending. |
void |
DeadMessageDumper.shutdown()
Shutdown the plugin |
void |
SessionPersistencePlugin.shutdown()
Shutsdown the plugin |
void |
EventPlugin.shutdown()
Shutdown the plugin |
void |
StartupTasks.shutdown()
Shutdown the plugin |
private void |
TopicHandler.startupHistoryQueue()
Should be invoked delayed as soon as TopicHandler instance is created an registered everywhere as we ask the msgUnitStore for the real messages if some history entries existed. |
private void |
TopicHandler.startupMsgstore()
This cache stores the 'real meat' (the MsgUnit data struct) |
private void |
RequestBroker.startupTopicStore()
This stores the topics configuration (the publish administrative message - the MsgUnit data struct) |
void |
ClientSubscriptions.subjectAdded(ClientEvent e)
Event invoked on new created SubjectInfo. |
void |
RequestBroker.subjectAdded(ClientEvent e)
Event invoked on new created SubjectInfo. |
void |
SessionPersistencePlugin.subjectAdded(ClientEvent e)
does nothing |
void |
EventPlugin.subjectAdded(ClientEvent e)
|
void |
ClientSubscriptions.subjectRemoved(ClientEvent e)
Event invoked on deleted SubjectInfo. |
void |
RequestBroker.subjectRemoved(ClientEvent e)
Event invoked on deleted SubjectInfo. |
void |
SessionPersistencePlugin.subjectRemoved(ClientEvent e)
does nothing |
void |
EventPlugin.subjectRemoved(ClientEvent e)
|
java.lang.String |
XmlBlasterImpl.subscribe(AddressServer addressServer,
java.lang.String sessionId,
java.lang.String xmlKey_literal,
java.lang.String qos_literal)
Subscribe to messages. |
java.lang.String |
RequestBroker.subscribe(SessionInfo sessionInfo,
QueryKeyData xmlKey,
SubscribeQosServer subscribeQos)
|
private void |
DeadMessageDumper.subscribeToDeadMessages()
On startup subscribe to topic __sys__deadMessage. |
private void |
RequestBroker.subscribeToOid(SubscriptionInfo subs,
boolean calleeIsXPathMatchCheck)
Low level subscribe, is called when the |
void |
ClientSubscriptions.subscriptionAdd(SubscriptionEvent e)
Event invoked on new subscription (interface SubscriptionListener). |
void |
SessionPersistencePlugin.subscriptionAdd(SubscriptionEvent e)
This event is invoked even by child subscriptions. |
void |
EventPlugin.subscriptionAdd(SubscriptionEvent subscriptionEvent)
|
void |
I_SubscriptionListener.subscriptionAdd(SubscriptionEvent e)
Invoked on successful subscription login |
void |
ClientSubscriptions.subscriptionRemove(SubscriptionEvent e)
Invoked when a subscription is canceled (interface SubscriptionListener). |
void |
SessionPersistencePlugin.subscriptionRemove(SubscriptionEvent e)
|
void |
EventPlugin.subscriptionRemove(SubscriptionEvent subscriptionEvent)
|
void |
I_SubscriptionListener.subscriptionRemove(SubscriptionEvent e)
Invoked when subscription does a logout |
private void |
TopicHandler.toAlive()
|
private void |
MsgUnitWrapper.toExpired()
|
void |
ClientSubscriptions.topicRemove(TopicHandler topicHandler)
Event invoked on message erase() invocation. |
private java.util.ArrayList |
TopicHandler.toUnreferenced(boolean onAdministrativeCreate,
boolean fromPersistenceStore)
|
java.lang.String |
ClientSubscriptions.toXml()
Dump state of this object into XML. |
java.lang.String |
RequestBroker.toXml()
Dump state of this object into a XML ASCII string. |
java.lang.String |
XmlBlasterImpl.toXml()
Dump state of RequestBroker into a XML ASCII string. |
java.lang.String |
BigXmlKeyDOM.toXml()
Dump state of this object into XML. |
java.lang.String |
ClientSubscriptions.toXml(java.lang.String extraOffset)
Dump state of this object into XML. |
java.lang.String |
RequestBroker.toXml(java.lang.String extraOffset)
Dump state of this object into a XML ASCII string. |
java.lang.String |
XmlBlasterImpl.toXml(java.lang.String extraOffset)
Dump state of RequestBroker into a XML ASCII string. |
java.lang.String |
BigXmlKeyDOM.toXml(java.lang.String extraOffset)
Dump state of this object into XML. |
java.lang.String |
TopicAccessor.toXml(java.lang.String extraOffset)
Dump all TopicHandler to xml. |
java.lang.String[] |
XmlBlasterImpl.unSubscribe(AddressServer addressServer,
java.lang.String sessionId,
java.lang.String xmlKey_literal,
java.lang.String qos_literal)
Unsubscribe from messages. |
java.lang.String[] |
RequestBroker.unSubscribe(SessionInfo sessionInfo,
QueryKeyData xmlKey,
UnSubscribeQosServer unSubscribeQos)
Incoming unsubscribe request from a client. |
private java.lang.String[] |
TopicHandler.unSubscribe(SessionInfo sessionInfo,
java.lang.String qos)
private helper to unSubscribe |
java.lang.String[] |
TopicHandler.unSubscribeAll(java.lang.String qos)
|
java.lang.String[] |
TopicHandler.unSubscribeByIndex(int index,
java.lang.String qos)
|
java.lang.String[] |
TopicHandler.unSubscribeBySessionName(java.lang.String sessionName,
java.lang.String qos)
|
java.lang.String |
RequestBroker.update(SessionInfo sessionInfo,
UpdateKey updateKey,
byte[] content,
MsgQosData msgQosData)
Used for cluster internal updates. |
void |
RequestBroker.updateInternalUserList()
|
void |
EventPlugin.verifyInternetAddress(java.lang.String address)
Check string addresses if they have valid email syntax. |
static void |
SubscriptionInfo.verifySubscriptionId(boolean isClusterNode,
SessionName sessionName,
QueryKeyData xmlKey,
SubscribeQosServer subscribeQos)
|
Constructors in org.xmlBlaster.engine that throw XmlBlasterException | |
---|---|
BigXmlKeyDOM(RequestBroker requestBroker,
Authenticate authenticate)
A singleton for each xmlBlaster server. |
|
ClientSubscriptions(ServerScope glob,
RequestBroker requestBroker,
Authenticate authenticate)
Exactly one instance for each xmlBlaster server. |
|
MsgUnitWrapper(ServerScope glob,
MsgUnit msgUnit,
I_Map ownerCache,
int referenceCounter,
int historyReferenceCounter,
long sizeInBytes)
Used when message is created from TopicHandler.publish |
|
MsgUnitWrapper(ServerScope glob,
MsgUnit msgUnit,
I_Map ownerCache,
StorageId storageId,
int referenceCounter,
int historyReferenceCounter,
java.lang.String embeddedType,
long sizeInBytes)
Used when message comes from persistence, the owning I_Map is unknown |
|
MsgUnitWrapper(ServerScope glob,
MsgUnit msgUnit,
StorageId storageId)
Testsuite |
|
MsgUnitWrapper(ServerScope glob,
MsgUnit msgUnit,
StorageId storageId,
int referenceCounter,
int historyReferenceCounter,
long sizeInBytes)
Used when message comes from persistence, the owning I_Map is unknown |
|
RequestBroker(Authenticate authenticate)
One instance of this represents one xmlBlaster server. |
|
SubscriptionInfo(ServerScope glob,
SessionInfo sessionInfo,
KeyData keyData,
SubscribeQosServer qos)
Use this constructor for an exact subscription. |
|
SubscriptionInfo(ServerScope glob,
SessionInfo sessionInfo,
SubscriptionInfo querySub,
KeyData keyData)
Use this constructor it the subscription is a result of a XPath subscription |
|
TopicHandler(ServerScope serverScope,
SessionInfo publisherSessionInfo,
java.lang.String uniqueKey)
Use this constructor if a yet unknown object is fed by method publish(). |
|
XmlBlasterImpl(Authenticate authenticate)
One instance of this represents one xmlBlaster server. |
Uses of XmlBlasterException in org.xmlBlaster.engine.admin |
---|
Methods in org.xmlBlaster.engine.admin that throw XmlBlasterException | |
---|---|
java.lang.String |
I_AdminNode.dump()
Dump the complete internal state of xmlBlaster. |
java.lang.String |
I_AdminTopic.eraseTopic()
Invoke operation to erase the topic |
void |
I_AdminNode.exit()
Shutdown xmlBlaster, exit value is '0' |
MsgUnit[] |
I_CommandHandler.get(AddressServer addressServer,
java.lang.String sessionId,
CommandWrapper cmd)
Your plugin should process the command. |
MsgUnit[] |
CommandManager.get(AddressServer addressServer,
java.lang.String sessionId,
QueryKeyData keyData,
java.lang.String querySpec)
|
MsgUnit[] |
CommandManager.get(AddressServer addressServer,
java.lang.String sessionId,
java.lang.String oid,
java.lang.String[] args)
|
java.lang.String[] |
CommandWrapper.getArgs()
|
MsgUnit[] |
I_AdminSession.getCallbackQueueEntries(java.lang.String querySpec)
Gets the entries in the callback queue according to what is specified in the querySpec |
java.lang.String |
CommandWrapper.getCommandStripAssign()
|
MsgUnit[] |
I_AdminTopic.getHistoryQueueEntries(java.lang.String querySpec)
Query the history queue, can be peeking or consuming. |
java.lang.String |
CommandWrapper.getKey()
|
MsgUnit[] |
I_AdminSubject.getSubjectQueueEntries(java.lang.String querySpec)
Query the history queue, can be peeking or consuming. |
java.lang.String |
I_AdminSession.getSubscriptionDump()
An XML dump of all subscriptions of this login session |
java.lang.String |
I_AdminTopic.getTopicXml()
Access the topics xml key. |
boolean |
I_ExternGateway.initialize(ServerScope glob,
CommandManager commandManager)
This is called after creation of the plugin. |
java.lang.String |
I_AdminSubject.killClient()
Destroy the client with all its sessions. |
java.lang.String |
I_AdminSession.killSession()
Invoke operation to destroy the session (force logout) |
private void |
CommandWrapper.parse()
|
private void |
CommandWrapper.parseKeyValue()
set client/publish/1/?addRemoteProperty=arg1&arg2 |
java.lang.String[] |
I_AdminSession.peekCallbackMessages(int numOfEntries)
Peek messages from callback queue, they are not removed |
java.lang.String[] |
I_AdminTopic.peekHistoryMessages(int numOfEntries)
Peek messages from history queue, they are not removed. |
java.lang.String[] |
I_AdminSubject.peekSubjectMessages(int numOfEntries)
Peek point to point messages from subject queue, they are not removed |
void |
I_AdminSession.refreshSession()
Invoke operation to reactivate the session expiry to full value |
void |
CommandManager.runlevelChange(int from,
int to,
boolean force)
Invoked on run level change, see RunlevelManager.RUNLEVEL_HALTED and RunlevelManager.RUNLEVEL_RUNNING Enforced by I_RunlevelListener |
java.lang.String |
I_CommandHandler.set(AddressServer addressServer,
java.lang.String sessionId,
CommandWrapper cmd)
Your plugin should process the set command. |
SetReturn |
CommandManager.set(AddressServer addressServer,
java.lang.String sessionId,
java.lang.String cmd)
|
void |
I_AdminNode.setDump(java.lang.String fn)
Dump the internal xmlBlaster state to the given file. |
void |
I_AdminNode.setExit(java.lang.String exitValue)
|
void |
I_AdminNode.setRunlevel(java.lang.String level)
Change the run level of xmlBlaster. |
static java.lang.String |
CommandWrapper.stripCommand(ServerScope glob,
java.lang.String command)
Strips a given command (the oid of a queryKey before any any modification) by removing the starting '__cmd:' subtring. |
java.lang.String |
I_AdminSession.subscribe(java.lang.String url,
java.lang.String qos)
Invoke operation to subscribe the topic, given by its oid |
java.lang.String[] |
I_AdminSession.unSubscribe(java.lang.String url,
java.lang.String qos)
Invoke operation to unSubscribe one/many topics. |
java.lang.String[] |
I_AdminTopic.unSubscribeAll(java.lang.String qos)
Invoke operation to unSubscribe all clients. |
java.lang.String[] |
I_AdminSession.unSubscribeByIndex(int index,
java.lang.String qos)
Invoke operation to unSubscribe one topic by index listed. |
java.lang.String[] |
I_AdminTopic.unSubscribeByIndex(int index,
java.lang.String qos)
Invoke operation to unSubscribe one client by index of getSubscribers() listed. |
java.lang.String[] |
I_AdminTopic.unSubscribeBySessionName(java.lang.String sessionName,
java.lang.String qos)
Invoke operation to unSubscribe one client by index of getSubscribers() listed. |
Constructors in org.xmlBlaster.engine.admin that throw XmlBlasterException | |
---|---|
CommandWrapper(ServerScope glob,
java.lang.String command)
this constructor is currently used for the get |
Uses of XmlBlasterException in org.xmlBlaster.engine.admin.extern |
---|
Methods in org.xmlBlaster.engine.admin.extern that throw XmlBlasterException | |
---|---|
void |
TelnetGateway.connect(java.lang.String loginName,
java.lang.String passwd)
Login to xmlBlaster server. |
private void |
TelnetGateway.createRemoteConsole(int port)
Creates a server which is accessible with telnet. |
MsgUnit[] |
MomClientGateway.getCommand(SessionInfo sessionInfo,
QueryKeyData keyData,
QueryQosData qosData)
Called by RequestBroker on get() of command messages. |
boolean |
MomClientGateway.initialize(ServerScope glob,
CommandManager commandManager)
Creates the remote console server. |
boolean |
TelnetGateway.initialize(ServerScope glob,
CommandManager commandManager)
Creates the remote console server. |
boolean |
SnmpGateway.initialize(ServerScope glob,
CommandManager commandManager)
This is called after creation of the plugin. |
private boolean |
TelnetGateway.initListener()
|
private boolean |
SnmpGateway.initSubagent()
Creates a server which is accessible with SNMP. |
java.lang.String |
MomClientGateway.setCommand(SessionInfo sessionInfo,
KeyData xmlKey,
MsgUnit msgUnit,
PublishQosServer publishQos,
boolean isClusterUpdate)
Called by RequestBroker on publish() of command messages. |
Uses of XmlBlasterException in org.xmlBlaster.engine.admin.intern |
---|
Methods in org.xmlBlaster.engine.admin.intern that throw XmlBlasterException | |
---|---|
private java.lang.Object[] |
CoreHandler.convertMethodArguments(java.lang.Class[] classes,
java.lang.String[] args)
|
private MsgUnit[] |
CoreHandler.doGetInvoke(CommandWrapper cmd,
java.lang.String property,
java.lang.Object impl,
java.lang.Class clazz)
|
MsgUnit[] |
MsgHandler.get(AddressServer addressServer,
java.lang.String sessionId,
CommandWrapper cmd)
|
MsgUnit[] |
PropertyHandler.get(AddressServer addressServer,
java.lang.String sessionId,
CommandWrapper cmd)
|
MsgUnit[] |
CoreHandler.get(AddressServer addressServer,
java.lang.String sessionId,
CommandWrapper cmd)
|
java.lang.String |
MsgHandler.set(AddressServer addressServer,
java.lang.String sessionId,
CommandWrapper cmd)
Set a value. |
java.lang.String |
PropertyHandler.set(AddressServer addressServer,
java.lang.String sessionId,
CommandWrapper cmd)
|
java.lang.String |
CoreHandler.set(AddressServer addressServer,
java.lang.String sessionId,
CommandWrapper cmd)
Set a value. |
private java.lang.Object |
CoreHandler.setInvoke(java.lang.String property,
java.lang.Object impl,
java.lang.Class aClass,
java.lang.String[] argValuesAsStrings)
|
Uses of XmlBlasterException in org.xmlBlaster.engine.cluster |
---|
Methods in org.xmlBlaster.engine.cluster that throw XmlBlasterException | |
---|---|
private java.lang.String |
NodeConnectQos.createCbSessionId()
Create a more or less unique sessionId. |
EraseReturnQos[] |
ClusterManager.forwardErase(SessionInfo publisherSession,
QueryKeyData xmlKey,
EraseQosServer eraseQos)
|
MsgUnit[] |
ClusterManager.forwardGet(SessionInfo publisherSession,
QueryKeyData xmlKey,
GetQosServer getQos)
|
PublishReturnQos |
ClusterManager.forwardPtpPublish(SessionInfo publisherSession,
MsgUnit msgUnit,
Destination destination)
|
PublishRetQosWrapper |
ClusterManager.forwardPublish(SessionInfo publisherSession,
MsgUnit msgUnit)
|
SubscribeReturnQos |
ClusterManager.forwardSubscribe(SessionInfo publisherSession,
QueryKeyData xmlKey,
SubscribeQosServer subscribeQos)
|
UnSubscribeReturnQos[] |
ClusterManager.forwardUnSubscribe(SessionInfo publisherSession,
QueryKeyData xmlKey,
UnSubscribeQosServer unSubscribeQos)
|
NodeMasterInfo |
I_LoadBalancer.getClusterNode(java.util.Set nodeMasterInfoSet,
java.lang.String keyOidForLogging)
Your plugin should determine which xmlBlaster node to choose. |
NodeMasterInfo |
ClusterManager.getConnection(SessionInfo publisherSession,
MsgUnit msgUnit)
|
NodeMasterInfo |
ClusterManager.getConnection(SessionInfo publisherSession,
MsgUnit msgUnit,
Destination destination)
Get connection to the master node (or a node at a closer stratum to the master). |
int |
ClusterNode.getConnectionState()
Returns the current connection state to the node. |
NodeMasterInfo |
I_MapMsgToMasterId.getMasterId(NodeMasterInfo nodeMasterInfo,
MsgUnit msgUnit)
Find out who is the master of the provided message. |
I_LoadBalancer |
LoadBalancerPluginManager.getPlugin(java.lang.String type,
java.lang.String version)
Return a specific plugin. |
private I_MapMsgToMasterId |
MapMsgToMasterPluginManager.getPlugin(java.lang.String type,
java.lang.String version)
Return a specific MIME based message plugin from cache (initialize it on first request). |
I_XmlBlasterAccess |
ClusterNode.getXmlBlasterAccess()
On first invocation we connect to the other xmlBlaster cluster node. |
void |
ClusterManager.init(Global globUtil,
PluginInfo pluginInfo)
This method is called by the PluginManager (enforced by I_Plugin). |
private void |
ClusterManager.initConnections()
Usually the connection is established on demand (a message wants to travel to a node). |
private void |
ClusterManager.initMyselfClusterNode()
Initialize ClusterNode object, containing all informations about myself. |
boolean |
ClusterNode.isAlive()
Check if we currently have an open connection to this node. |
boolean |
ClusterNode.isConnected()
Check if we have currently a functional connection to this node. |
boolean |
ClusterNode.isPolling()
Check if we are currently polling for a connection to this node. |
void |
ClusterManager.postInit()
To initialize ClusterNode we need the addresses from the protocol drivers. |
private void |
NodeConnectQos.postInitialize()
Force some cluster specific connection settings. |
void |
ClusterManager.runlevelChange(int from,
int to,
boolean force)
Invoked on run level change, see RunlevelManager.RUNLEVEL_HALTED and RunlevelManager.RUNLEVEL_RUNNING Enforced by I_RunlevelListener |
java.lang.String |
ClusterNode.update(java.lang.String cbSessionId,
UpdateKey updateKey,
byte[] content,
UpdateQos updateQos)
This is the callback method invoked from xmlBlaster delivering us a new asynchronous message. |
Constructors in org.xmlBlaster.engine.cluster that throw XmlBlasterException | |
---|---|
ClusterNode(ServerScope glob,
NodeId nodeId,
SessionInfo sessionInfo)
Create an object holding all informations about a node |
|
NodeConnectQos(Global remoteGlob,
NodeId nodeId)
Holds the ConnectQos of a node. |
|
NodeMasterInfo(ServerScope glob,
ClusterNode clusterNode)
Create a NodeMasterInfo belonging to the given cluster node. |
|
NodeParser(ServerScope glob,
ClusterManager clusterManager,
java.lang.String xml,
SessionInfo sessionInfo)
Parses the XML markup of exactly one cluster node configuration. |
|
NodeParser(ServerScope glob,
ClusterNode clusterNode,
java.lang.String xml)
Constructor variant to only parse the <master> part of the XML. |
Uses of XmlBlasterException in org.xmlBlaster.engine.cluster.simpledomain |
---|
Methods in org.xmlBlaster.engine.cluster.simpledomain that throw XmlBlasterException | |
---|---|
NodeMasterInfo |
RoundRobin.getClusterNode(java.util.Set nodeMasterInfoSet,
java.lang.String keyOidForLogging)
We determine which xmlBlaster node to choose with a simple counter. |
NodeMasterInfo |
DomainToMaster.getMasterId(NodeMasterInfo nodeMasterInfo,
MsgUnit msgUnit)
Find out who is the master of the provided message. |
void |
DomainToMaster.shutdown()
|
void |
RoundRobin.shutdown()
|
Uses of XmlBlasterException in org.xmlBlaster.engine.dispatch |
---|
Methods in org.xmlBlaster.engine.dispatch with parameters of type XmlBlasterException | |
---|---|
private void |
ServerDispatchManager.givingUpDelivery(XmlBlasterException ex)
|
boolean |
ServerDispatchManager.sendingFailedNotification(MsgQueueEntry[] entries,
XmlBlasterException ex)
Notify I_PostSendListener about problem. |
void |
ServerDispatchManager.shutdownFomAnyState(ConnectionStateEnum oldState,
XmlBlasterException ex)
Call by DispatchConnectionsHandler on state transition |
void |
ServerDispatchManager.toDead(XmlBlasterException ex)
|
Methods in org.xmlBlaster.engine.dispatch that throw XmlBlasterException | |
---|---|
void |
CbDispatchConnection.connectLowlevel()
|
DispatchConnection |
CbDispatchConnectionsHandler.createDispatchConnection(AddressBase address)
|
java.lang.String |
CbDispatchConnection.doPing(java.lang.String data)
|
void |
CbDispatchConnection.doSend(MsgQueueEntry[] msgArr_,
boolean isAsyncMode)
Send the messages back to the client. |
private void |
CbDispatchConnection.exportCrypt(java.util.ArrayList holderList,
MethodName methodName)
We export/encrypt the message (call the interceptor) |
void |
ServerDispatchManager.handleSyncWorkerException(java.util.List<I_Entry> entryList,
java.lang.Throwable throwable)
Called by DispatchWorker if an Exception occured in sync mode Only on client side |
void |
ServerDispatchManager.handleWorkerException(java.util.List<I_Entry> entryList,
java.lang.Throwable throwable)
Called by DispatchWorker if an Exception occurred in async mode. |
void |
CbDispatchConnection.loadPlugin()
Load the appropriate protocol driver |
void |
ServerDispatchManager.putPost(I_QueueEntry queueEntry)
|
void |
ServerDispatchManager.putPost(I_QueueEntry[] queueEntries)
|
boolean |
ServerDispatchManager.putPre(I_QueueEntry queueEntry)
|
boolean |
ServerDispatchManager.putPre(I_QueueEntry[] queueEntries)
|
protected void |
CbDispatchConnection.reconnect()
On reconnect polling try to establish the connection. |
void |
ServerDispatchManager.removeFromQueue(MsgQueueEntry[] entries,
boolean postSendNotify)
Messages are successfully sent, remove them now from queue (sort of a commit()): We remove filtered/destroyed messages as well (which doen't show up in entryListChecked) |
void |
CbDispatchConnection.setAddress(AddressBase address)
|
void |
ServerDispatchManager.setAddresses(AddressBase[] addr)
Set new callback addresses, typically after a session login/logout |
void |
CbDispatchConnection.shutdown(boolean delayed)
Stop all callback drivers of this client. |
void |
ServerDispatchManager.updateProperty(CallbackAddress[] addressArr)
Reconfigure dispatcher with given properties. |
Constructors in org.xmlBlaster.engine.dispatch that throw XmlBlasterException | |
---|---|
CbDispatchConnection(Global glob,
CbDispatchConnectionsHandler connectionsHandler,
AddressBase address)
|
|
CbDispatchConnectionsHandler(Global glob,
ServerDispatchManager dispatchManager)
|
|
ServerDispatchManager(ServerScope glob,
I_MsgErrorHandler failureListener,
I_MsgSecurityInterceptor securityInterceptor,
I_Queue msgQueue,
I_ConnectionStatusListener connectionStatusListener,
AddressBase[] addrArr,
SessionName sessionName)
|
Uses of XmlBlasterException in org.xmlBlaster.engine.distributor.plugins |
---|
Methods in org.xmlBlaster.engine.distributor.plugins with parameters of type XmlBlasterException | |
---|---|
void |
ConsumableQueuePlugin.toDead(I_DispatchManager dispatchManager,
ConnectionStateEnum oldState,
XmlBlasterException xmlBlasterException)
|
Methods in org.xmlBlaster.engine.distributor.plugins that throw XmlBlasterException | |
---|---|
private UpdateReturnQosServer |
ConsumableQueuePlugin.doDistribute(SubscriptionInfo sub,
MsgQueueUpdateEntry entry)
Enforced by the I_DistributionInterceptor interface. |
I_MsgDistributor |
MsgDistributorPluginManager.getPlugin(java.lang.String typeVersion,
TopicHandler topicHandler)
Return a specific msgDistributor plugin. |
void |
ConsumableQueuePlugin.init(Global global,
PluginInfo pluginInfo)
Initializes the plugin |
void |
ConsumableQueuePlugin.shutdown()
It removes all subscriptions done on this topic |
void |
ConsumableQueuePlugin.subscriptionAdd(SubscriptionEvent e)
Invoked when a subscriber is added to the TopicHandler |
void |
ConsumableQueuePlugin.subscriptionRemove(SubscriptionEvent e)
Invoked when a subscriber is removed from the TopicHandler |
Uses of XmlBlasterException in org.xmlBlaster.engine.event |
---|
Methods in org.xmlBlaster.engine.event that throw XmlBlasterException | |
---|---|
java.lang.String |
JmxDestinationHelper.getMessage(java.lang.String summary,
java.lang.String description,
java.lang.String eventType,
java.lang.String errorCode,
SessionName sessionName)
|
MsgUnit |
PublishDestinationHelper.getMsgUnit(java.lang.String summary,
java.lang.String description,
java.lang.String eventType,
java.lang.String errorCode,
SessionName sessionName)
|
MsgKeyData |
PublishDestinationHelper.getPublishKey(java.lang.String summary,
java.lang.String description,
java.lang.String eventType,
java.lang.String errorCode)
|
MsgQosData |
PublishDestinationHelper.getPublishQos(java.lang.String summary,
java.lang.String description,
java.lang.String eventType,
java.lang.String errorCode,
SessionName sessionName)
|
void |
SmtpDestinationHelper.sendEmail(EmailData emailData)
|
Constructors in org.xmlBlaster.engine.event that throw XmlBlasterException | |
---|---|
ExecHelper(EventPlugin eventPlugin,
java.lang.String configuration)
|
|
JmxDestinationHelper(EventPlugin eventPlugin,
java.lang.String destination)
|
|
PublishDestinationHelper(EventPlugin eventPlugin,
java.lang.String configuration)
|
|
SmtpDestinationHelper(EventPlugin eventPlugin,
SmtpClient smtpClient,
java.lang.String destination)
|
Uses of XmlBlasterException in org.xmlBlaster.engine.mime |
---|
Methods in org.xmlBlaster.engine.mime that throw XmlBlasterException | |
---|---|
boolean |
AccessPluginManager.addAccessFilterPlugin(java.lang.String type,
java.lang.String version)
Invoked on new subscription or get() invocation, loads plugin. |
I_AccessFilter |
AccessPluginManager.getPlugin(java.lang.String type,
java.lang.String version)
Return a specific MIME based message filter plugin. |
void |
PublishPluginManager.initializePlugins()
Instantiate all given plugins from xmlBlaster.properties. |
java.lang.String |
I_PublishFilter.intercept(SubjectInfo publisher,
MsgUnit msgUnit)
Add your business code with your implementation of inercept(). |
boolean |
I_AccessFilter.match(SessionInfo receiver,
MsgUnit msgUnit,
Query query)
Check if the filter rule matches for this message. |
void |
PublishPluginManager.runlevelChange(int from,
int to,
boolean force)
Invoked on run level change, see RunlevelManager.RUNLEVEL_HALTED and RunlevelManager.RUNLEVEL_RUNNING Enforced by I_RunlevelListener |
void |
AccessPluginManager.runlevelChange(int from,
int to,
boolean force)
Invoked on run level change, see RunlevelManager.RUNLEVEL_HALTED and RunlevelManager.RUNLEVEL_RUNNING Enforced by I_RunlevelListener |
Constructors in org.xmlBlaster.engine.mime that throw XmlBlasterException | |
---|---|
PublishPluginManager(ServerScope glob)
|
Uses of XmlBlasterException in org.xmlBlaster.engine.mime.demo |
---|
Methods in org.xmlBlaster.engine.mime.demo that throw XmlBlasterException | |
---|---|
void |
PublishDelayer.init(Global glob,
PluginInfo pluginInfo)
This method is called by the PluginManager (enforced by I_Plugin). |
void |
ContentLenFilter.init(Global glob,
PluginInfo pluginInfo)
This method is called by the PluginManager. |
java.lang.String |
PublishDelayer.intercept(SubjectInfo publisher,
MsgUnit msgUnit)
Delay the message for the configured amount of time. |
java.lang.String |
PublishLenChecker.intercept(SubjectInfo publisher,
MsgUnit msgUnit)
Check if the filter rule matches for this message. |
boolean |
ContentLenFilter.match(SessionInfo receiver,
MsgUnit msgUnit,
Query query)
Check if the filter rule matches for this message. |
Uses of XmlBlasterException in org.xmlBlaster.engine.mime.regex |
---|
Methods in org.xmlBlaster.engine.mime.regex that throw XmlBlasterException | |
---|---|
boolean |
GnuRegexFilter.match(SessionInfo receiver,
MsgUnit msgUnit,
Query query)
Check if the filter rule matches for this message. |
Uses of XmlBlasterException in org.xmlBlaster.engine.mime.sql92 |
---|
Methods in org.xmlBlaster.engine.mime.sql92 that throw XmlBlasterException | |
---|---|
boolean |
Sql92Filter.match(SessionInfo receiver,
MsgUnit msgUnit,
Query query)
Check if the filter rule matches for this message. |
Uses of XmlBlasterException in org.xmlBlaster.engine.mime.xpath |
---|
Methods in org.xmlBlaster.engine.mime.xpath that throw XmlBlasterException | |
---|---|
private org.w3c.dom.Document |
XPathFilter.getDocument(byte[] xml)
Create a new dom document. |
private org.w3c.dom.Document |
XPathFilter.getDocument(MsgUnit msg)
Get a dom document for message, from cache or create a new one. |
private javax.xml.parsers.DocumentBuilderFactory |
XPathFilter.getDocumentBuilderFactory()
|
void |
XPathFilter.init(Global glob,
PluginInfo pluginInfo)
This method is called by the PluginManager (enforced by I_Plugin). |
protected void |
XPathFilter.loadXPathExtensionFunctions(java.lang.String extensionClassList)
Load xpath extension functions from a semicolon separated list of classes. |
boolean |
XPathFilter.match(SessionInfo receiver,
MsgUnit msgUnit,
Query query)
Check if the filter rule matches for this message. |
Uses of XmlBlasterException in org.xmlBlaster.engine.msgstore |
---|
Methods in org.xmlBlaster.engine.msgstore that throw XmlBlasterException | |
---|---|
I_MapEntry |
I_Map.change(I_MapEntry entry,
I_ChangeCallback callback)
|
I_MapEntry |
I_Map.change(long uniqueId,
I_ChangeCallback callback)
This method is threadsafe because it makes a lookup for the updated entry within the synchronization point. |
I_MapEntry |
I_ChangeCallback.changeEntry(I_MapEntry entry)
Callback invoked by I_Map.change inside the synchronization point. |
long |
I_Map.clear()
Delete all entries |
void |
I_Map.destroy()
destroys all the resources associated to this queue. |
I_MapEntry |
I_Map.get(long uniqueId)
Lookup entry without removing. |
I_MapEntry[] |
I_Map.getAll(I_EntryFilter entryFilter)
Retrieve all entries in the storage, please take care on memory consumption. |
I_Map |
StoragePluginManager.getPlugin(PluginInfo pluginInfo,
StorageId storageId,
QueuePropertyBase props)
|
I_Map |
StoragePluginManager.getPlugin(java.lang.String typeVersion,
StorageId storageId,
QueuePropertyBase props)
|
I_Map |
StoragePluginManager.getPlugin(java.lang.String type,
java.lang.String version,
StorageId storageId,
QueuePropertyBase props)
Return a new created storage plugin. |
void |
I_Map.initialize(StorageId uniqueMapId,
java.lang.Object userData)
Is called after the instance is created. |
int |
I_Map.put(I_MapEntry mapEntry)
Adds one entry and automatically increments the reference counter. |
void |
MapEventHandler.registerEventType(I_EventDispatcher dispatcher,
java.lang.String eventType)
Is called from EventPlugin to register the configured eventTypes |
private void |
StoragePluginManager.registerOrRemovePlugin(I_Storage plugin,
boolean register)
Not synchronized since invoked inside the synchronized(this.storagesMap) |
int |
I_Map.remove(I_MapEntry mapEntry)
|
int |
I_Map.remove(long uniqueId)
|
I_MapEntry |
I_Map.removeOldest()
Remove the oldest entry. |
boolean |
StoragePluginManager.setEventHandler(java.lang.String key,
StorageEventHandler handler)
Set an EventHandler singleton |
void |
I_Map.setProperties(java.lang.Object userData)
Allows to overwrite properties which where passed on initialize() The properties which support hot configuration are depending on the used implementation |
void |
I_Map.updateCounters(I_MapEntry entry)
|
Uses of XmlBlasterException in org.xmlBlaster.engine.msgstore.cache |
---|
Methods in org.xmlBlaster.engine.msgstore.cache that return XmlBlasterException | |
---|---|
private XmlBlasterException |
PersistenceCachePlugin.spaceLeftException(I_MapEntry mapEntry,
I_Map map)
Check is storage is big enough for entry |
Methods in org.xmlBlaster.engine.msgstore.cache that throw XmlBlasterException | |
---|---|
private void |
PersistenceCachePlugin.assureTransientSpace(I_MapEntry mapEntry)
Swap an entry away to hard disk. |
I_MapEntry |
PersistenceCachePlugin.change(I_MapEntry oldEntry,
I_ChangeCallback callback)
|
I_MapEntry |
PersistenceCachePlugin.change(long uniqueId,
I_ChangeCallback callback)
|
void |
PersistenceCachePlugin.destroy()
destroys all the resources associated to this queue. |
I_MapEntry |
PersistenceCachePlugin.get(long uniqueId)
|
I_MapEntry[] |
PersistenceCachePlugin.getAll(I_EntryFilter entryFilter)
Access all entries. |
void |
PersistenceCachePlugin.initialize(StorageId uniqueQueueId,
java.lang.Object userData)
Is called after the instance is created. |
int |
PersistenceCachePlugin.put(I_MapEntry mapEntry)
All entries are stored into the transient queue. |
int |
PersistenceCachePlugin.remove(I_MapEntry mapEntry)
|
int |
PersistenceCachePlugin.remove(long uniqueId)
|
private int |
PersistenceCachePlugin.removeNoNotify(I_MapEntry mapEntry)
|
I_MapEntry |
PersistenceCachePlugin.removeOldest()
|
int |
PersistenceCachePlugin.removeTransient()
|
void |
PersistenceCachePlugin.setProperties(java.lang.Object userData)
|
void |
PersistenceCachePlugin.updateCounters(I_MapEntry entry)
|
Uses of XmlBlasterException in org.xmlBlaster.engine.msgstore.ram |
---|
Methods in org.xmlBlaster.engine.msgstore.ram that throw XmlBlasterException | |
---|---|
I_MapEntry |
MapPlugin.change(I_MapEntry entry,
I_ChangeCallback callback)
|
I_MapEntry |
MapPlugin.change(long uniqueId,
I_ChangeCallback callback)
|
void |
MapPlugin.destroy()
|
I_MapEntry |
MapPlugin.get(long uniqueId)
|
I_MapEntry[] |
MapPlugin.getAll(I_EntryFilter entryFilter)
|
void |
MapPlugin.initialize(StorageId uniqueMapId,
java.lang.Object userData)
Is called after the instance is created. |
int |
MapPlugin.put(I_MapEntry entry)
|
int |
MapPlugin.remove(I_MapEntry mapEntry)
|
int |
MapPlugin.remove(long uniqueId)
|
I_MapEntry |
MapPlugin.removeOldest()
|
int |
MapPlugin.removeTransient()
|
void |
MapPlugin.setProperties(java.lang.Object userData)
|
void |
MapPlugin.updateCounters(I_MapEntry entry)
|
Uses of XmlBlasterException in org.xmlBlaster.engine.persistence |
---|
Methods in org.xmlBlaster.engine.persistence that throw XmlBlasterException | |
---|---|
void |
MsgFileDumper.erase(XmlKey xmlKey)
Allows a stored message to be deleted. |
void |
I_PersistenceDriver.erase(XmlKey xmlKey)
Deprecated. Allows a stored message to be deleted. |
MsgUnit |
I_PersistenceDriver.fetch(java.lang.String oid)
Deprecated. Fetches one message by oid from the persistence. |
MsgUnit |
MsgFileDumper.fetch(java.lang.String oid,
long timestamp)
Allows to fetch one message by oid and timestamp from the persistence. |
java.util.Enumeration |
MsgFileDumper.fetchAllOids()
Fetches all oid's of the messages from the persistence. |
java.util.Enumeration |
I_PersistenceDriver.fetchAllOids()
Deprecated. Fetches all oid's of the messages from the persistence. |
I_PersistenceDriver |
PersistencePluginManager.getPlugin(java.lang.String type,
java.lang.String version)
Return a specific persistence plugin from cache (on first request create it). |
void |
MsgFileDumper.init(Global glob)
Initializes an instance, creates and checks harddisk path |
void |
MsgFileDumper.init(Global glob,
java.lang.String path_)
Initializes an instance, creates and checks harddisk path |
void |
MsgFileDumper.shutdown()
Closes the instance of the filedriver plugin |
void |
I_PersistenceDriver.shutdown()
Deprecated. Closes the instance of the persistence plugin The protocol for storing is implemented in the derived class |
java.lang.String |
MsgFileDumper.store(MsgUnitWrapper msgUnitWrapper)
Allows a message to be stored. |
void |
I_PersistenceDriver.store(MsgUnitWrapper messageWrapper)
Deprecated. Allows a message to be stored. |
private java.lang.String |
MsgFileDumper.store(MsgUnitWrapper msgUnitWrapper,
boolean updateOnly)
|
java.lang.String |
MsgFileDumper.update(MsgUnitWrapper msgUnitWrapper)
Allows a stored message content to be updated. |
void |
I_PersistenceDriver.update(MsgUnitWrapper messageWrapper)
Deprecated. Allows a stored message content to be updated. |
Constructors in org.xmlBlaster.engine.persistence that throw XmlBlasterException | |
---|---|
PersistencePluginManager(ServerScope glob)
|
Uses of XmlBlasterException in org.xmlBlaster.engine.persistence.filestore |
---|
Methods in org.xmlBlaster.engine.persistence.filestore that throw XmlBlasterException | |
---|---|
void |
FileDriver.erase(XmlKey xmlKey)
Allows a stored message to be deleted. |
MsgUnit |
FileDriver.fetch(java.lang.String oid)
Allows to fetch one message by oid from the persistence. |
java.util.Enumeration |
FileDriver.fetchAllOids()
Fetches all oid's of the messages from the persistence. |
void |
FileDriver.init(Global glob,
PluginInfo pluginInfo)
This method is called by the PluginManager (enforced by I_Plugin). |
void |
FileDriver.shutdown()
Closes the instance of the filedriver plugin |
void |
FileDriver.store(MsgUnitWrapper messageWrapper)
Allows a message to be stored. |
void |
FileDriver.update(MsgUnitWrapper messageWrapper)
Allows a stored message content to be updated. |
Constructors in org.xmlBlaster.engine.persistence.filestore that throw XmlBlasterException | |
---|---|
FileDriver()
Constructs the FileDriver object (reflection constructor). |
Uses of XmlBlasterException in org.xmlBlaster.engine.qos |
---|
Methods in org.xmlBlaster.engine.qos that throw XmlBlasterException | |
---|---|
private void |
PublishQosServer.completeDestinations()
Checks for relative destination names and completes them with our cluster node id |
ConnectQosServer |
ConnectQosServer.getClone(Global newGlob)
Serialize first to have a clone for security reasons (and to guarantee our Global). |
I_ClientPlugin |
ConnectQosServer.loadClientPlugin(java.lang.String mechanism,
java.lang.String version,
java.lang.String loginName,
java.lang.String passwd)
Allows to set or overwrite the parsed security plugin. |
void |
ConnectQosServer.setUserId(java.lang.String loginName)
Allows to set or overwrite the login name for I_SecurityQos. |
Constructors in org.xmlBlaster.engine.qos that throw XmlBlasterException | |
---|---|
ConnectQosServer(Global glob,
java.lang.String xmlQos)
|
|
ConnectReturnQosServer(Global glob,
ConnectQosData connectQosData)
|
|
ConnectReturnQosServer(Global glob,
java.lang.String xmlQos)
|
|
DisconnectQosServer(Global glob,
java.lang.String xmlQos)
|
|
EraseQosServer(Global glob,
java.lang.String xmlQos)
Constructs the specialized quality of service object for a erase() call. |
|
GetQosServer(Global glob,
java.lang.String xmlQos)
Constructs the specialized quality of service object for a get() call. |
|
PublishQosServer(ServerScope glob,
MsgQosData msgQosData,
boolean fromPersistenceStore)
Constructor which accepts parsed object. |
|
PublishQosServer(ServerScope glob,
QosData msgQosData)
Constructor which accepts parsed object. |
|
PublishQosServer(ServerScope glob,
java.lang.String xmlQos)
Constructs the specialized quality of service object for a publish() call, and parses the given XML string. |
|
PublishQosServer(ServerScope glob,
java.lang.String xmlQos,
boolean fromPersistenceStore)
Constructs the specialized quality of service object for a publish() call. |
|
SubscribeQosServer(Global glob,
java.lang.String xmlQos)
Constructs the specialized quality of service object for a subscribe() call. |
|
UnSubscribeQosServer(Global glob,
java.lang.String xmlQos)
Constructs the specialized quality of service object for a unSubscribe() call. |
|
UpdateReturnQosServer(Global glob,
java.lang.String xmlQos)
Constructor which parses XML string. |
Uses of XmlBlasterException in org.xmlBlaster.engine.query |
---|
Methods in org.xmlBlaster.engine.query that throw XmlBlasterException | |
---|---|
MsgUnit[] |
I_Query.query(java.lang.Object source,
java.lang.String query)
Makes a query to the specified source object. |
Uses of XmlBlasterException in org.xmlBlaster.engine.query.plugins |
---|
Methods in org.xmlBlaster.engine.query.plugins that throw XmlBlasterException | |
---|---|
MsgUnit[] |
QueueQueryPlugin.query(java.lang.Object source,
java.lang.String query)
The query to the queue. |
Uses of XmlBlasterException in org.xmlBlaster.engine.queuemsg |
---|
Methods in org.xmlBlaster.engine.queuemsg that throw XmlBlasterException | |
---|---|
I_Entry |
ServerEntryFactory.createEntry(int priority,
long timestamp,
java.lang.String type,
boolean persistent,
long sizeInBytes,
java.io.InputStream is,
StorageId storageId)
Parses back the raw data to a I_Entry (deserializing) |
I_Entry |
ServerEntryFactory.createEntry(XBStore store,
XBMeat meat,
XBRef ref)
|
MsgKeyData |
ReferenceEntry.getMsgKeyData()
|
MsgQosData |
ReferenceEntry.getMsgQosData()
|
MsgUnit |
ReferenceEntry.getMsgUnit()
Gets the message unit but is for read only (dirty read) |
void |
ReferenceEntry.setMsgUnitWrapper(MsgUnitWrapper msgUnitWrapper)
|
byte[] |
ServerEntryFactory.toBlob(I_Entry entry)
Parses the specified entry to a byte array (serializing). |
Constructors in org.xmlBlaster.engine.queuemsg that throw XmlBlasterException | |
---|---|
MsgQueueHistoryEntry(ServerScope glob,
MsgUnitWrapper msgUnitWrapper,
StorageId storageId)
A new message object is fed by method publish(). |
|
MsgQueueHistoryEntry(ServerScope glob,
PriorityEnum priority,
StorageId storageId,
Timestamp entryTimestamp,
java.lang.String keyOid,
long msgUnitWrapperUniqueId,
boolean persistent,
long sizeInBytes)
For persistence recovery |
|
MsgQueueUpdateEntry(MsgQueueUpdateEntry entry,
StorageId storageId)
Copy constructor, used to get a shallow clone, we still reference the original MsgUnitWrapper. |
|
MsgQueueUpdateEntry(ServerScope glob,
MsgUnitWrapper msgUnitWrapper,
StorageId storageId,
SessionName receiver,
java.lang.String subscriptionId,
boolean wantUpdateOneway,
boolean wantNewestOnly)
A new message object is fed by method publish(). |
|
MsgQueueUpdateEntry(ServerScope glob,
MsgUnitWrapper msgUnitWrapper,
Timestamp timestamp,
StorageId storageId,
SessionName receiver,
java.lang.String subscriptionId,
boolean wantUpdateOneway,
boolean wantNewestOnly)
convenience constructor to allow passing an already given uniqueId (the timestamp) |
|
MsgQueueUpdateEntry(ServerScope glob,
PriorityEnum priority,
StorageId storageId,
Timestamp updateEntryTimestamp,
java.lang.String keyOid,
long msgUnitWrapperUniqueId,
boolean persistent,
long sizeInBytes,
SessionName receiver,
java.lang.String subscriptionId,
java.lang.String flag,
int redeliverCount,
java.lang.String qos,
java.lang.String key,
byte[] content)
For persistence recovery The params qos, key, content can be null (the unparsed raw message) |
|
ReferenceEntry(java.lang.String ME,
ServerScope glob,
java.lang.String entryType,
MsgUnitWrapper msgUnitWrapper,
StorageId storageId)
A new message object is fed by method publish(). |
|
ReferenceEntry(java.lang.String ME,
ServerScope glob_,
java.lang.String entryType,
MsgUnitWrapper msgUnitWrapper,
Timestamp timestamp,
StorageId storageId,
SessionName receiver)
A new message object is fed by method update(). |
|
ReferenceEntry(java.lang.String ME,
ServerScope glob,
java.lang.String entryType,
PriorityEnum priority,
StorageId storageId,
Timestamp entryTimestamp,
java.lang.String keyOid,
long msgUnitWrapperUniqueId,
boolean persistent,
SessionName receiver,
java.lang.String qos,
java.lang.String key,
byte[] content)
For persistence recovery |
|
TopicEntry(ServerScope glob,
MsgUnit msgUnit,
StorageId storageId)
Use this constructor if a new message object is fed by method publish(). |
|
TopicEntry(ServerScope glob,
MsgUnit msgUnit,
StorageId storageId,
java.lang.String embeddedType,
long sizeInBytes)
Used when message comes from persistence, the owning I_Map is unknown |
Uses of XmlBlasterException in org.xmlBlaster.engine.runlevel |
---|
Fields in org.xmlBlaster.engine.runlevel declared as XmlBlasterException | |
---|---|
private XmlBlasterException |
PluginHolderSaxFactory.ex
|
private XmlBlasterException |
RunLevelActionSaxFactory.ex
|
private XmlBlasterException |
PluginConfigSaxFactory.ex
|
Methods in org.xmlBlaster.engine.runlevel that throw XmlBlasterException | |
---|---|
private void |
RunlevelManager.addPlugin(PluginConfig pluginConfig)
Add a new plugin, if it exists remove the old first. |
int |
RunlevelManager.changeRunlevel(int newRunlevel,
boolean force)
Change the run level to the given newRunlevel. |
int |
RunlevelManager.changeRunlevel(java.lang.String newRunlevel,
boolean force)
Allows to pass the newRunlevel as a String like "RUNLEVEL_STANDBY" or "6" |
private int |
RunlevelManager.fireRunlevelEvent(int from,
int to,
boolean force)
The static plugins are loaded from (exclusive) to (inclusive) when startup and the same when shutting down. |
void |
RunlevelManager.initPluginManagers()
Incarnate the different managers which handle run levels. |
protected void |
RunlevelPluginManager.postInstantiate(I_Plugin plugin,
PluginInfo pluginInfo)
Is called after a plugin in instantiated, allows the base class to do specific actions. |
java.lang.String |
RunlevelManager.publish(SessionInfo sessionInfo,
MsgUnit msgUnit,
PublishQosServer publishQos)
Called from RequestBroker when a new plugin XML is arriving. |
PluginHolder |
PluginHolderSaxFactory.readConfigFile()
Reads the configuration file xmlBlasterPlugins.xml . |
PluginHolder |
PluginHolderSaxFactory.readObject(java.lang.String xmlTxt)
Parses the given xmlBlasterPlugins.xml returns a PluginHolderData holding the data. |
RunLevelAction |
RunLevelActionSaxFactory.readObject(java.lang.String xmlTxt)
Parses the given xml Qos and returns a RunLevelActionData holding the data. |
PluginConfig |
PluginConfigSaxFactory.readObject(java.lang.String xmlTxt)
Parses the given xml Qos and returns a PluginConfigData holding the data. |
void |
I_RunlevelListener.runlevelChange(int from,
int to,
boolean force)
Invoked on run level change, see for example RunlevelManager.RUNLEVEL_HALTED and RunlevelManager.RUNLEVEL_RUNNING |
private void |
RunlevelManager.shutdownPlugins(int from,
int to)
|
private void |
RunlevelManager.startupPlugins(int from,
int to)
|
Uses of XmlBlasterException in org.xmlBlaster.engine.xml2java |
---|
Methods in org.xmlBlaster.engine.xml2java that throw XmlBlasterException | |
---|---|
protected java.lang.String |
XmlKeyDom.getKeyOid(org.w3c.dom.Node node)
Given a node |
org.w3c.dom.Node |
XmlKey.getRootNode()
Fills the DOM tree, and assures that a valid |
boolean |
XmlKey.isDeadMessage()
|
private void |
XmlKey.loadDomTree()
Fills the DOM tree, and assures that a valid |
boolean |
XmlKey.match(QueryKeyData queryKey)
Allows to check if this xmlKey matches the given query. |
boolean |
XmlKey.match(java.lang.String xpath)
We need this to allow checking if an existing XPath subscription matches this new message type. |
org.w3c.dom.Node |
XmlKeyDom.mergeNode(org.w3c.dom.Node node)
Adding a new <key> node to the xmlBlaster xmlKey tree. |
void |
XmlKey.mergeRootNode(I_MergeDomNode merger)
Should be called by publish() to merge the local XmlKey DOM into the big xmlBlaster DOM tree |
java.util.ArrayList |
XmlKeyDom.parseKeyOid(SessionInfo sessionInfo,
java.lang.String xpathQuery,
QueryQosData qos)
This method does the XPath query. |
java.lang.String |
XmlKeyDom.toXml()
Dump state of this object into XML. |
java.lang.String |
XmlKeyDom.toXml(java.lang.String extraOffset,
boolean stripDeclaration)
Dump state of this object into XML. |
Constructors in org.xmlBlaster.engine.xml2java that throw XmlBlasterException | |
---|---|
XmlKey(ServerScope glob,
java.lang.String xmlKey_literal)
Parses given xml string |
|
XmlKeyDom(RequestBroker requestBroker)
Constructor to handle a DOM with XPath query. |
Uses of XmlBlasterException in org.xmlBlaster.j2ee.k2 |
---|
Methods in org.xmlBlaster.j2ee.k2 that throw XmlBlasterException | |
---|---|
private void |
BlasterConnectionImpl.checkSanity()
|
void |
BlasterConnectionImpl.close()
Close the connection. |
EraseReturnQos[] |
BlasterConnectionImpl.erase(java.lang.String xmlKey,
java.lang.String qos)
Erase message(s), I think |
MsgUnit[] |
BlasterConnectionImpl.get(java.lang.String xmlKey,
java.lang.String qos)
Fetch a message from server |
(package private) I_XmlBlasterAccess |
BlasterManagedConnection.getBlasterConnection()
|
(package private) I_XmlBlasterAccess |
BlasterManagedConnection.getFailoverBlasterConnection()
This is used both internaly and by handles. |
Global |
BlasterConnectionImpl.getGlobal()
Get Global from connection |
PublishReturnQos |
BlasterConnectionImpl.publish(MsgUnit msgUnit)
Publish one message |
PublishReturnQos[] |
BlasterConnectionImpl.publishArr(MsgUnit[] msgUnitArr)
Publish one or more message |
Uses of XmlBlasterException in org.xmlBlaster.j2ee.k2.client |
---|
Methods in org.xmlBlaster.j2ee.k2.client that throw XmlBlasterException | |
---|---|
void |
BlasterConnection.close()
Close the connection. |
EraseReturnQos[] |
BlasterConnection.erase(java.lang.String xmlKey,
java.lang.String qos)
Erase message(s), I think |
MsgUnit[] |
BlasterConnection.get(java.lang.String xmlKey,
java.lang.String qos)
Fetch a message from server |
Global |
BlasterConnection.getGlobal()
The the preconfigured global of the connection, good to have to be able to create Qos and keys for example. |
PublishReturnQos |
BlasterConnection.publish(MsgUnit msgUnit)
Publish one message |
PublishReturnQos[] |
BlasterConnection.publishArr(MsgUnit[] msgUnitArr)
Publish one or more message |
Uses of XmlBlasterException in org.xmlBlaster.j2ee.util |
---|
Methods in org.xmlBlaster.j2ee.util that throw XmlBlasterException | |
---|---|
static void |
JacorbUtil.loadJacorbProperties(java.lang.String fileName,
Global glob)
Load the given jacorb properties file from the context classloader and put it into the given global. |
Uses of XmlBlasterException in org.xmlBlaster.jms |
---|
Methods in org.xmlBlaster.jms that throw XmlBlasterException | |
---|---|
(package private) void |
XBSession.activateDispatcher(boolean doActivate)
Activates or deactivates the dispatcher associated to this session. |
static XBMessage |
MessageHelper.convertFromMsgUnit(XBSession session,
java.lang.String sender,
MsgKeyData keyData,
byte[] content,
MsgQosData qosData)
Used in the message consumer update method. |
static XBMessage |
MessageHelper.convertFromMsgUnit(XBSession session,
java.lang.String sender,
MsgUnit msgUnit)
Used in the message consumer receive method. |
static MsgUnit |
MessageHelper.convertToMessageUnit(Global global,
javax.jms.Message msg)
This method converts a message (which could be from a foreign provider but also an own XBMessage) to a MsgUnit (internal XmlBlaster messages). |
private ConnectQos |
XBConnectionFactory.getConnectQos(java.lang.String user,
java.lang.String password)
Takes a clone of the connectQos and fills it with the security data if necessary |
private ConnectQos |
XBConnectionFactory.parseConnectQos(java.lang.String qosLitteral)
|
java.lang.String |
XBMessageConsumer.update(java.lang.String cbSessionId,
UpdateKey updateKey,
byte[] content,
UpdateQos updateQos)
|
java.lang.String |
XBSession.update(java.lang.String cbSessionId,
UpdateKey updateKey,
byte[] content,
UpdateQos updateQos)
|
Constructors in org.xmlBlaster.jms that throw XmlBlasterException | |
---|---|
XBConnection(ConnectQos connectQos,
javax.jms.ConnectionMetaData metaData,
boolean forQueues)
|
|
XBConnectionFactory()
|
|
XBConnectionFactory(java.lang.String connectQosLitteral,
java.lang.String[] args,
boolean forQueues)
Creates a factory for creating connections |
Uses of XmlBlasterException in org.xmlBlaster.protocol |
---|
Methods in org.xmlBlaster.protocol that throw XmlBlasterException | |
---|---|
void |
I_Driver.activate()
Activate xmlBlaster access through this protocol so that a client can contact us. |
void |
CbProtocolManager.activateCbDrivers()
|
java.lang.String |
I_Authenticate.connect(AddressServer addressServer,
java.lang.String qos)
|
java.lang.String |
I_Authenticate.connect(AddressServer addressServer,
java.lang.String qos,
java.lang.String sessionId)
|
ConnectReturnQosServer |
I_Authenticate.connect(ConnectQosServer qos)
|
ConnectReturnQosServer |
I_Authenticate.connect(ConnectQosServer qos,
java.lang.String sessionId)
|
void |
I_Driver.deActivate()
Deactivate xmlBlaster access (standby), no clients can connect. |
void |
I_Authenticate.disconnect(AddressServer addressServer,
java.lang.String sessionId,
java.lang.String qos_literal)
|
java.lang.String[] |
I_XmlBlaster.erase(AddressServer addressServer,
java.lang.String sessionId,
java.lang.String xmlKey_literal,
java.lang.String eraseQoS_literal)
Delete messages. |
MsgUnitRaw[] |
I_XmlBlaster.get(AddressServer addressServer,
java.lang.String sessionId,
java.lang.String xmlKey_literal,
java.lang.String getQoS_literal)
Synchronous access a message. |
I_CallbackDriver |
CbProtocolManager.getNewCbProtocolDriverInstance(java.lang.String driverType)
Creates a new instance of the given protocol driver type. |
I_CallbackDriver |
CbProtocolManager.getPlugin(java.lang.String type,
java.lang.String version)
Return a specific plugin, every call will create a new plugin instance. |
PluginInfo |
CbProtocolManager.getPluginInfo(java.lang.String type,
java.lang.String version)
|
I_AdminSubject |
I_Authenticate.getSubjectInfoByName(SessionName sessionName)
Administrative access. |
void |
I_CallbackDriver.init(Global glob,
CallbackAddress callbackAddress)
Intialize the driver. |
java.lang.String |
I_XmlBlaster.ping(AddressServer addressServer,
java.lang.String qos)
Ping to check if xmlBlaster is alive. |
java.lang.String |
I_CallbackDriver.ping(java.lang.String qos)
Ping to check if the clients callback server instance is alive. |
java.lang.String |
I_XmlBlaster.publish(AddressServer addressServer,
java.lang.String sessionId,
MsgUnitRaw msgUnit)
Publish a message. |
java.lang.String[] |
I_XmlBlaster.publishArr(AddressServer addressServer,
java.lang.String sessionId,
MsgUnitRaw[] msgUnitArr)
Publish messages. |
java.lang.String[] |
I_CallbackDriver.sendUpdate(MsgUnitRaw[] msgArr)
Send the message update to the client. |
void |
I_CallbackDriver.sendUpdateOneway(MsgUnitRaw[] msgArr)
The oneway variant, without return value |
void |
CbProtocolManager.shutdownCbDrivers(boolean force)
|
java.lang.String |
I_XmlBlaster.subscribe(AddressServer addressServer,
java.lang.String sessionId,
java.lang.String xmlKey_literal,
java.lang.String subscribeQoS_literal)
Subscribe to messages. |
java.lang.String |
I_Authenticate.toXml()
|
java.lang.String |
I_XmlBlaster.toXml()
|
java.lang.String |
I_XmlBlaster.toXml(java.lang.String extraOffset)
|
java.lang.String[] |
I_XmlBlaster.unSubscribe(AddressServer addressServer,
java.lang.String sessionId,
java.lang.String xmlKey_literal,
java.lang.String unSubscribeQos_literal)
Unsubscribe from messages. |
Uses of XmlBlasterException in org.xmlBlaster.protocol.corba |
---|
Methods in org.xmlBlaster.protocol.corba that throw XmlBlasterException | |
---|---|
void |
CorbaDriver.activate()
Activate xmlBlaster access through this protocol. |
private ConnectReturnQosServer |
AuthServerImpl.connectIntern(java.lang.String qos_literal)
|
private org.omg.CosNaming.NamingContextExt |
CorbaDriver.getNamingService()
Locate the CORBA Naming Service. |
private void |
CorbaDriver.init(Global glob,
AddressServer addressServer,
I_Authenticate authenticate,
I_XmlBlaster xmlBlasterImpl)
Start xmlBlaster CORBA access. |
void |
CallbackCorbaDriver.init(Global glob,
CallbackAddress callbackAddress)
Get callback reference here (== connectLowLevel()). |
void |
CorbaDriver.init(Global glob,
PluginInfo pluginInfo)
This method is called by the PluginManager (enforced by I_Plugin). |
java.lang.String |
CallbackCorbaDriver.ping(java.lang.String qos)
Ping to check if callback server is alive. |
java.lang.String[] |
CallbackCorbaDriver.sendUpdate(MsgUnitRaw[] msgArr)
This sends the update to the client. |
void |
CallbackCorbaDriver.sendUpdateOneway(MsgUnitRaw[] msgArr)
The oneway variant, without return value. |
void |
CorbaDriver.shutdown()
Instructs the ORB to shut down, which causes all object adapters to shut down. |
Uses of XmlBlasterException in org.xmlBlaster.protocol.email |
---|
Methods in org.xmlBlaster.protocol.email that throw XmlBlasterException | |
---|---|
void |
EmailDriver.activate()
Activate xmlBlaster access through this protocol. |
void |
EmailDriver.deActivate()
Deactivate xmlBlaster access (standby), no clients can connect. |
private void |
EmailDriver.init(Global glob,
AddressServer addressServer,
I_Authenticate authenticate,
I_XmlBlaster xmlBlasterImpl)
Start xmlBlaster EMAIL access. |
void |
CallbackEmailDriver.init(Global glob,
CallbackAddress callbackAddress)
This init() is called after the init(Global, PluginInfo) |
void |
EmailDriver.init(Global glob,
PluginInfo pluginInfo)
This method is called by the PluginManager (enforced by I_Plugin). |
void |
CallbackEmailDriver.init(Global glob,
PluginInfo pluginInfo)
This method is called by the PluginManager (enforced by I_Plugin). |
java.lang.String |
CallbackEmailDriver.ping(java.lang.String qos)
Ping to check if callback server is alive. |
boolean |
EmailDriver.receiveReply(MsgInfo receiver,
boolean udp)
Handle connect/disconnect |
java.lang.String[] |
CallbackEmailDriver.sendUpdate(MsgUnitRaw[] msgArr)
This sends the update to the client. |
void |
CallbackEmailDriver.sendUpdateOneway(MsgUnitRaw[] msgArr)
The oneway variant, without return value. |
Uses of XmlBlasterException in org.xmlBlaster.protocol.http |
---|
Methods in org.xmlBlaster.protocol.http that throw XmlBlasterException | |
---|---|
static void |
BlasterHttpProxy.addHttpPushHandler(java.lang.String sessionId,
HttpPushHandler httpPushHandler)
Gives a proxy connection by a given sessionId. |
static HttpPushHandler |
BlasterHttpProxy.getHttpPushHandler(java.lang.String sessionId)
Gives a proxy connection by a given sessionId. |
static I_XmlBlasterAccess |
BlasterHttpProxy.getXmlBlasterAccess(java.lang.String sessionId)
|
Uses of XmlBlasterException in org.xmlBlaster.protocol.http.ajax |
---|
Methods in org.xmlBlaster.protocol.http.ajax that throw XmlBlasterException | |
---|---|
void |
BlasterInstance.execute(byte[] xmlScriptRaw,
java.lang.String xmlScript,
java.io.Writer out)
|
private BlasterInstance |
AjaxServlet.getBlasterInstance(javax.servlet.http.HttpServletRequest req)
|
private BlasterInstance |
AjaxServlet.hasBlasterInstance(javax.servlet.http.HttpServletRequest req)
|
void |
BlasterInstance.init(javax.servlet.http.HttpServletRequest req,
java.util.Properties props)
|
(package private) void |
BlasterInstance.plainGet(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res,
java.io.StringWriter out)
|
void |
BlasterInstance.put(MsgUnit msgUnit)
|
int |
BlasterInstance.sendUpdates(java.io.Writer out,
boolean onlyContent,
int numEntries,
long timeout)
This method gets the entries in the correct form, i.e. |
java.lang.String |
BlasterInstance.update(java.lang.String cbSessionId,
UpdateKey updateKey,
byte[] content,
UpdateQos updateQos)
|
Uses of XmlBlasterException in org.xmlBlaster.protocol.http.appletproxy |
---|
Methods in org.xmlBlaster.protocol.http.appletproxy that throw XmlBlasterException | |
---|---|
protected void |
AppletServlet.connect(java.lang.String ME,
java.util.logging.Logger log,
javax.servlet.http.HttpSession session,
java.lang.String qos,
javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res)
|
private PushHandler |
AppletServlet.getPushHandler(javax.servlet.http.HttpServletRequest req)
|
void |
PushHandler.ping(java.lang.String state)
calls the ping method in the parentframe of the callback frame The data must be Javascript code |
void |
PushHandler.setPingInterval(long pingInterval)
Set or change the ping interval. |
void |
PushHandler.startPing()
|
void |
PushHandler.stopPing()
|
Uses of XmlBlasterException in org.xmlBlaster.protocol.http.simple |
---|
Methods in org.xmlBlaster.protocol.http.simple that throw XmlBlasterException | |
---|---|
private PullServlet.Position |
PullServlet.getCurrentPosition(javax.servlet.http.HttpServletRequest req)
|
private java.lang.String |
PullServlet.getFeedback(javax.servlet.http.HttpServletRequest req)
|
private I_XmlBlasterAccess |
PullServlet.getXmlBlaster(javax.servlet.http.HttpServletRequest req)
|
private boolean |
PullServlet.isAction(java.lang.String ME,
javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res)
|
Uses of XmlBlasterException in org.xmlBlaster.protocol.jdbc |
---|
Methods in org.xmlBlaster.protocol.jdbc that throw XmlBlasterException | |
---|---|
void |
JdbcDriver.activate()
Activate xmlBlaster access through this protocol. |
static org.w3c.dom.Document |
DBAdapterUtils.createDocument(java.sql.ResultSet rs)
Method declaration |
static org.w3c.dom.Document |
DBAdapterUtils.createDocument(java.lang.String rootnode,
java.lang.String rownode,
int rowlimit,
java.sql.ResultSet rs)
Creates a DOM representation of the result set. |
private org.w3c.dom.Document |
XmlDBAdapter.createEmptyDocument()
|
private org.w3c.dom.Document |
XmlDBAdapter.createUpdateDocument(int rowsAffected,
ConnectionDescriptor descriptor)
|
void |
JdbcDriver.deActivate()
Deactivate xmlBlaster access (standby), no clients can connect. |
(package private) void |
NamedConnectionPool.destroy(java.lang.String dbUrl,
java.lang.String dbUser,
java.lang.String dbPasswd)
Destroy the JDBC connection pool from a specific user. |
(package private) void |
NamedConnectionPool.UnnamedConnectionPool.erase(java.sql.Connection con)
Destroy a JDBC connection (from busy or idle to undef). |
(package private) void |
NamedConnectionPool.eraseConnection(java.lang.String dbUrl,
java.lang.String dbUser,
java.lang.String dbPasswd,
java.sql.Connection con)
Use this method to destroy the given JDBC connection. |
private void |
JdbcDriver.init(Global glob,
AddressServer addressServer,
I_Authenticate authenticate,
I_XmlBlaster xmlBlasterImpl)
Start xmlBlaster jdbc access. |
void |
CallbackJdbcDriver.init(Global glob,
CallbackAddress callbackAddress)
Get callback reference here. |
void |
JdbcDriver.init(Global glob,
PluginInfo pluginInfo)
Enforced by I_Plugin |
java.lang.String |
CallbackJdbcDriver.ping(java.lang.String qos)
Ping to check if callback server is alive. |
java.lang.String |
JdbcDriver.publish(MsgUnitRaw msgUnit)
Send the XML based result set to the client. |
java.lang.String |
I_Publish.publish(MsgUnitRaw msgUnit)
|
private org.w3c.dom.Document |
XmlDBAdapter.queryDB(ConnectionDescriptor descriptor)
Query the database. |
(package private) void |
NamedConnectionPool.UnnamedConnectionPool.release(java.sql.Connection con)
Use this method to release a JDBC connection. |
(package private) void |
NamedConnectionPool.release(java.lang.String dbUrl,
java.lang.String dbUser,
java.lang.String dbPasswd,
java.sql.Connection con)
Use this method to release a JDBC connection. |
(package private) java.sql.Connection |
NamedConnectionPool.UnnamedConnectionPool.reserve()
Use this method to get a JDBC connection. |
(package private) java.sql.Connection |
NamedConnectionPool.reserve(java.lang.String dbUrl,
java.lang.String dbUser,
java.lang.String dbPasswd)
Use this method to get a JDBC connection. |
(package private) java.sql.Connection |
NamedConnectionPool.reserve(java.lang.String dbUrl,
java.lang.String dbUser,
java.lang.String dbPasswd,
long eraseUnusedPoolTimeout,
int maxInstances,
long idleToErase)
Use this method to get a JDBC connection. |
java.lang.String[] |
CallbackJdbcDriver.sendUpdate(MsgUnitRaw[] msgArr)
This sends the SQL query to the JDBC service for processing. |
void |
CallbackJdbcDriver.sendUpdateOneway(MsgUnitRaw[] msgArr)
The oneway variant, without return value. |
void |
JdbcDriver.shutdown()
Instructs jdbc driver to shut down. |
java.lang.Object |
NamedConnectionPool.UnnamedConnectionPool.toCreate(java.lang.String instanceId)
Create a new JDBC connection, the driver must be registered already. |
Uses of XmlBlasterException in org.xmlBlaster.protocol.local |
---|
Methods in org.xmlBlaster.protocol.local that throw XmlBlasterException | |
---|---|
private I_CallbackExtended |
CallbackLocalDriver.getCallback()
|
void |
CallbackLocalDriver.init(Global glob,
CallbackAddress callbackAddress)
Get callback reference here (== connectLowLevel()). |
java.lang.String |
CallbackLocalDriver.ping(java.lang.String qos)
Ping to check if callback server is alive. |
java.lang.String[] |
CallbackLocalDriver.sendUpdate(MsgUnitRaw[] msgArr)
This sends the update to the client. |
void |
CallbackLocalDriver.sendUpdateOneway(MsgUnitRaw[] msgArr)
The oneway variant, without return value. |
Uses of XmlBlasterException in org.xmlBlaster.protocol.rmi |
---|
Methods in org.xmlBlaster.protocol.rmi that throw XmlBlasterException | |
---|---|
void |
RmiDriver.activate()
Activate xmlBlaster access through this protocol. |
private void |
RmiDriver.bindToRegistry()
Publish the RMI xmlBlaster server to rmi registry. |
java.lang.String |
I_AuthServer.connect(java.lang.String qos_literal)
|
java.lang.String |
AuthServerImpl.connect(java.lang.String qos_literal)
Login to xmlBlaster. |
private void |
RmiUrl.createInetAddress()
|
void |
RmiDriver.deActivate()
Deactivate xmlBlaster access (standby), no clients can connect. |
void |
I_AuthServer.disconnect(java.lang.String sessionId,
java.lang.String qos_literal)
|
void |
AuthServerImpl.disconnect(java.lang.String sessionId,
java.lang.String qos_literal)
|
java.lang.String[] |
XmlBlasterImpl.erase(java.lang.String sessionId,
java.lang.String xmlKey_literal,
java.lang.String qos_literal)
|
java.lang.String[] |
I_XmlBlaster.erase(java.lang.String sessionId,
java.lang.String xmlKey_literal,
java.lang.String eraseQoS_literal)
Delete messages. |
MsgUnitRaw[] |
XmlBlasterImpl.get(java.lang.String sessionId,
java.lang.String xmlKey_literal,
java.lang.String qos_literal)
Synchronous access |
MsgUnitRaw[] |
I_XmlBlaster.get(java.lang.String sessionId,
java.lang.String xmlKey_literal,
java.lang.String getQoS_literal)
Synchronous access a message. |
private I_XmlBlasterCallback |
CallbackRmiDriver.getCb()
|
private void |
RmiDriver.init(Global glob,
AddressServer addressServer,
I_Authenticate authenticate,
I_XmlBlaster xmlBlasterImpl)
Start xmlBlaster RMI access. |
void |
CallbackRmiDriver.init(Global glob,
CallbackAddress callbackAddress)
Get callback reference here. |
void |
RmiDriver.init(Global glob,
PluginInfo pluginInfo)
This method is called by the PluginManager (enforced by I_Plugin). |
private void |
RmiUrl.parse(java.lang.String url)
|
java.lang.String |
CallbackRmiDriver.ping(java.lang.String qos)
Ping to check if callback server is alive. |
java.lang.String |
XmlBlasterImpl.publish(java.lang.String sessionId,
MsgUnitRaw msgUnit)
|
java.lang.String |
I_XmlBlaster.publish(java.lang.String sessionId,
MsgUnitRaw msgUnit)
Publish a message. |
java.lang.String[] |
XmlBlasterImpl.publishArr(java.lang.String sessionId,
MsgUnitRaw[] msgUnitArr)
|
java.lang.String[] |
I_XmlBlaster.publishArr(java.lang.String sessionId,
MsgUnitRaw[] msgUnitArr)
Publish messages. |
java.lang.String[] |
CallbackRmiDriver.sendUpdate(MsgUnitRaw[] msgArr)
This sends the update to the client. |
void |
CallbackRmiDriver.sendUpdateOneway(MsgUnitRaw[] msgArr)
The oneway variant, without return value. |
void |
RmiDriver.shutdown()
Instructs RMI to shut down. |
java.lang.String |
XmlBlasterImpl.subscribe(java.lang.String sessionId,
java.lang.String xmlKey_literal,
java.lang.String qos_literal)
Subscribe to messages |
java.lang.String |
I_XmlBlaster.subscribe(java.lang.String sessionId,
java.lang.String xmlKey_literal,
java.lang.String subscribeQoS_literal)
Subscribe to messages. |
java.lang.String[] |
XmlBlasterImpl.unSubscribe(java.lang.String sessionId,
java.lang.String xmlKey_literal,
java.lang.String qos_literal)
|
java.lang.String[] |
I_XmlBlaster.unSubscribe(java.lang.String sessionId,
java.lang.String xmlKey_literal,
java.lang.String unSubscribeQos_literal)
Unsubscribe from messages. |
java.lang.String[] |
I_XmlBlasterCallback.update(java.lang.String cbSessionId,
MsgUnitRaw[] msgUnitArr)
|
Constructors in org.xmlBlaster.protocol.rmi that throw XmlBlasterException | |
---|---|
RmiUrl(Global glob,
AddressBase address)
Extract "hostname" and "port" from environment, if not found use the local host for hostname and the default port 8080. |
|
RmiUrl(Global glob,
AddressBase address,
boolean isLocal,
int defaultServerPort)
Extract hostname and port from environment, if not found use the local host for hostname and the given default port (usually RmiDriver.DEFAULT_REGISTRY_PORT=1099). |
|
RmiUrl(Global glob,
java.lang.String url)
Parse the given url. |
|
RmiUrl(Global glob,
java.lang.String hostname,
int port)
|
|
XmlBlasterImpl(Global glob,
AddressServer addressServer,
I_XmlBlaster blasterNative)
|
Uses of XmlBlasterException in org.xmlBlaster.protocol.socket |
---|
Methods in org.xmlBlaster.protocol.socket that throw XmlBlasterException | |
---|---|
void |
SocketDriver.activate()
Activate xmlBlaster access through this protocol. |
void |
SocketCbConnection.connectLowlevel(CallbackAddress callbackAddress)
Connects to clients callback server with one socket connection. |
java.net.Socket |
SocketCbConnection.getSocket()
Get the raw socket handle |
private void |
SocketDriver.init(Global glob,
AddressServer addressServer,
I_Authenticate authenticate,
I_XmlBlaster xmlBlasterImpl)
Start xmlBlaster SOCKET access. |
void |
CallbackSocketDriver.init(Global glob,
CallbackAddress callbackAddress)
|
void |
SocketDriver.init(Global glob,
PluginInfo pluginInfo)
This method is called by the PluginManager (enforced by I_Plugin). |
java.lang.String |
SocketCbConnection.ping(java.lang.String qos)
Check the clients cb server. |
java.lang.String |
CallbackSocketDriver.ping(java.lang.String qos)
Ping to check if callback server is alive. |
java.lang.String[] |
CallbackSocketDriver.sendUpdate(MsgUnitRaw[] msgArr)
This sends the update to the client. |
void |
CallbackSocketDriver.sendUpdateOneway(MsgUnitRaw[] msgArr)
The oneway variant, without return value. |
void |
SocketDriver.shutdown()
Close the listener port, the driver shuts down. |
java.lang.String |
SocketCbConnection.toXml()
Dump of the state, remove in future. |
java.lang.String |
SocketCbConnection.toXml(java.lang.String extraOffset)
Dump of the state, remove in future. |
Constructors in org.xmlBlaster.protocol.socket that throw XmlBlasterException | |
---|---|
SocketCbConnection(Global glob)
Connect to xmlBlaster using plain socket with native message format. |
Uses of XmlBlasterException in org.xmlBlaster.protocol.stomp |
---|
Fields in org.xmlBlaster.protocol.stomp declared as XmlBlasterException | |
---|---|
XmlBlasterException |
RequestHolder.xmlBlasterException
|
Methods in org.xmlBlaster.protocol.stomp with parameters of type XmlBlasterException | |
---|---|
private void |
XbStompInOutBridge.sendExeption(org.codehaus.stomp.StompFrame command,
XmlBlasterException e)
|
Methods in org.xmlBlaster.protocol.stomp that throw XmlBlasterException | |
---|---|
void |
XbStompDriver.activate()
|
private void |
SocketUrl.createInetAddress()
|
void |
XbStompInOutBridge.init(Global glob,
CallbackAddress addressConfig)
|
void |
XbStompInOutBridge.init(Global glob,
PluginInfo pluginInfo)
|
void |
XbStompDriver.init(Global glob,
PluginInfo pluginInfo)
|
private void |
SocketUrl.parse(java.lang.String url)
|
java.lang.String |
XbStompInOutBridge.ping(java.lang.String qos)
|
private java.lang.String |
XbStompInOutBridge.sendFrameAndWait(org.codehaus.stomp.StompFrame frame,
MethodName methodName)
|
private void |
XbStompInOutBridge.sendFrameNoWait(org.codehaus.stomp.StompFrame frame)
|
private void |
XbStompInOutBridge.sendResponse(org.codehaus.stomp.StompFrame command)
|
java.lang.String[] |
XbStompInOutBridge.sendUpdate(MsgUnitRaw[] msgArr)
|
void |
XbStompInOutBridge.sendUpdateOneway(MsgUnitRaw[] msgArr)
|
void |
XbStompDriver.shutdown()
|
Constructors in org.xmlBlaster.protocol.stomp that throw XmlBlasterException | |
---|---|
SocketUrl(Global glob,
AddressBase address)
Extract "hostname" and "port" from environment, if not found use the local host for hostname and the default port 61613. |
|
SocketUrl(Global glob,
AddressBase address,
boolean isLocal,
int defaultServerPort)
Extract hostname and port from environment, if not found use the local host for hostname and the given default port (usually ExecutorBase.DEFAULT_SERVER_PORT=61613). |
|
SocketUrl(Global glob,
java.lang.String url)
Parse the given url. |
|
SocketUrl(Global glob,
java.lang.String hostname,
int port)
|
Uses of XmlBlasterException in org.xmlBlaster.protocol.xmlrpc |
---|
Methods in org.xmlBlaster.protocol.xmlrpc that throw XmlBlasterException | |
---|---|
void |
XmlRpcDriver.activate()
Activate xmlBlaster access through this protocol. |
private void |
XmlRpcUrl.createInetAddress()
|
java.util.Vector |
XmlBlasterImpl.erase(java.lang.String sessionId,
java.lang.String xmlKey_literal,
java.lang.String qos_literal)
|
java.util.Vector |
XmlBlasterImpl.get(java.lang.String sessionId,
java.lang.String xmlKey_literal,
java.lang.String qos_literal)
|
java.util.Vector |
XmlBlasterImpl.get(java.lang.String sessionId,
java.lang.String xmlKey_literal,
java.lang.String qos_literal,
java.lang.String asString)
Synchronous access |
private void |
XmlRpcDriver.init(Global glob,
AddressServer addressServer,
I_Authenticate authenticate,
I_XmlBlaster xmlBlasterImpl)
Start xmlBlaster XMLRPC access. |
void |
CallbackXmlRpcDriverSingleChannel.init(Global global,
CallbackAddress cbAddress)
Get callback reference here. |
void |
CallbackXmlRpcDriver.init(Global global,
CallbackAddress cbAddress)
Get callback reference here. |
void |
XmlRpcDriver.init(Global glob,
PluginInfo pluginInfo)
This method is called by the PluginManager (enforced by I_Plugin). |
java.lang.String |
AuthenticateImpl.login(java.lang.String loginName,
java.lang.String passwd,
java.lang.String qos_literal,
java.lang.String sessionId)
Deprecated. Use connect() instead |
java.lang.String |
AuthenticateImpl.logout(java.lang.String sessionId)
Deprecated. Use disconnect() instead |
private void |
XmlRpcUrl.parse(java.lang.String url)
|
java.lang.String |
CallbackXmlRpcDriverSingleChannel.ping(java.lang.String qos)
Ping to check if callback server is alive. |
java.lang.String |
CallbackXmlRpcDriver.ping(java.lang.String qos)
Ping to check if callback server is alive. |
java.lang.String |
XmlBlasterImpl.ping(java.lang.String qos)
Test the xml-rpc connection and if xmlBlaster is available for requests. |
void |
CallbackXmlRpcDriver.postInit(java.lang.String sessionId,
XmlBlasterImpl xblImpl,
boolean singleChannel,
boolean useCDATA)
|
java.lang.String |
XmlBlasterImpl.publish(java.lang.String sessionId,
java.lang.String xmlKey_literal,
byte[] content,
java.lang.String publishQos_literal)
|
java.lang.String |
XmlBlasterImpl.publish(java.lang.String sessionId,
java.lang.String xmlKey_literal,
java.lang.String content,
java.lang.String publishQos_literal)
This variant allows to publish simple string based messages (the content is a string). |
java.lang.String |
XmlBlasterImpl.publish(java.lang.String sessionId,
java.util.Vector msgUnitWrap)
|
java.util.Vector |
XmlBlasterImpl.publishArr(java.lang.String sessionId,
java.lang.Object[] msgUnitArrWrap)
|
void |
CallbackXmlRpcDriverSingleChannel.register(java.lang.String sessionId_,
XmlBlasterImpl xblImpl_)
|
void |
XmlBlasterImpl.registerSessionId(java.lang.String sessionId,
boolean singleChannel,
boolean useCDATA)
|
void |
CallbackXmlRpcDriverSingleChannel.respan(java.lang.String location)
|
java.lang.String[] |
CallbackXmlRpcDriverSingleChannel.sendUpdate(MsgUnitRaw[] msgArr)
This sends the update to the client. |
java.lang.String[] |
CallbackXmlRpcDriver.sendUpdate(MsgUnitRaw[] msgArr)
This sends the update to the client. |
void |
CallbackXmlRpcDriverSingleChannel.sendUpdateOneway(MsgUnitRaw[] msgArr)
The oneway variant, without return value. |
void |
CallbackXmlRpcDriver.sendUpdateOneway(MsgUnitRaw[] msgArr)
The oneway variant, without return value. |
void |
XmlRpcDriver.shutdown()
Instructs XMLRPC driver to shut down. |
java.lang.String |
XmlBlasterImpl.subscribe(java.lang.String sessionId,
java.lang.String xmlKey_literal,
java.lang.String qos_literal)
Subscribe to messages. |
java.lang.String |
XmlBlasterImpl.toXml(java.lang.String extraOffset)
|
java.util.Vector |
XmlBlasterImpl.unSubscribe(java.lang.String sessionId,
java.lang.String xmlKey_literal,
java.lang.String qos_literal)
void return is not allowed so we return an empty string instead |
java.lang.Object[] |
XmlBlasterImpl.updateRequest(java.lang.String sessionId,
java.lang.String waitTimeTxt,
java.lang.String asString)
Synchronous request for updates (simulates an asynchronous update) |
java.lang.Object |
AuthenticateImpl.xmlScriptInvoke(java.lang.String literal)
invokeSubscribe to messages. |
java.lang.Object |
XmlBlasterImpl.xmlScriptInvoke(java.lang.String literal)
invokeSubscribe to messages. |
Constructors in org.xmlBlaster.protocol.xmlrpc that throw XmlBlasterException | |
---|---|
AuthenticateImpl(Global glob,
XmlRpcDriver driver,
I_Authenticate authenticate,
XmlBlasterImpl xblImpl)
Constructor. |
|
XmlBlasterImpl(Global glob,
XmlRpcDriver driver,
I_XmlBlaster blasterNative)
Constructor. |
|
XmlRpcUrl(Global glob,
AddressBase address)
Extract "hostname" and "port" from environment, if not found use the local host for hostname and the default port 8080. |
|
XmlRpcUrl(Global glob,
AddressBase address,
boolean isLocal,
int defaultServerPort)
Extract hostname and port from environment, if not found use the local host for hostname and the given default port (usually XmlRpcDriver.DEFAULT_HTTP_PORT=8080). |
|
XmlRpcUrl(Global glob,
java.lang.String url)
Parse the given url. |
|
XmlRpcUrl(Global glob,
java.lang.String hostname,
int port,
java.lang.String path)
|
Uses of XmlBlasterException in org.xmlBlaster.test |
---|
Methods in org.xmlBlaster.test that throw XmlBlasterException | |
---|---|
static MsgUnit[] |
Util.adminGet(Global glob,
java.lang.String command)
Do an administrative command to the server with a temporaty login session. |
Msg |
MsgInterceptor.getMsg(java.lang.String oid,
java.lang.String state)
Access the updated message filtered by the given oid and state. |
java.lang.String |
MsgInterceptor.update(java.lang.String cbSessionId,
UpdateKey updateKey,
byte[] content,
UpdateQos updateQos)
This is the callback method (I_Callback) invoked from xmlBlaster It directly calls the update method from the testsuite (delegation) |
java.lang.String |
MsgInterceptor.update(java.lang.String cbSessionId,
UpdateKey updateKey,
java.io.InputStream is,
UpdateQos updateQos)
This is the callback method (I_StreamingCallback) invoked from xmlBlaster It directly calls the update method from the testsuite (delegation) |
Uses of XmlBlasterException in org.xmlBlaster.test.admin |
---|
Methods in org.xmlBlaster.test.admin that throw XmlBlasterException | |
---|---|
private void |
TestAdminGet.doActivateDispatch(boolean doDispatch)
|
void |
TestAdminGet.doPublish(int counter,
java.lang.String oid)
TEST: Construct a message and publish it. |
java.lang.String |
TestAdminGet.update(java.lang.String cbSessionId,
UpdateKey updateKey,
byte[] content,
UpdateQos updateQos)
|
Uses of XmlBlasterException in org.xmlBlaster.test.authentication |
---|
Methods in org.xmlBlaster.test.authentication that throw XmlBlasterException | |
---|---|
java.lang.String |
TestHtpasswdAuthorization.update(java.lang.String cbSessionId,
UpdateKey updateKey,
byte[] content,
UpdateQos updateQos)
|
Uses of XmlBlasterException in org.xmlBlaster.test.classtest |
---|
Methods in org.xmlBlaster.test.classtest that throw XmlBlasterException | |
---|---|
ConnectReturnQos |
XmlScriptInterpreterTest.TestAccessor.connect(ConnectQos qos,
I_Callback callback)
|
EraseReturnQos[] |
XmlScriptInterpreterTest.TestAccessor.erase(java.lang.String key,
java.lang.String qos)
|
MsgUnit[] |
XmlScriptInterpreterTest.TestAccessor.get(java.lang.String key,
java.lang.String qos)
|
private MsgQosData |
RunLevelTest.getQosData(java.lang.String attrVal)
|
PublishReturnQos |
XmlScriptInterpreterTest.TestAccessor.publish(MsgUnit msgUnit)
|
PublishReturnQos[] |
XmlScriptInterpreterTest.TestAccessor.publishArr(MsgUnit[] msgUnits)
|
SubscribeReturnQos |
XmlScriptInterpreterTest.TestAccessor.subscribe(java.lang.String key,
java.lang.String qos)
|
void |
FileLocatorTest.testFileAccess()
|
void |
FileLocatorTest.testFileInExternalJarFile()
This test must currently be done manually, the file to be found must reside in a jar file outside the jar files normally used by xmlBlaster. |
void |
FileLocatorTest.testHttpAccess()
|
java.lang.Object |
TestPoolManager.TestPool.toCreate(java.lang.String instanceId)
|
UnSubscribeReturnQos[] |
XmlScriptInterpreterTest.TestAccessor.unSubscribe(java.lang.String key,
java.lang.String qos)
|
java.lang.String |
EventPluginTest.update(java.lang.String cbSessionId,
UpdateKey updateKey,
byte[] content,
UpdateQos updateQos)
here come the updates for the test client. |
Uses of XmlBlasterException in org.xmlBlaster.test.classtest.queue |
---|
Methods in org.xmlBlaster.test.classtest.queue that throw XmlBlasterException | |
---|---|
private int |
I_QueueTest.assertCheckForTakeLowest(I_Queue queue,
int numEntries,
long numBytes,
I_QueueEntry refEntry,
boolean leaveOne,
I_QueueEntry[] origEntries,
int entriesLeft,
int currentEntries,
long size)
returns the number of entries left in the queue after this processing operation |
void |
CacheQueueTest.availability()
when queue available: -fill queue with 3 persistent and 2 transient messages -> RAM:5 JDBC:3 - queue is made unavailable - queue is filled with 2 persistent and 3 transient msg -> RAM:10 JDBC:3 (since no comm) - peek and then remove all available entries: -> RAM:0 JDBC:3 (since no comm) |
StorageId |
CacheQueueTest.config(long maxEntries,
long maxEntriesCache,
long maxBytes,
long maxBytesCache)
|
protected void |
DesignQueues2008InitialTest.TestInfo.doInit(Global glob,
PluginInfo plugInfo)
|
void |
QueueServerEntryTest.historyEntry()
|
void |
JdbcQueueTest.initialEntries()
|
void |
JdbcQueueTest.multiplePut()
|
void |
QueueExtendedTest.performanceMultiPut(int numOfQueues,
int numOfMsg,
int sizeOfMsg)
|
void |
QueueExtendedTest.performancePut(int numOfQueues,
int numOfMsg,
int sizeOfMsg)
|
void |
QueueThreadingTest.performancePutMultiThread(int numOfQueues,
int numOfMsg,
int sizeOfMsg)
|
void |
CacheQueueTest.putPeekRemove(I_Queue refQueue)
|
void |
JdbcQueueTest.putWithBreak()
|
void |
CacheQueueDisconnectTest.putWithBreak()
|
void |
QueueServerEntryTest.updateEntry()
|
Constructors in org.xmlBlaster.test.classtest.queue that throw XmlBlasterException | |
---|---|
QueueThread(Global glob,
java.lang.String name,
I_Queue queue,
java.util.logging.Logger log,
int sweeps,
int sizeOfMsg)
|
Uses of XmlBlasterException in org.xmlBlaster.test.client |
---|
Methods in org.xmlBlaster.test.client that throw XmlBlasterException | |
---|---|
void |
TestFailSafePing.doPublish()
TEST: Construct a message and publish it. |
private void |
TestStreamMessages.doPublish(byte[] content,
int maxChunkSize,
boolean doInterrupt,
java.lang.String name)
|
void |
TestPersistentSession.doPublish(int counter)
TEST: Construct a message and publish it. |
void |
TestFailSafe.doPublish(int counter)
TEST: Construct a message and publish it. |
void |
TestPtPPersistent.doPublish(int counter,
java.lang.String oid,
boolean doGc,
long sleep)
TEST: Construct a message and publish it. |
void |
TestHistoryZero.doPublish(java.lang.String oid,
int counter,
long numHistory)
TEST: Construct a message and publish it. |
MsgUnit |
TestXmlBlasterAccessMultiThreaded.doPublish(java.lang.String oid,
java.lang.String content)
TEST: Construct a message and publish it. |
java.lang.String |
TestFilePollerPlugin.update(java.lang.String cbSessionId,
UpdateKey updateKey,
byte[] content,
UpdateQos updateQos)
|
java.lang.String |
TestCommand.update(java.lang.String cbSessionId,
UpdateKey updateKey,
byte[] content,
UpdateQos updateQos)
|
java.lang.String |
TestPersistentSession.update(java.lang.String cbSessionId,
UpdateKey updateKey,
byte[] content,
UpdateQos updateQos)
|
java.lang.String |
TestStreamMessages.update(java.lang.String cbSessionId,
UpdateKey updateKey,
java.io.InputStream is,
UpdateQos updateQos)
|
Uses of XmlBlasterException in org.xmlBlaster.test.cluster |
---|
Methods in org.xmlBlaster.test.cluster that throw XmlBlasterException | |
---|---|
I_XmlBlasterAccess |
ServerHelper.connect(Global glob,
I_Callback cb)
Connect in fail save mode to a server node (as given in glob.getId()) |
Uses of XmlBlasterException in org.xmlBlaster.test.contrib |
---|
Methods in org.xmlBlaster.test.contrib that throw XmlBlasterException | |
---|---|
protected void |
TestInfo.OwnGlobalInfo.doInit(Global global,
PluginInfo pluginInfo)
|
Uses of XmlBlasterException in org.xmlBlaster.test.contrib.filewatcher |
---|
Methods in org.xmlBlaster.test.contrib.filewatcher that throw XmlBlasterException | |
---|---|
protected void |
FileWatcherFeeder.doInit(Global global,
PluginInfo pluginInfo)
|
java.lang.String |
TestFileWatcherPlugin.update(java.lang.String cbSessionId,
UpdateKey updateKey,
byte[] content,
UpdateQos updateQos)
|
Uses of XmlBlasterException in org.xmlBlaster.test.qos |
---|
Methods in org.xmlBlaster.test.qos with parameters of type XmlBlasterException | |
---|---|
void |
TestCorbaThreads.lostConnection(XmlBlasterException xmlBlasterException)
|
Methods in org.xmlBlaster.test.qos that throw XmlBlasterException | |
---|---|
java.lang.String |
TestUpdateClientException.update(java.lang.String cbSessionId,
UpdateKey updateKey,
byte[] content,
UpdateQos updateQos)
This is the callback method invoked from xmlBlaster delivering us a new asynchronous message. |
Uses of XmlBlasterException in org.xmlBlaster.test.util |
---|
Fields in org.xmlBlaster.test.util declared as XmlBlasterException | |
---|---|
private XmlBlasterException |
Client.updateException
|
Methods in org.xmlBlaster.test.util with parameters of type XmlBlasterException | |
---|---|
void |
Client.setUpdateException(XmlBlasterException ex)
Sets an exception to be thrown the next time an update event comes. |
Methods in org.xmlBlaster.test.util that throw XmlBlasterException | |
---|---|
void |
PtPDestination.init(boolean wantsPtP,
boolean shutdownCb,
long cbMaxEntries,
long cbMaxEntriesCache,
long subjMaxEntries,
long subjMaxEntriesCache)
|
void |
Client.init(java.lang.String publishOid,
java.lang.String subscribeOid,
boolean consumable,
int session)
Initializes this client which either can be a publisher, a subscriber or both depending on the parameters passed here. |
void |
Client.publish(java.lang.String content)
Publishes one entry on the oid specified by the init method. |
void |
Client.shutdown(boolean doEraseTopic)
Disconnect the client from xmlBlaster with an optional previous deletion of the publishing topic. |
static boolean |
Client.shutdownCb(I_XmlBlasterAccess conn,
Client.Shutdown whatToDo)
Returns true if it shot down, false if it did a leave Server. |
java.lang.String |
Client.update(java.lang.String cbSessionId,
UpdateKey updateKey,
byte[] content,
UpdateQos updateQos)
Enforced by I_Callback. |
Uses of XmlBlasterException in org.xmlBlaster.util |
---|
Fields in org.xmlBlaster.util declared as XmlBlasterException | |
---|---|
(package private) XmlBlasterException |
StopParseException.e
|
private XmlBlasterException |
AttributeSaxFactory.ex
|
Methods in org.xmlBlaster.util that return XmlBlasterException | |
---|---|
static XmlBlasterException |
XmlBlasterException.convert(Global glob,
ErrorCode errorCodeEnum,
java.lang.String location,
java.lang.String message,
java.lang.Throwable throwable)
|
static XmlBlasterException |
XmlBlasterException.convert(Global glob,
java.lang.String location,
java.lang.String message,
java.lang.Throwable throwable)
If throwable is of type XmlBlasterException it is just casted (and location/message are ignored) else if throwable is one if IllegalArgumentException, NullpointerException or OutOfMemoryError it is converted to an XmlBlasterException with corresponding ErrorCode otherwise the ErrorCode is INTERNAL_UNKNOWN |
XmlBlasterException |
StopParseException.getXmlBlasterException()
|
static XmlBlasterException |
XmlBlasterException.parseByteArr(Global glob,
byte[] data)
|
static XmlBlasterException |
XmlBlasterException.parseByteArr(Global glob,
byte[] data,
ErrorCode fallback)
Serialize the complete exception. |
static XmlBlasterException |
XmlBlasterException.parseToString(Global glob,
java.lang.String toString,
ErrorCode fallback)
Parsing what toString() produced |
static XmlBlasterException |
XmlBlasterException.tranformCallbackException(XmlBlasterException e)
|
Methods in org.xmlBlaster.util with parameters of type XmlBlasterException | |
---|---|
void |
I_XmlBlasterExceptionHandler.newException(XmlBlasterException e)
This will be called from XmlBlasterException constructor. |
static XmlBlasterException |
XmlBlasterException.tranformCallbackException(XmlBlasterException e)
|
Methods in org.xmlBlaster.util that throw XmlBlasterException | |
---|---|
java.lang.String |
Global.accessFromInternalHttpServer(Address address,
java.lang.String urlPath,
boolean verbose)
Access the xmlBlaster internal HTTP server and download the requested path. |
Timestamp |
I_TimeoutManager.addOrRefreshTimeoutListener(I_Timeout listener,
long delay,
java.lang.Object userData,
Timestamp key)
Checks if key is null -> addTimeoutListener else refreshTimeoutListener() in a thread save way. |
Timestamp |
Timeout.addOrRefreshTimeoutListener(I_Timeout listener,
long delay,
java.lang.Object userData,
Timestamp key)
Checks if key is null -> addTimeoutListener else refreshTimeoutListener() in a thread save way. |
Timestamp |
TimeoutPooled.addOrRefreshTimeoutListener(I_Timeout listener,
long delay,
java.lang.Object userData,
Timestamp key)
|
static void |
FileLocator.appendToFile(java.lang.String outName,
java.lang.String str)
Append data from into a file. |
java.util.logging.Level |
Global.changeLogLevel(java.lang.String loggerName,
java.util.logging.Level level)
Changes the given logger to given level. |
int |
EmbeddedXmlBlaster.changeRunlevel(int newRunlevel,
boolean force)
Change the run level to the given newRunlevel. |
void |
XmlToDom.create(java.lang.String xmlKey_literal)
Creates the DOM tree, this is done delayed when the first access is done. |
DispatchConnectionsHandler |
Global.createClientDispatchConnectionsHandler(ClientDispatchManager dispatchManager)
Returns the client access layer implementations 'ClientDispatchConnectionsHandler' |
static void |
XmlBlasterSecurityManager.createSecurityManager(Global glob)
Create and install a security manager. |
byte[] |
XslTransformer.doXSLTransformation(byte[] xmlLiteral)
|
java.lang.String |
FileLocator.findFile(java.lang.String[] path,
java.lang.String filename)
Searches in the given path for the specified filename. |
java.lang.String |
FileLocator.findFile(java.lang.String path,
java.lang.String filename)
finds the file in the given path. |
java.lang.String |
FileLocator.findFile(java.lang.String path,
java.lang.String separator,
java.lang.String filename)
finds the file in the given path. |
boolean |
Global.get(java.lang.String shortKey,
boolean defaultValue,
java.util.Properties map,
I_PluginConfig pluginConfig)
Checks PluginInfo as well. |
double |
Global.get(java.lang.String shortKey,
double defaultValue,
java.util.Properties map,
I_PluginConfig pluginConfig)
|
int |
Global.get(java.lang.String shortKey,
int defaultValue,
java.util.Properties map,
I_PluginConfig pluginConfig)
|
long |
Global.get(java.lang.String shortKey,
long defaultValue,
java.util.Properties map,
I_PluginConfig pluginConfig)
|
java.lang.String |
Global.get(java.lang.String shortKey,
java.lang.String defaultValue,
java.util.Properties map,
I_PluginConfig pluginConfig)
It searches for the given property. |
java.lang.String |
MsgUnit.getContentStr()
Convenience method to get the raw content as a string, the encoding is UTF-8 if not specified by clientProperty Constants.CLIENTPROPERTY_CONTENT_CHARSET , |
javax.xml.parsers.DocumentBuilderFactory |
Global.getDocumentBuilderFactory()
Get the configured DocumentBuilderFactoryFactory. |
HttpIORServer |
Global.getHttpServer()
Access the http server which allows bootstrapping the CORBA IOR |
JmxWrapper |
Global.getJmxWrapper()
|
java.util.logging.Level |
Global.getLogLevel(java.lang.String loggerName)
Get the current loglevel. |
static java.util.Enumeration |
XmlNotPortable.getNodeSetFromXPath(java.lang.String expression,
org.w3c.dom.Document document)
Do XPath query on DOM |
java.util.Map |
Global.getPersistentMap(java.lang.String id)
Returns a persistent map. |
org.w3c.dom.NamedNodeMap |
XmlToDom.getRootAttributes()
The syntax of the XmlKey_literal String. |
org.w3c.dom.Node |
XmlToDom.getRootNode()
Fills the DOM tree, and assures that a valid |
javax.xml.parsers.SAXParserFactory |
Global.getSAXParserFactory()
Get the configured SAXParserFactory. |
protected void |
SaxHandlerBase.init(org.xml.sax.InputSource inputSource)
|
protected void |
XmlQoSBase.init(java.lang.String xmlLiteral)
|
protected void |
SaxHandlerBase.init(java.lang.String xmlLiteral)
|
protected void |
SaxHandlerBase.init(java.lang.String xmlSource,
org.xml.sax.InputSource inputSource)
|
private java.io.File |
FileDumper.initDirectory(java.io.File parent,
java.lang.String propName,
java.lang.String dirName)
Returns the specified directory or null or if needed it will create one |
private java.net.URL |
Global.initLogManager(java.lang.String[] args)
Configure JDK 1.4 java.util.logging (only once per JVM-Classloader, multiple Global instances share the same). |
boolean |
Global.isRegisteredMBean(ContextNode ctxNode)
|
private void |
XmlToDom.loadDomTree()
Fills the DOM tree, and assures that a valid |
static void |
XmlBuffer.main(java.lang.String[] args)
|
static void |
Base64.main(java.lang.String[] args)
java org.xmlBlaster.util.Base64 -file MyFile.jpg java org.xmlBlaster.util.Base64 HelloWorld -> SGVsbG9Xb3JsZA== java org.xmlBlaster.util.Base64 -decodeFile MyFile.base64 java org.xmlBlaster.util.Base64 -decode Q2lBOGEyVjVJRzlwWkQwblNHVnNiRzhuSUdOdmJuUmxiblJOYVcxbFBTZDBaWGgwTDNodGJDY2dZMjl1ZEdWdWRFMXBiV1ZGZUhSbGJtUmxaRDBuTVM0d0p6NEtJQ0E4YjNKbkxuaHRiRUpzWVhOMFpYSStQR1JsYlc4dE16NDhMMlJsYlc4dE16NDhMMjl5Wnk1NGJXeENiR0Z6ZEdWeVBnb2dQQzlyWlhrKw== |
org.w3c.dom.Node |
I_MergeDomNode.mergeNode(org.w3c.dom.Node newNode)
|
void |
XmlToDom.mergeRootNode(I_MergeDomNode merger)
Should be called by publish() to merge the local XmlKey DOM into the big xmlBlaster DOM tree |
private void |
SaxHandlerBase.parse(org.xml.sax.InputSource xmlData)
Does the actual parsing |
private void |
SaxHandlerBase.parse(java.lang.String xmlData)
|
static org.w3c.dom.Document |
XmlToDom.parseToDomTree(Global glob,
java.lang.String xmlKey_literal)
|
java.lang.String[] |
Global.peekQueueMessagesToFile(I_Queue queue,
int numOfEntries,
java.lang.String path,
java.lang.String label)
Dumps given amount of messages from queue to file. |
java.lang.StringBuffer |
XmlToDom.printOn()
Dump state of this object into XML. |
java.lang.StringBuffer |
XmlToDom.printOn(java.lang.String extraOffset)
Dump state of this object into XML. |
void |
SimpleXbQueue.push(java.lang.Object obj)
Add a unit to the beginning of the queue. |
java.lang.String |
FileLocator.read(java.net.URL url)
|
static java.lang.String |
FileLocator.readAsciiFile(java.lang.String fileName)
Read a file into String . |
static java.lang.String |
FileLocator.readAsciiFile(java.lang.String parent,
java.lang.String child)
Read a file into String . |
static byte[] |
FileLocator.readFile(java.io.File f)
|
static byte[] |
FileLocator.readFile(java.lang.String fileName)
Read a file into byte[] . |
static byte[] |
FileLocator.readFile(java.lang.String parent,
java.lang.String fileName)
Read a file into byte[] . |
Timestamp |
I_TimeoutManager.refreshTimeoutListener(Timestamp key,
long delay)
Refresh a listener before the timeout happened. |
Timestamp |
Timeout.refreshTimeoutListener(Timestamp key,
long delay)
Refresh a listener before the timeout happened. |
Timestamp |
TimeoutPooled.refreshTimeoutListener(Timestamp key,
long delay)
|
private Timestamp |
TimeoutPooled.refreshTimeoutListener(Timestamp key,
long delay,
boolean throwExceptionIfMissing)
|
JmxMBeanHandle |
Global.registerMBean(ContextNode contextNode,
java.lang.Object mbean)
JMX support. |
static void |
FileLocator.writeFile(java.lang.String name,
byte[] arr)
Write data from StringBuffer into a file. |
static void |
FileLocator.writeFile(java.lang.String name,
java.lang.String str)
Write data from StringBuffer into a file. |
static void |
FileLocator.writeFile(java.lang.String parent,
java.lang.String child,
byte[] arr)
Write data from byte[] into a file. |
Constructors in org.xmlBlaster.util with parameters of type XmlBlasterException | |
---|---|
StopParseException(XmlBlasterException e)
Use this constructor to stop parsing when an exception occurred. |
Constructors in org.xmlBlaster.util that throw XmlBlasterException | |
---|---|
FileDumper(Global glob)
|
|
FileDumper(Global glob,
java.lang.String dirName,
boolean forceBase64)
|
|
MsgUnit(Global glob,
MsgUnitRaw msgUnitRaw,
MethodName methodName)
& |