Examples of initialize()

  • org.xtreemfs.babudb.sandbox.RandomGenerator.initialize()
    Generates the static meta-operations scenario. @param seed - has to be the same at every BabuDB. @return the operations scenario.
  • pdp.scrabble.game.Player.initialize()
  • persistence.antlr.collections.AST.initialize()
  • ptolemy.actor.Director.initialize()
    Initialize the model controlled by this director. Set the current time to the start time or the current time of the executive director, and then invoke the initialize() method of this director on each actor that is controlled by this director. If the container is not an instance of CompositeActor, do nothing. This method should typically be invoked once per execution, after the preinitialization phase, but before any iteration. It may be invoked in the middle of an execution, if reinitialization is desired. Since type resolution has been completed and the current time is set, the initialize() method of a contained actor may produce output or schedule events. If stop() is called during this methods execution, then stop initializing actors immediately. This method is not synchronized on the workspace, so the caller should be. @exception IllegalActionException If the initialize() method ofone of the associated actors throws it.
  • ptolemy.actor.Manager.initialize()
    Initialize the model. This calls the preinitialize() method of the container, followed by the resolveTypes() and initialize() methods. Set the Manager's state to PREINITIALIZING and INITIALIZING as appropriate. This method is read synchronized on the workspace. @exception KernelException If the model throws it. @exception IllegalActionException If the model is already running, orif there is no container.
  • ptolemy.copernicus.kernel.GeneratorAttribute.initialize()
    If this GeneratorAttribute has not yet been initialized, the initialized it by reading the moml file named by the initialParametersURL and creating Parameters and Variables accordingly.
  • ptolemy.distributed.common.DistributedActor.initialize()
    Begin execution of the actor. @exception RemoteException If a communication-related exception mayoccur during the execution of a remote method call.
  • ptolemy.graph.InequalityTerm.initialize()
    Initialize the value of this term to the specified CPO element. If this InequalityTerm is a simple variable that can be set to any CPO element, set the value of the variable to the specified argument. In this case, this method is equivalent to setValue() with the same argument. In some applications, this term is a structured object that only part of it is a simple variable. In this case, set that variable part to the specified argument. @param e An Object representing an element in the underlying CPO. @exception IllegalActionException If this term is not a variable.
  • q_impress.pmi.lib.services.loadsave.LoadingService.initialize()
  • q_impress.pmi.lib.services.loadsave.SavingService.initialize()
  • rs.frenjoynet.core.core.BaseFacade.initialize()
  • shapes.OtherClass.initialize()

  • share.LogWriter.initialize()
  • sicel.compiler.parser.Lexer.initialize()
  • sos.stresstest.dialogtest.SOSDialogTest.initialize()
  • structures.Network.initialize()
    Initializes individual columns within the entire Network.
  • sun.security.pkcs11.Secmod.initialize()
    Initialize this Secmod. @param configDir the directory containing the NSS configurationfiles such as secmod.db @param nssLibDir the directory containing the NSS libraries(libnss3.so or nss3.dll) or null if the library is on the system default shared library path @throws IOException if NSS has already been initialized,the specified directories are invalid, or initialization fails for any other reason
  • testrf.shared.TestRequestFactory.initialize()
  • uptimemart.Database.initialize()
    Creates the tables if the table does not already exist

    This method determines whether the SERVERS database has been created, if not create it.

  • us.b3k.kafka.ws.transforms.Transform.initialize()
  • vsv.VSVModel.initialize()
  • waffle.windows.auth.IWindowsCredentialsHandle.initialize()
  • waffle.windows.auth.impl.WindowsSecurityContextImpl.initialize()
  • weka.experiment.InstanceQuery.initialize()
  • wpn.hdri.ss.engine.EngineInitializer.initialize()
  • xbird.xquery.func.constructor.CastingFunction.initialize()

  • Examples of org.apache.hadoop.raid.DBConnectionFactory.initialize()

                DBUtils.RAID_DB_CONNECTION_FACTORY_CLASS_KEY + " is not set!");
          DBConnectionFactory connectionFactory =
              (DBConnectionFactory) ReflectionUtils.newInstance(DBFactoryClass,
          return connectionFactory;
      public static int getSqlNumRetry(Configuration conf) {
        return conf.getInt(DB_MAX_RETRY, DEFAULT_DB_MAX_RETRY);
    View Full Code Here

    Examples of org.apache.hadoop.raid.StripeStore.initialize()

          return null;
        StripeStore stripeStore = (StripeStore) ReflectionUtils.newInstance(
            stripeStoreClass, conf);
        try {
          stripeStore.initialize(conf, createStore, fs);
        } catch (IOException ioe) {
          LOG.error("Fail to initialize stripe store", ioe);
          stripeStore = null;
        return stripeStore;
    View Full Code Here

    Examples of org.apache.hadoop.streaming.io.InputWriter.initialize()

      InputWriter createInputWriter(Class<? extends InputWriter> inputWriterClass)
        throws IOException {
        InputWriter inputWriter =
          ReflectionUtils.newInstance(inputWriterClass, job_);
        return inputWriter;

      abstract OutputReader createOutputReader() throws IOException;
    View Full Code Here

    Examples of org.apache.hadoop.streaming.io.OutputReader.initialize()

      OutputReader createOutputReader(Class<? extends OutputReader> outputReaderClass)
        throws IOException {
        OutputReader outputReader =
          ReflectionUtils.newInstance(outputReaderClass, job_);
        return outputReader;
      class MROutputThread extends Thread {
    View Full Code Here

    Examples of org.apache.hadoop.vertica.VerticaRecordReader.initialize()

        VerticaInputSplit input = getVerticaSplit(false);
        VerticaRecordReader reader = new VerticaRecordReader(input, input
        TaskAttemptContext context = new TaskAttemptContextImpl(input
            .getConfiguration(), new TaskAttemptID());
        reader.initialize(input, context);

        boolean hasValue = reader.nextKeyValue();
        assertEquals("There should be a record in the database", hasValue, true);
        LongWritable key = reader.getCurrentKey();
    View Full Code Here

    Examples of org.apache.hadoop.yarn.server.resourcemanager.scheduler.fair.policies.DominantResourceFairnessPolicy.initialize()

        ApplicationAttemptId appAttId2 = createSchedulingRequest(1024, 2, "queue1",
            "user1", 2);
        FSSchedulerApp app2 = scheduler.getSchedulerApp(appAttId2);

        DominantResourceFairnessPolicy drfPolicy = new DominantResourceFairnessPolicy();

        // First both apps get a container
        // Then the first gets another container because its dominant share of
    View Full Code Here

    Examples of org.apache.harmony.auth.module.JndiLoginModule.initialize()

            } catch (LoginException e) {
                fail("Abort failed");
            Subject subject = new Subject();
            jlm.initialize(subject, null, null, options);

            assertFalse("Should return false if login failed or no login", jlm.abort());

            subject = new Subject();
            jlm.initialize(subject, new FaultCallbackHandler(), null, options);
    View Full Code Here

    Examples of org.apache.harmony.auth.module.KeyStoreLoginModule.initialize()

            } catch (LoginException e) {
                fail("Abort failed");
            Subject subject = new Subject();
            ksm.initialize(subject, null, null, options);
            try {
                assertFalse("Should return false if login failed or no login", ksm
            } catch (Exception e) {
                fail("Not any exception here");
    View Full Code Here

    Examples of org.apache.harmony.auth.module.Krb5LoginModule.initialize()

        public void test_Config() throws Exception {

            // create login module for testing
            Krb5LoginModule module = new Krb5LoginModule();
            module.initialize(null, new MockCallbackHandler(), null, options);

            // case 1: unset 'kdc' and set 'real' sys.props
            TestUtils.setSystemProperty(ENV_KDC, null);
            TestUtils.setSystemProperty(ENV_REALM, "some_value");
            try {
    View Full Code Here

    Examples of org.apache.harmony.auth.module.LdapLoginModule.initialize()

            options.put("useFirstPass", "true");
            HashMap<String, Object> status = new HashMap<String,Object>();
            status.put("javax.security.auth.login.name", "leo");
            status.put("javax.security.auth.login.password", "faultPass".toCharArray());
            subject = new Subject();
            module.initialize(subject, new MockCallbackHandler(), status, options);
            try {
                fail("Should be failed for using password from shared state");
            catch(LoginException e){
    View Full Code Here
    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.