set the registration behavior by the name of the corresponding constant , e.g. `` registration_ignore_existing '' . concode_field_sep int REGISTRATION_FAIL_ON_EXISTING concode_elem_sep int REGISTRATION_IGNORE_EXISTING concode_elem_sep MBeanServer server concode_elem_sep Log logger concode_elem_sep RegistrationPolicy registrationPolicy concode_elem_sep Set<ObjectName> registeredBeans concode_elem_sep int REGISTRATION_REPLACE_EXISTING concode_elem_sep Constants constants concode_field_sep MBeanServer getServer concode_elem_sep void doUnregister concode_elem_sep void onRegister concode_elem_sep void onRegister concode_elem_sep void setRegistrationBehavior concode_elem_sep ObjectName[] getRegisteredObjectNames concode_elem_sep void onUnregister concode_elem_sep void setServer concode_elem_sep void unregisterBeans concode_elem_sep void setRegistrationPolicy concode_elem_sep void doRegister
void function ( String arg0 ) { setRegistrationBehavior ( constants . asNumber ( arg0 ) . intValue ( ) ) ; }