Package com.turbospaces.web3j
Class Web3jFactoryBean
java.lang.Object
org.springframework.beans.factory.config.AbstractFactoryBean<org.web3j.protocol.Web3j>
com.turbospaces.web3j.Web3jFactoryBean
- All Implemented Interfaces:
BootstrapAware,org.springframework.beans.factory.Aware,org.springframework.beans.factory.BeanClassLoaderAware,org.springframework.beans.factory.BeanFactoryAware,org.springframework.beans.factory.DisposableBean,org.springframework.beans.factory.FactoryBean<org.web3j.protocol.Web3j>,org.springframework.beans.factory.InitializingBean
public class Web3jFactoryBean
extends org.springframework.beans.factory.config.AbstractFactoryBean<org.web3j.protocol.Web3j>
implements BootstrapAware
-
Field Summary
Fields inherited from class org.springframework.beans.factory.config.AbstractFactoryBean
loggerFields inherited from interface org.springframework.beans.factory.FactoryBean
OBJECT_TYPE_ATTRIBUTE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected org.web3j.protocol.Web3jprotected voiddestroyInstance(org.web3j.protocol.Web3j instance)Class<?>voidsetBootstrap(Bootstrap bootstrap)Methods inherited from class org.springframework.beans.factory.config.AbstractFactoryBean
afterPropertiesSet, destroy, getBeanFactory, getBeanTypeConverter, getEarlySingletonInterfaces, getObject, isSingleton, setBeanClassLoader, setBeanFactory, setSingleton
-
Constructor Details
-
Web3jFactoryBean
public Web3jFactoryBean() -
Web3jFactoryBean
- Throws:
Exception
-
-
Method Details
-
setBootstrap
- Specified by:
setBootstrapin interfaceBootstrapAware
-
getObjectType
- Specified by:
getObjectTypein interfaceorg.springframework.beans.factory.FactoryBean<org.web3j.protocol.Web3j>- Specified by:
getObjectTypein classorg.springframework.beans.factory.config.AbstractFactoryBean<org.web3j.protocol.Web3j>
-
createInstance
- Specified by:
createInstancein classorg.springframework.beans.factory.config.AbstractFactoryBean<org.web3j.protocol.Web3j>- Throws:
Exception
-
destroyInstance
- Overrides:
destroyInstancein classorg.springframework.beans.factory.config.AbstractFactoryBean<org.web3j.protocol.Web3j>- Throws:
Exception
-