com.atomikos.icatch.msg.soap.atomikos
Class AtomikosHttpTransport

java.lang.Object
  extended by com.atomikos.icatch.msg.AbstractTransport
      extended by com.atomikos.icatch.msg.HttpTransport
          extended by com.atomikos.icatch.msg.soap.atomikos.AtomikosHttpTransport
All Implemented Interfaces:
RecoverableResource, Transport

public class AtomikosHttpTransport
extends HttpTransport


Field Summary
static String COORDINATOR_RELATIVE_SERVICE_PATH
           
static String COORDINATOR_SERVICE_PATH
          Local URL path of the coordinator service (starts with context root).
static String PARTICIPANT_RELATIVE_SERVICE_PATH
           
static String PARTICIPANT_SERVICE_PATH
          Local URL path of the participant service (starts with context root).
 
Fields inherited from class com.atomikos.icatch.msg.HttpTransport
CONTEXT_ROOT
 
Fields inherited from interface com.atomikos.icatch.msg.Transport
FTP, HTTP, JMS, SMTP, UNKNOWN_PROTOCOL
 
Method Summary
static HttpTransport getSingleton()
          Get the singleton instance.
static void init(String name, long defaultTimeout)
          Initialize the transport.
 
Methods inherited from class com.atomikos.icatch.msg.HttpTransport
createURL, getPort, getServerIpAddress, initialize, replyReceived, requestReceived, useSecureHttp
 
Methods inherited from class com.atomikos.icatch.msg.AbstractTransport
close, createCommitMessage, createErrorMessage, createForgetMessage, createPreparedMessage, createPrepareMessage, createPrepareMessage, createRegisteredMessage, createRegisterMessage, createReplayMessage, createRollbackMessage, createStateMessage, endRecovery, getCommitProtocol, getCoordinatorAddress, getDefaultTimeout, getFormat, getName, getParticipantAddress, getTransportProtocol, isClosed, isSameRM, recover, registerMessageListener, registerMessageListener, removeMessageListener, send, sendAndReceive, setRecoveryService, setSenderPort
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

PARTICIPANT_RELATIVE_SERVICE_PATH

public static final String PARTICIPANT_RELATIVE_SERVICE_PATH
See Also:
Constant Field Values

COORDINATOR_RELATIVE_SERVICE_PATH

public static final String COORDINATOR_RELATIVE_SERVICE_PATH
See Also:
Constant Field Values

PARTICIPANT_SERVICE_PATH

public static final String PARTICIPANT_SERVICE_PATH
Local URL path of the participant service (starts with context root). The complete URL is obtained by prepending the HTTP server's address.

See Also:
Constant Field Values

COORDINATOR_SERVICE_PATH

public static final String COORDINATOR_SERVICE_PATH
Local URL path of the coordinator service (starts with context root). The complete URL is obtained by prepending the HTTP server's address.

See Also:
Constant Field Values
Method Detail

init

public static void init(String name,
                        long defaultTimeout)
Initialize the transport. Overrides any previous initialization!

Parameters:
name -
defaultTimeout -

getSingleton

public static HttpTransport getSingleton()
Get the singleton instance.

Returns:
The singleton, or null if not initialized.


Copyright © 2012. All Rights Reserved.