xmlBlaster 2.2.0 API

org.xmlBlaster.protocol
Interface I_Driver

All Superinterfaces:
I_Plugin
All Known Implementing Classes:
CorbaDriver, EmailDriver, JdbcDriver, RmiDriver, SocketDriver, XbStompDriver, XmlRpcDriver

public interface I_Driver
extends I_Plugin

This interface hides the real protocol used to invoke xmlBlaster.

Version:
$Revision: 1.12 $
Author:
xmlBlaster@marcelruff.info

Method Summary
 void activate()
          Activate xmlBlaster access through this protocol so that a client can contact us.
 void deActivate()
          Deactivate xmlBlaster access (standby), no clients can connect.
 java.lang.String getName()
          Get a human readable name of this driver
 java.lang.String getProtocolId()
          Access the xmlBlaster internal name of the protocol driver.
 java.lang.String getRawAddress()
          Return the address how to access this driver.
 java.lang.String usage()
          The startup usage text.
 
Methods inherited from interface org.xmlBlaster.util.plugin.I_Plugin
getType, getVersion, init, shutdown
 

Method Detail

getName

java.lang.String getName()
Get a human readable name of this driver


getProtocolId

java.lang.String getProtocolId()
Access the xmlBlaster internal name of the protocol driver.

Returns:
e.g. "IOR" "EMAIL" "XMLRPC" depending on driver

getRawAddress

java.lang.String getRawAddress()
Return the address how to access this driver.

Returns:
e.g. "http:/www.mars.universe:8080/RPC2" or "IOR:000034100..."

activate

void activate()
              throws XmlBlasterException
Activate xmlBlaster access through this protocol so that a client can contact us.

Throws:
XmlBlasterException

deActivate

void deActivate()
                throws XmlBlasterException
Deactivate xmlBlaster access (standby), no clients can connect.

Throws:
XmlBlasterException

usage

java.lang.String usage()
The startup usage text.


xmlBlaster 2.2.0 API

Copyright © 1999-2014 The xmlBlaster.org contributers.