protected final Definition bean ( Class < ? > clazz ) { Definition def = new Definition ( clazz . getName ( ) , clazz , Scope . SINGLETON . toString ( ) ) ; def . beanName = clazz . getName ( ) + "#" + Math . abs ( System . identityHashCode ( def ) ) ; return def ; }
Generate a inner bean definition