Examples of NullPlugin


Examples of eas.plugins.standard.other.NullPlugin

                    this);
            throw new RuntimeException(fehler);
        }

        // Check if generic parameters have to be generated.
        String nullID = new NullPlugin().id();
        if (this.masterScheduler != null
                && this.masterScheduler.equalsIgnoreCase(nullID)
                && this.plugins != null
                && this.plugins.length == 1
                && this.plugins[0].equalsIgnoreCase(nullID)) {
View Full Code Here

Examples of eas.plugins.standard.other.NullPlugin

            args2[i] = args[i];
           
            if (args[i].equalsIgnoreCase(ConstantsStatistics.MASTER_SCHEDULER_PAR_NAME)
                    || args[i].equalsIgnoreCase(ConstantsStatistics.PLUGINS_PAR_NAME)) {
                if (args2.length > i + 1) {
                    args2[i + 1] = new NullPlugin().id();
                    i++;
                }
            }
        }
        ParCollection prematureParams = new ParCollection(args2);
View Full Code Here

Examples of org.nasutekds.server.plugins.NullPlugin

    PluginCfg configuration =
         AdminTestCaseUtils.getConfiguration(PluginCfgDefn.getInstance(),
                                             pluginEntry);


    NullPlugin nullPlugin = new NullPlugin();
    DN pluginEntryDN = DN.decode("cn=Null Plugin,cn=Plugins,cn=config");

    HashSet<PluginType> pluginTypes = new HashSet<PluginType>();
    for (PluginType t : PluginType.values())
    {
      pluginTypes.add(t);
    }

    nullPlugin.initializeInternal(configuration.dn(), pluginTypes,
        configuration.isInvokeForInternalOperations());
    assertEquals(nullPlugin.getPluginEntryDN(), pluginEntryDN);
  }
View Full Code Here

Examples of org.nasutekds.server.plugins.NullPlugin

    PluginCfg configuration =
         AdminTestCaseUtils.getConfiguration(PluginCfgDefn.getInstance(),
                                             pluginEntry);


    NullPlugin nullPlugin = new NullPlugin();

    HashSet<PluginType> pluginTypes = new HashSet<PluginType>();
    for (PluginType t : PluginType.values())
    {
      pluginTypes.add(t);
    }

    nullPlugin.initializeInternal(configuration.dn(), pluginTypes,
        configuration.isInvokeForInternalOperations());
    assertEquals(nullPlugin.getPluginTypes(), pluginTypes);
  }
View Full Code Here

Examples of org.nasutekds.server.plugins.NullPlugin

   * Invokes the default plugin finalizer.
   */
  @Test()
  public void testDefaultFinalizer()
  {
    new NullPlugin().finalizePlugin();
  }
View Full Code Here

Examples of org.nasutekds.server.plugins.NullPlugin

   * exception.
   */
  @Test(expectedExceptions = { UnsupportedOperationException.class })
  public void testDoStartup()
  {
    new NullPlugin().doStartup();
  }
View Full Code Here

Examples of org.nasutekds.server.plugins.NullPlugin

   * exception.
   */
  @Test(expectedExceptions = { UnsupportedOperationException.class })
  public void testDoShutdown()
  {
    new NullPlugin().doShutdown(Message.raw("testDoShutdown"));
  }
View Full Code Here

Examples of org.nasutekds.server.plugins.NullPlugin

   * exception.
   */
  @Test(expectedExceptions = { UnsupportedOperationException.class })
  public void testDoPostConnect()
  {
    new NullPlugin().doPostConnect(null);
  }
View Full Code Here

Examples of org.nasutekds.server.plugins.NullPlugin

   * exception.
   */
  @Test(expectedExceptions = { UnsupportedOperationException.class })
  public void testDoPostDisconnect()
  {
    new NullPlugin().doPostDisconnect(null, DisconnectReason.CLOSED_BY_PLUGIN,
            null);
  }
View Full Code Here

Examples of org.nasutekds.server.plugins.NullPlugin

   * exception.
   */
  @Test(expectedExceptions = { UnsupportedOperationException.class })
  public void testDoLDIFImport()
  {
    new NullPlugin().doLDIFImport(null, null);
  }
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.