org.jppf.jca.work
Class JcaSocketInitializer

java.lang.Object
  extended by org.jppf.comm.socket.AbstractSocketInitializer
      extended by org.jppf.jca.work.JcaSocketInitializer
All Implemented Interfaces:
SocketInitializer

public class JcaSocketInitializer
extends AbstractSocketInitializer

Socket intializer for the JPPF resource adapter. This implementation does not rely on its own threads or timers to not interfere with the application server.

Author:
Laurent Cohen

Field Summary
 
Fields inherited from class org.jppf.comm.socket.AbstractSocketInitializer
attemptCount, closed, name, rand, socketWrapper, successfull
 
Constructor Summary
JcaSocketInitializer()
           
 
Method Summary
 void close()
          Close this initializer.
 void initializeSocket(SocketWrapper socketWrapper)
          Initialize the underlying socket.
 
Methods inherited from class org.jppf.comm.socket.AbstractSocketInitializer
getName, isClosed, isSuccessfull, setName
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JcaSocketInitializer

public JcaSocketInitializer()
Method Detail

close

public void close()
Description copied from interface: SocketInitializer
Close this initializer.

See Also:
SocketInitializer.close()

initializeSocket

public void initializeSocket(SocketWrapper socketWrapper)
Initialize the underlying socket.

Parameters:
socketWrapper - wrapper around the socket to initialize.
See Also:
SocketInitializer.initializeSocket(org.jppf.comm.socket.SocketWrapper)


Copyright © 2005-2010 JPPF Team.