public class PortGenerator extends Object implements org.springframework.beans.factory.FactoryBean
Constructor and Description |
---|
PortGenerator() |
Modifier and Type | Method and Description |
---|---|
Object |
getObject() |
Class |
getObjectType() |
int |
getPort() |
boolean |
isSingleton() |
void |
setBasePort(int basePort) |
void |
setPortOffset(int portOffset) |
public void setBasePort(int basePort)
public void setPortOffset(int portOffset)
public int getPort()
public Object getObject() throws Exception
getObject
in interface org.springframework.beans.factory.FactoryBean
Exception
public Class getObjectType()
getObjectType
in interface org.springframework.beans.factory.FactoryBean
public boolean isSingleton()
isSingleton
in interface org.springframework.beans.factory.FactoryBean
Copyright © GigaSpaces.