org.xmlecho.palomar
Class ECHOHome

java.lang.Object
  extended byorg.xmlecho.palomar.ECHOHome

public class ECHOHome
extends java.lang.Object

The Home interface (static methods) for ECHO from which one can obtain the system's ECHOConnectionFactory and ECHO XProcessors. The name of the system's ECHOConnectionFactory implementing class is identified by the property org.xmlecho.palomar.ECHOConnectionFactory. If this property is not given, the implementing class will default to org.xmlecho.palomar.core.ECHOLocalHomeImpl


Field Summary
static java.lang.String NAMESPACE
          The ECHO namespace is http://namespaces.snapbridge.com/echo
static java.lang.String SESSION_NAMESPACE
          The ECHO connection session namespace is http://namespaces.snapbridge.com/echoSession
 
Method Summary
static ECHOConnectionFactory getConnectionFactory()
          obtain the system's ECHOService implementation
static ECHOConnection getECHOConnection(java.lang.String serviceName, java.lang.String userName, java.lang.String userCredential)
          gets an ECHOConnection implementation with a connection to the named processor
static XProcessor getXProcessor(java.lang.String svcName)
          obtain the ECHO Processor, configured through properties for the given name from the system's ECHOService
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

NAMESPACE

public static final java.lang.String NAMESPACE
The ECHO namespace is http://namespaces.snapbridge.com/echo

See Also:
Constant Field Values

SESSION_NAMESPACE

public static final java.lang.String SESSION_NAMESPACE
The ECHO connection session namespace is http://namespaces.snapbridge.com/echoSession

See Also:
Constant Field Values
Method Detail

getECHOConnection

public static final ECHOConnection getECHOConnection(java.lang.String serviceName,
                                                     java.lang.String userName,
                                                     java.lang.String userCredential)
                                              throws ECHOException
gets an ECHOConnection implementation with a connection to the named processor

Throws:
ECHOException

getXProcessor

public static final XProcessor getXProcessor(java.lang.String svcName)
obtain the ECHO Processor, configured through properties for the given name from the system's ECHOService


getConnectionFactory

public static final ECHOConnectionFactory getConnectionFactory()
obtain the system's ECHOService implementation