Package org.pentaho.reporting.libraries.base.config

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


    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

  {
    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

    {
      // 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

  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

  }

  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

    {
      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

    }

    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

  }

  public void initialize()
  {
    final Configuration configuration = ReportDesignerBoot.getInstance().getGlobalConfig();
    final Iterator keys = configuration.findPropertyKeys(PREFIX);//NON-NLS
    while (keys.hasNext())
    {
      final String key = (String) keys.next();
      final String name = key.substring(PREFIX.length());
      final String className = configuration.getConfigProperty(key);
View Full Code Here

      throw new NullPointerException();
    }

    final Configuration configuration = context.getConfiguration();
    final String prefix = DefaultActionFactory.PREFIX + category;
    final Iterator keys = configuration.findPropertyKeys(prefix);
    if (keys.hasNext() == false)
    {
      DefaultActionFactory.logger.debug(DefaultActionFactory.MESSAGES.getString("DefaultActionFactory.DEBUG_NO_ACTIONS",
          category)); //$NON-NLS-1$
      return DefaultActionFactory.EMPTY_ACTIONS;
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.