org.openspaces.pu.container.jee
Class PortGenerator
java.lang.Object
  
org.openspaces.pu.container.jee.PortGenerator
- All Implemented Interfaces: 
 - FactoryBean
 
public class PortGenerator
- extends Object
- implements FactoryBean
  
A port generator that accepts a basePort and a portOffest and simply adds them.
- Author:
 
  - kimchy
 
 
 
| Methods inherited from class java.lang.Object | 
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
PortGenerator
public PortGenerator()
setBasePort
public void setBasePort(int basePort)
 
 
setPortOffset
public void setPortOffset(int portOffset)
 
 
getPort
public int getPort()
 
 
getObject
public Object getObject()
                 throws Exception
- Specified by:
 getObject in interface FactoryBean
 
- Throws:
 Exception
 
getObjectType
public Class getObjectType()
- Specified by:
 getObjectType in interface FactoryBean
 
 
isSingleton
public boolean isSingleton()
- Specified by:
 isSingleton in interface FactoryBean
 
 
Copyright © GigaSpaces.