@ Override public final void setName ( String name ) { log . debug ( "Set name: {}" , name ) ; if ( this . name == null && StringUtils . isNotBlank ( name ) ) { // reset of the name is no longer allowed this . name = name ; // unregister from jmx if ( oName != null ) { unregisterJMX ( ) ; } // register registerJMX ( ) ; } else { log . info ( "Scope {} name reset to: {} disallowed" , this . name , name ) ; } }
Setter for scope name