public class PRNGSeedFactoryBean extends Object implements org.springframework.beans.factory.FactoryBean<Integer>
A Spring factory bean which returns a seed based on the current time and the IP address of the host.
Constructor and Description |
---|
PRNGSeedFactoryBean() |
protected Random metaPrng
public Integer getObject()
getObject
in interface org.springframework.beans.factory.FactoryBean<Integer>
public Class<?> getObjectType()
getObjectType
in interface org.springframework.beans.factory.FactoryBean<Integer>
public boolean isSingleton()
isSingleton
in interface org.springframework.beans.factory.FactoryBean<Integer>
Copyright © 2014. All rights reserved.