public void registerBootstrapContext ( CloneableBootstrapContext bc ) { if ( bc != null ) { if ( bc . getName ( ) == null || bc . getName ( ) . trim ( ) . equals ( "" ) ) throw new IllegalArgumentException ( "The name of BootstrapContext is invalid: " + bc ) ; if ( ! bootstrapContexts . keySet ( ) . contains ( bc . getName ( ) ) ) { bootstrapContexts . put ( bc . getName ( ) , bc ) ; } } }
Register bootstrap context