protected synchronized void removeAdminObjectService(ServiceReference<AdminObjectService> reference) {
        String id = (String) reference.getProperty(ADMIN_OBJECT_CFG_ID);
        if (id != null) {
            removeAdminObjectService(reference, id, false);

            String jndiName = (String) reference.getProperty(ADMIN_OBJECT_CFG_JNDI_NAME);
            if (jndiName != null && !jndiName.equals(id)) {
                removeAdminObjectService(reference, jndiName, true);
            }
        }
    }
protected synchronized void removeAdminObjectService ( ServiceReference < AdminObjectService > reference ) { String id = ( String ) reference . getProperty ( ADMIN_OBJECT_CFG_ID ) ; if ( id != null ) { removeAdminObjectService ( reference , id , false ) ; String jndiName = ( String ) reference . getProperty ( ADMIN_OBJECT_CFG_JNDI_NAME ) ; if ( jndiName != null && ! jndiName . equals ( id ) ) { removeAdminObjectService ( reference , jndiName , true ) ; } } }
Declarative service method for removing an AdminObjectService.