protected void init ( Map stormConf , TopologyContext topologyContext ) { setId ( topologyContext . getThisComponentId ( ) ) ; try { method = inputSignature . findMethod ( beanType ) ; logger . info ( "{} uses {}" , this , method . toGenericString ( ) ) ; } catch ( ReflectiveOperationException e ) { throw new IllegalStateException ( "Unusable input signature" , e ) ; } if ( spring == null ) spring = SingletonApplicationContext . get ( stormConf , topologyContext ) ; spring . getBean ( beanType ) ; logger . debug ( "Bean lookup successful" ) ; }
Instantiates the non - serializable state .