Examples of findPropertyKeys()


Examples of org.pentaho.reporting.libraries.base.config.Configuration.findPropertyKeys()

        throw new ReportDataFactoryException("Unable to match reg-exp role filter:", pe);
      }
    }

    boolean hasAccept = false;
    final Iterator staticAcceptKeys = configuration.findPropertyKeys(ACCEPT_ROLES_CONFIG_KEY);
    while (staticAcceptKeys.hasNext())
    {
      hasAccept = true;
      final String key = (String) staticAcceptKeys.next();
      final String value = configuration.getConfigProperty(key);
View Full Code Here

Examples of org.pentaho.reporting.libraries.base.config.Configuration.findPropertyKeys()

      {
        return role;
      }
    }

    final Iterator regExpAcceptKeys = configuration.findPropertyKeys(ACCEPT_REGEXP_CONFIG_KEY);
    while (regExpAcceptKeys.hasNext())
    {
      hasAccept = true;
      final String key = (String) regExpAcceptKeys.next();
      final String value = configuration.getConfigProperty(key);
View Full Code Here

Examples of org.pentaho.reporting.libraries.base.config.Configuration.findPropertyKeys()

  {
    if (SessionProviderReadHandlerFactory.readHandlerFactory == null)
    {
      SessionProviderReadHandlerFactory.readHandlerFactory = new SessionProviderReadHandlerFactory();
      final Configuration config = ClassicEngineBoot.getInstance().getGlobalConfig();
      final Iterator propertyKeys = config.findPropertyKeys(SessionProviderReadHandlerFactory.PREFIX_SELECTOR);
      while (propertyKeys.hasNext())
      {
        final String key = (String) propertyKeys.next();
        final String value = config.getConfigProperty(key);
        if (value != null)
View Full Code Here

Examples of org.pentaho.reporting.libraries.base.config.Configuration.findPropertyKeys()

    catch (NamingException e)
    {
      // ignored ..
    }

    final Iterator keys = config.findPropertyKeys
        ("org.pentaho.reporting.engine.classic.core.modules.misc.datafactory.jndi-prefix.");
    while (keys.hasNext())
    {
      final String key = (String) keys.next();
      final String prefix = config.getConfigProperty(key);
View Full Code Here

Examples of org.pentaho.reporting.libraries.base.config.Configuration.findPropertyKeys()

  {
    if (readHandlerFactory == null)
    {
      readHandlerFactory = new PmdConfigReadHandlerFactory();
      final Configuration config = ClassicEngineBoot.getInstance().getGlobalConfig();
      final Iterator propertyKeys = config.findPropertyKeys(PREFIX_SELECTOR);
      while (propertyKeys.hasNext())
      {
        final String key = (String) propertyKeys.next();
        final String value = config.getConfigProperty(key);
        if (value != null)
View Full Code Here

Examples of org.pentaho.reporting.libraries.base.config.Configuration.findPropertyKeys()

    {
      // ignored ..
    }

    final Configuration config = ClassicEngineBoot.getInstance().getGlobalConfig();
    final Iterator keys = config.findPropertyKeys
        ("org.pentaho.reporting.engine.classic.core.modules.misc.datafactory.jndi-prefix.");
    while (keys.hasNext())
    {
      final String key = (String) keys.next();
      final String prefix = config.getConfigProperty(key);
View Full Code Here

Examples of org.pentaho.reporting.libraries.base.config.Configuration.findPropertyKeys()

  private void loadPlugins()
  {
    final ClassLoader classLoader = ObjectUtilities.getClassLoader(ExpressionEditorDialog.class);
    final Configuration config = ReportDesignerBoot.getInstance().getGlobalConfig();
    final Iterator<String> keys = config.findPropertyKeys(PREFIX);
    while (keys.hasNext())
    {
      final String key = keys.next();
      final String expressionClass = key.substring(PREFIX.length());
      try
View Full Code Here

Examples of org.pentaho.reporting.libraries.base.config.Configuration.findPropertyKeys()

  }

  private void register()
  {
    final Configuration configuration = ReportDesignerBoot.getInstance().getGlobalConfig();
    final Iterator keys = configuration.findPropertyKeys(PREFIX);
    while (keys.hasNext())
    {
      final String key = (String) keys.next();
      final String elementType = key.substring(PREFIX.length());
      final String className = configuration.getConfigProperty(key);
View Full Code Here

Examples of org.pentaho.reporting.libraries.base.config.Configuration.findPropertyKeys()

    {
      editorDialog = new DesignerFormulaEditorDialog();
    }

    final Configuration configuration = ReportDesignerBoot.getInstance().getGlobalConfig();
    final Iterator propertyKeys = configuration.findPropertyKeys(FUNCTION_EDITOR_CONFIX_PREFIX);
    while (propertyKeys.hasNext())
    {
      final String key = (String) propertyKeys.next();
      final String function = key.substring(FUNCTION_EDITOR_CONFIX_PREFIX.length());
      final String editor = configuration.getConfigProperty(key);
View Full Code Here

Examples of org.pentaho.reporting.libraries.base.config.Configuration.findPropertyKeys()

    }

    editorPanel.setFields(getFields());

    final Configuration configuration = ReportDesignerBoot.getInstance().getGlobalConfig();
    final Iterator propertyKeys = configuration.findPropertyKeys(GUIUtils.FUNCTION_EDITOR_CONFIX_PREFIX);
    while (propertyKeys.hasNext())
    {
      final String key = (String) propertyKeys.next();
      final String function = key.substring(GUIUtils.FUNCTION_EDITOR_CONFIX_PREFIX.length());
      final String editor = configuration.getConfigProperty(key);
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.