ch.elca.el4j.services.remoting.socketfactory
Class RMITimeoutSocketFactoryInitializingBean

java.lang.Object
  extended by ch.elca.el4j.services.remoting.socketfactory.RMITimeoutSocketFactoryInitializingBean
All Implemented Interfaces:
InitializingBean

public class RMITimeoutSocketFactoryInitializingBean
extends Object
implements InitializingBean

This bean is used initialize the new RMISocketFactory, more precisely the RMITimeoutSocketFactoryInitializingBean. It sets the timeout to the value defined in the spring configuration file rmi-timeout.xml (in mandatory) and then sets the global socket factory from which RMI gets sockets to the new RMITimeoutSocketFactoryInitializingBean.

Author:
Dominik Zindel (DZI)
File-location:
RMITimeoutSocketFactoryInitializingBean
Last check-in date:
2009-08-04 15:35:01 +0200 (Di, 04. Aug 2009) by swismer for revision 3883

Constructor Summary
RMITimeoutSocketFactoryInitializingBean()
          The constructor for the Bean.
 
Method Summary
 void afterPropertiesSet()
          
 int getTimeout()
           
 void setTimeout(int timeout)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RMITimeoutSocketFactoryInitializingBean

public RMITimeoutSocketFactoryInitializingBean()
                                        throws IOException
The constructor for the Bean.

Throws:
IOException
Method Detail

afterPropertiesSet

public void afterPropertiesSet()
                        throws IOException

Specified by:
afterPropertiesSet in interface InitializingBean
Throws:
IOException

getTimeout

public int getTimeout()
Returns:
Returns the timeout.

setTimeout

public void setTimeout(int timeout)
Parameters:
timeout - Is the timeout to set.


Copyright © 2005-2011 ELCA. All Rights Reserved.