code: public void setDeviceSelectorConfiguration(String deviceSelector) {
  
          m_deviceSelectorConfiguration = deviceSelector;
  
          Object objectInstance;
  
          try {
              objectInstance = Class.forName(m_deviceSelectorConfiguration).newInstance();
          } catch (Throwable t) {
              LOG.error(
                  Messages.get().getBundle().key(Messages.LOG_CLASS_INIT_FAILURE_1, m_deviceSelectorConfiguration),
                  t);
              return;
          }
          if (objectInstance instanceof I_CmsJspDeviceSelector) {
              m_deviceSelector = (I_CmsJspDeviceSelector)objectInstance;
              if (CmsLog.INIT.isInfoEnabled()) {
                  CmsLog.INIT.info(
                      Messages.get().getBundle().key(
                          Messages.INIT_FLEXCACHE_DEVICE_SELECTOR_SUCCESS_1,
                          m_deviceSelectorConfiguration));
              }
          } else {
              if (CmsLog.INIT.isFatalEnabled()) {
                  CmsLog.INIT.fatal(
                      Messages.get().getBundle().key(
                          Messages.INIT_FLEXCACHE_DEVICE_SELECTOR_FAILURE_1,
                          m_deviceSelectorConfiguration));
              }
          }
      }
docs: Sets the device selector configuration.<p>
  
  @param deviceSelector the device selector to set