Package org.agilewiki.jid

Source Code of org.agilewiki.jid.JidFactories

/*
* Copyright 2012 Bill La Forge
*
* This file is part of AgileWiki and is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License (LGPL) as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* This code is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
* or navigate to the following url http://www.gnu.org/licenses/lgpl-2.1.txt
*
* Note however that only Scala, Java and JavaScript files are being covered by LGPL.
* All other files are covered by the Common Public License (CPL).
* A copy of this license is also included and can be
* found as well at http://www.opensource.org/licenses/cpl1.0.txt
*/
package org.agilewiki.jid;

import org.agilewiki.jactor.Actor;
import org.agilewiki.jactor.Mailbox;
import org.agilewiki.jactor.factory.ActorFactory;
import org.agilewiki.jactor.factory.JAFactory;
import org.agilewiki.jactor.lpc.JLPCActor;
import org.agilewiki.jid.collection.vlenc.BListJidFactory;
import org.agilewiki.jid.collection.vlenc.ListJidFactory;
import org.agilewiki.jid.collection.vlenc.map.*;
import org.agilewiki.jid.scalar.flens.bool.BooleanJidFactory;
import org.agilewiki.jid.scalar.flens.dbl.DoubleJidFactory;
import org.agilewiki.jid.scalar.flens.flt.FloatJidFactory;
import org.agilewiki.jid.scalar.flens.integer.IntegerJidFactory;
import org.agilewiki.jid.scalar.flens.lng.LongJidFactory;
import org.agilewiki.jid.scalar.vlens.actor.ActorJidFactory;
import org.agilewiki.jid.scalar.vlens.actor.RootJidFactory;
import org.agilewiki.jid.scalar.vlens.bytes.BytesJidFactory;
import org.agilewiki.jid.scalar.vlens.string.StringJidFactory;

/**
* <p>
* Defines Jid actor types and registers the JID factories.
* </p>
*/
final public class JidFactories extends JLPCActor {

    /**
     * The name of the JID actor.
     */
    public final static String JID_TYPE = "JID";

    /**
     * The name of the BooleanJid actor.
     */
    public final static String BOOLEAN_JID_TYPE = "BOOLEAN_JID";

    /**
     * The name of the IntegerJid actor.
     */
    public final static String INTEGER_JID_TYPE = "INT_JID";

    /**
     * The name of the LongJid actor.
     */
    public final static String LONG_JID_TYPE = "LONG_JID";

    /**
     * The name of the FloatJid actor.
     */
    public final static String FLOAT_JID_TYPE = "FLOAT_JID";

    /**
     * The name of the DoubleJid actor.
     */
    public final static String DOUBLE_JID_TYPE = "DOUBLE_JID";

    /**
     * The name of the JidJid actor.
     */
    public final static String ACTOR_JID_TYPE = "ACTOR_JID";

    /**
     * The name of the JidJid actor.
     */
    public final static String ROOT_JID_TYPE = "ROOT_JID";

    /**
     * The name of the String actor.
     */
    public final static String STRING_JID_TYPE = "STRING_JID";

    /**
     * The name of the BytesJid actor.
     */
    public final static String BYTES_JID_TYPE = "BYTES_JID";

    /**
     * The name of the StringBListJid actor.
     */
    public final static String STRING_BLIST_JID_TYPE = "STRING_BLIST_JID";

    /**
     * The name of the BytesBListJid actor.
     */
    public final static String BYTES_BLIST_JID_TYPE = "BYTES_BLIST_JID";

    /**
     * The name of the ActorBListJid actor.
     */
    public final static String ACTOR_BLIST_JID_TYPE = "ACTOR_BLIST_JID";

    /**
     * The name of the LongBListJid actor.
     */
    public final static String LONG_BLIST_JID_TYPE = "LONG_BLIST_JID";

    /**
     * The name of the IntegerBListJid actor.
     */
    public final static String INTEGER_BLIST_JID_TYPE = "INTEGER_BLIST_JID";

    /**
     * The name of the FloatBListJid actor.
     */
    public final static String FLOAT_BLIST_JID_TYPE = "FLOAT_BLIST_JID";

    /**
     * The name of the DoubleBListJid actor.
     */
    public final static String DOUBLE_BLIST_JID_TYPE = "DOUBLE_BLIST_JID";

    /**
     * The name of the BooleanBListJid actor.
     */
    public final static String BOOLEAN_BLIST_JID_TYPE = "BOOLEAN_BLIST_JID";

    /**
     * The name of the StringListJid actor.
     */
    public final static String STRING_LIST_JID_TYPE = "STRING_LIST_JID";

    /**
     * The name of the BytesListJid actor.
     */
    public final static String BYTES_LIST_JID_TYPE = "BYTES_LIST_JID";

    /**
     * The name of the ActorListJid actor.
     */
    public final static String ACTOR_LIST_JID_TYPE = "ACTOR_LIST_JID";

    /**
     * The name of the LongListJid actor.
     */
    public final static String LONG_LIST_JID_TYPE = "LONG_LIST_JID";

    /**
     * The name of the IntegerListJid actor.
     */
    public final static String INTEGER_LIST_JID_TYPE = "INTEGER_LIST_JID";

    /**
     * The name of the FloatListJid actor.
     */
    public final static String FLOAT_LIST_JID_TYPE = "FLOAT_LIST_JID";

    /**
     * The name of the DoubleListJid actor.
     */
    public final static String DOUBLE_LIST_JID_TYPE = "DOUBLE_LIST_JID";

    /**
     * The name of the BooleanListJid actor.
     */
    public final static String BOOLEAN_LIST_JID_TYPE = "BOOLEAN_LIST_JID";

    /**
     * The name of the StringStringBMapJid actor.
     */
    public final static String STRING_STRING_BMAP_JID_TYPE = "STRING_STRING_BMAP_JID";

    /**
     * The name of the StringBytesBMapJid actor.
     */
    public final static String STRING_BYTES_BMAP_JID_TYPE = "STRING_BYTES_BMAP_JID";

    /**
     * The name of the StringActorBMapJid actor.
     */
    public final static String STRING_ACTOR_BMAP_JID_TYPE = "STRING_ACTOR_BMAP_JID";

    /**
     * The name of the StringLongBMapJid actor.
     */
    public final static String STRING_LONG_BMAP_JID_TYPE = "STRING_LONG_BMAP_JID";

    /**
     * The name of the StringIntegerBMapJid actor.
     */
    public final static String STRING_INTEGER_BMAP_JID_TYPE = "STRING_INTEGER_BMAP_JID";

    /**
     * The name of the StringFloatBMapJid actor.
     */
    public final static String STRING_FLOAT_BMAP_JID_TYPE = "STRING_FLOAT_BMAP_JID";

    /**
     * The name of the StringDoubleBMapJid actor.
     */
    public final static String STRING_DOUBLE_BMAP_JID_TYPE = "STRING_DOUBLE_BMAP_JID";

    /**
     * The name of the StringBooleanBMapJid actor.
     */
    public final static String STRING_BOOLEAN_BMAP_JID_TYPE = "STRING_BOOLEAN_BMAP_JID";

    /**
     * The name of the IntegerStringBMapJid actor.
     */
    public final static String INTEGER_STRING_BMAP_JID_TYPE = "INTEGER_STRING_BMAP_JID";

    /**
     * The name of the IntegerBytesBMapJid actor.
     */
    public final static String INTEGER_BYTES_BMAP_JID_TYPE = "INTEGER_BYTES_BMAP_JID";

    /**
     * The name of the IntegerActorBMapJid actor.
     */
    public final static String INTEGER_ACTOR_BMAP_JID_TYPE = "INTEGER_ACTOR_BMAP_JID";

    /**
     * The name of the IntegerLongBMapJid actor.
     */
    public final static String INTEGER_LONG_BMAP_JID_TYPE = "INTEGER_LONG_BMAP_JID";

    /**
     * The name of the IntegerIntegerBMapJid actor.
     */
    public final static String INTEGER_INTEGER_BMAP_JID_TYPE = "INTEGER_INTEGER_BMAP_JID";

    /**
     * The name of the IntegerFloatBMapJid actor.
     */
    public final static String INTEGER_FLOAT_BMAP_JID_TYPE = "INTEGER_FLOAT_BMAP_JID";

    /**
     * The name of the IntegerDoubleBMapJid actor.
     */
    public final static String INTEGER_DOUBLE_BMAP_JID_TYPE = "INTEGER_DOUBLE_BMAP_JID";

    /**
     * The name of the IntegerBooleanBMapJid actor.
     */
    public final static String INTEGER_BOOLEAN_BMAP_JID_TYPE = "INTEGER_BOOLEAN_BMAP_JID";

    /**
     * The name of the LongStringBMapJid actor.
     */
    public final static String LONG_STRING_BMAP_JID_TYPE = "LONG_STRING_BMAP_JID";

    /**
     * The name of the LongBytesBMapJid actor.
     */
    public final static String LONG_BYTES_BMAP_JID_TYPE = "LONG_BYTES_BMAP_JID";

    /**
     * The name of the LongActorBMapJid actor.
     */
    public final static String LONG_ACTOR_BMAP_JID_TYPE = "LONG_ACTOR_BMAP_JID";

    /**
     * The name of the LongLongBMapJid actor.
     */
    public final static String LONG_LONG_BMAP_JID_TYPE = "LONG_LONG_BMAP_JID";

    /**
     * The name of the LongIntegerBMapJid actor.
     */
    public final static String LONG_INTEGER_BMAP_JID_TYPE = "LONG_INTEGER_BMAP_JID";

    /**
     * The name of the LongFloatBMapJid actor.
     */
    public final static String LONG_FLOAT_BMAP_JID_TYPE = "LONG_FLOAT_BMAP_JID";

    /**
     * The name of the LongDoubleBMapJid actor.
     */
    public final static String LONG_DOUBLE_BMAP_JID_TYPE = "LONG_DOUBLE_BMAP_JID";

    /**
     * The name of the LongBooleanBMapJid actor.
     */
    public final static String LONG_BOOLEAN_BMAP_JID_TYPE = "LONG_BOOLEAN_BMAP_JID";

    /**
     * The name of the StringStringMapJid actor.
     */
    public final static String STRING_STRING_MAP_JID_TYPE = "STRING_STRING_MAP_JID";

    /**
     * The name of the StringBytesMapJid actor.
     */
    public final static String STRING_BYTES_MAP_JID_TYPE = "STRING_BYTES_MAP_JID";

    /**
     * The name of the StringActorMapJid actor.
     */
    public final static String STRING_ACTOR_MAP_JID_TYPE = "STRING_ACTOR_MAP_JID";

    /**
     * The name of the StringLongMapJid actor.
     */
    public final static String STRING_LONG_MAP_JID_TYPE = "STRING_LONG_MAP_JID";

    /**
     * The name of the StringIntegerMapJid actor.
     */
    public final static String STRING_INTEGER_MAP_JID_TYPE = "STRING_INTEGER_MAP_JID";

    /**
     * The name of the StringFloatMapJid actor.
     */
    public final static String STRING_FLOAT_MAP_JID_TYPE = "STRING_FLOAT_MAP_JID";

    /**
     * The name of the StringDoubleMapJid actor.
     */
    public final static String STRING_DOUBLE_MAP_JID_TYPE = "STRING_DOUBLE_MAP_JID";

    /**
     * The name of the StringBooleanMapJid actor.
     */
    public final static String STRING_BOOLEAN_MAP_JID_TYPE = "STRING_BOOLEAN_MAP_JID";

    /**
     * The name of the IntegerStringMapJid actor.
     */
    public final static String INTEGER_STRING_MAP_JID_TYPE = "INTEGER_STRING_MAP_JID";

    /**
     * The name of the IntegerBytesMapJid actor.
     */
    public final static String INTEGER_BYTES_MAP_JID_TYPE = "INTEGER_BYTES_MAP_JID";

    /**
     * The name of the IntegerActorMapJid actor.
     */
    public final static String INTEGER_ACTOR_MAP_JID_TYPE = "INTEGER_ACTOR_MAP_JID";

    /**
     * The name of the IntegerLongMapJid actor.
     */
    public final static String INTEGER_LONG_MAP_JID_TYPE = "INTEGER_LONG_MAP_JID";

    /**
     * The name of the IntegerIntegerMapJid actor.
     */
    public final static String INTEGER_INTEGER_MAP_JID_TYPE = "INTEGER_INTEGER_MAP_JID";

    /**
     * The name of the IntegerFloatMapJid actor.
     */
    public final static String INTEGER_FLOAT_MAP_JID_TYPE = "INTEGER_FLOAT_MAP_JID";

    /**
     * The name of the IntegerDoubleMapJid actor.
     */
    public final static String INTEGER_DOUBLE_MAP_JID_TYPE = "INTEGER_DOUBLE_MAP_JID";

    /**
     * The name of the IntegerBooleanMapJid actor.
     */
    public final static String INTEGER_BOOLEAN_MAP_JID_TYPE = "INTEGER_BOOLEAN_MAP_JID";

    /**
     * The name of the LongStringMapJid actor.
     */
    public final static String LONG_STRING_MAP_JID_TYPE = "LONG_STRING_MAP_JID";

    /**
     * The name of the LongBytesMapJid actor.
     */
    public final static String LONG_BYTES_MAP_JID_TYPE = "LONG_BYTES_MAP_JID";

    /**
     * The name of the LongActorMapJid actor.
     */
    public final static String LONG_ACTOR_MAP_JID_TYPE = "LONG_ACTOR_MAP_JID";

    /**
     * The name of the LongLongMapJid actor.
     */
    public final static String LONG_LONG_MAP_JID_TYPE = "LONG_LONG_MAP_JID";

    /**
     * The name of the LongIntegerMapJid actor.
     */
    public final static String LONG_INTEGER_MAP_JID_TYPE = "LONG_INTEGER_MAP_JID";

    /**
     * The name of the LongFloatMapJid actor.
     */
    public final static String LONG_FLOAT_MAP_JID_TYPE = "LONG_FLOAT_MAP_JID";

    /**
     * The name of the LongDoubleMapJid actor.
     */
    public final static String LONG_DOUBLE_MAP_JID_TYPE = "LONG_DOUBLE_MAP_JID";

    /**
     * The name of the LongBooleanMapJid actor.
     */
    public final static String LONG_BOOLEAN_MAP_JID_TYPE = "LONG_BOOLEAN_MAP_JID";

    /**
     * Process the requirements and assign the parent actor.
     * Once assigned, it can not be changed.
     *
     * @param mailbox      A mailbox which may be shared with other actors.
     * @param parent       The parent actor.
     * @param actorFactory The factory.
     */
    @Override
    public void initialize(Mailbox mailbox, Actor parent, ActorFactory actorFactory)
            throws Exception {
        if (parent == null) {
            parent = new JAFactory();
            ((JAFactory) parent).initialize(mailbox);
        }
        super.initialize(mailbox, parent, actorFactory);

        Actor f = parent;
        while (!(f instanceof JAFactory)) f = f.getParent();
        JAFactory factory = (JAFactory) f;

        factory.registerActorFactory(JidFactory.fac);

        factory.registerActorFactory(BooleanJidFactory.fac);
        factory.registerActorFactory(IntegerJidFactory.fac);
        factory.registerActorFactory(LongJidFactory.fac);
        factory.registerActorFactory(FloatJidFactory.fac);
        factory.registerActorFactory(DoubleJidFactory.fac);

        factory.registerActorFactory(ActorJidFactory.fac);
        factory.registerActorFactory(RootJidFactory.fac);
        factory.registerActorFactory(StringJidFactory.fac);
        factory.registerActorFactory(BytesJidFactory.fac);

        factory.registerActorFactory(new BListJidFactory(STRING_BLIST_JID_TYPE, StringJidFactory.fac));
        factory.registerActorFactory(new BListJidFactory(BYTES_BLIST_JID_TYPE, BytesJidFactory.fac));
        factory.registerActorFactory(new BListJidFactory(ACTOR_BLIST_JID_TYPE, ActorJidFactory.fac));
        factory.registerActorFactory(new BListJidFactory(LONG_BLIST_JID_TYPE, LongJidFactory.fac));
        factory.registerActorFactory(new BListJidFactory(INTEGER_BLIST_JID_TYPE, IntegerJidFactory.fac));
        factory.registerActorFactory(new BListJidFactory(FLOAT_BLIST_JID_TYPE, FloatJidFactory.fac));
        factory.registerActorFactory(new BListJidFactory(DOUBLE_BLIST_JID_TYPE, DoubleJidFactory.fac));
        factory.registerActorFactory(new BListJidFactory(BOOLEAN_BLIST_JID_TYPE, BooleanJidFactory.fac));

        factory.registerActorFactory(new ListJidFactory(STRING_LIST_JID_TYPE, StringJidFactory.fac));
        factory.registerActorFactory(new ListJidFactory(BYTES_LIST_JID_TYPE, BytesJidFactory.fac));
        factory.registerActorFactory(new ListJidFactory(ACTOR_LIST_JID_TYPE, ActorJidFactory.fac));
        factory.registerActorFactory(new ListJidFactory(LONG_LIST_JID_TYPE, LongJidFactory.fac));
        factory.registerActorFactory(new ListJidFactory(INTEGER_LIST_JID_TYPE, IntegerJidFactory.fac));
        factory.registerActorFactory(new ListJidFactory(FLOAT_LIST_JID_TYPE, FloatJidFactory.fac));
        factory.registerActorFactory(new ListJidFactory(DOUBLE_LIST_JID_TYPE, DoubleJidFactory.fac));
        factory.registerActorFactory(new ListJidFactory(BOOLEAN_LIST_JID_TYPE, BooleanJidFactory.fac));

        factory.registerActorFactory(new StringMapJidFactory(STRING_STRING_MAP_JID_TYPE, StringJidFactory.fac));
        factory.registerActorFactory(new StringMapJidFactory(STRING_BYTES_MAP_JID_TYPE, BytesJidFactory.fac));
        factory.registerActorFactory(new StringMapJidFactory(STRING_ACTOR_MAP_JID_TYPE, ActorJidFactory.fac));
        factory.registerActorFactory(new StringMapJidFactory(STRING_LONG_MAP_JID_TYPE, LongJidFactory.fac));
        factory.registerActorFactory(new StringMapJidFactory(STRING_INTEGER_MAP_JID_TYPE, IntegerJidFactory.fac));
        factory.registerActorFactory(new StringMapJidFactory(STRING_FLOAT_MAP_JID_TYPE, FloatJidFactory.fac));
        factory.registerActorFactory(new StringMapJidFactory(STRING_DOUBLE_MAP_JID_TYPE, DoubleJidFactory.fac));
        factory.registerActorFactory(new StringMapJidFactory(STRING_BOOLEAN_MAP_JID_TYPE, BooleanJidFactory.fac));

        factory.registerActorFactory(new IntegerMapJidFactory(INTEGER_STRING_MAP_JID_TYPE, StringJidFactory.fac));
        factory.registerActorFactory(new IntegerMapJidFactory(INTEGER_BYTES_MAP_JID_TYPE, BytesJidFactory.fac));
        factory.registerActorFactory(new IntegerMapJidFactory(INTEGER_ACTOR_MAP_JID_TYPE, ActorJidFactory.fac));
        factory.registerActorFactory(new IntegerMapJidFactory(INTEGER_LONG_MAP_JID_TYPE, LongJidFactory.fac));
        factory.registerActorFactory(new IntegerMapJidFactory(INTEGER_INTEGER_MAP_JID_TYPE, IntegerJidFactory.fac));
        factory.registerActorFactory(new IntegerMapJidFactory(INTEGER_FLOAT_MAP_JID_TYPE, FloatJidFactory.fac));
        factory.registerActorFactory(new IntegerMapJidFactory(INTEGER_DOUBLE_MAP_JID_TYPE, DoubleJidFactory.fac));
        factory.registerActorFactory(new IntegerMapJidFactory(INTEGER_BOOLEAN_MAP_JID_TYPE, BooleanJidFactory.fac));

        factory.registerActorFactory(new LongMapJidFactory(LONG_STRING_MAP_JID_TYPE, StringJidFactory.fac));
        factory.registerActorFactory(new LongMapJidFactory(LONG_BYTES_MAP_JID_TYPE, BytesJidFactory.fac));
        factory.registerActorFactory(new LongMapJidFactory(LONG_ACTOR_MAP_JID_TYPE, ActorJidFactory.fac));
        factory.registerActorFactory(new LongMapJidFactory(LONG_LONG_MAP_JID_TYPE, LongJidFactory.fac));
        factory.registerActorFactory(new LongMapJidFactory(LONG_INTEGER_MAP_JID_TYPE, IntegerJidFactory.fac));
        factory.registerActorFactory(new LongMapJidFactory(LONG_FLOAT_MAP_JID_TYPE, FloatJidFactory.fac));
        factory.registerActorFactory(new LongMapJidFactory(LONG_DOUBLE_MAP_JID_TYPE, DoubleJidFactory.fac));
        factory.registerActorFactory(new LongMapJidFactory(LONG_BOOLEAN_MAP_JID_TYPE, BooleanJidFactory.fac));

        factory.registerActorFactory(new StringBMapJidFactory(STRING_STRING_BMAP_JID_TYPE, StringJidFactory.fac));
        factory.registerActorFactory(new StringBMapJidFactory(STRING_BYTES_BMAP_JID_TYPE, BytesJidFactory.fac));
        factory.registerActorFactory(new StringBMapJidFactory(STRING_ACTOR_BMAP_JID_TYPE, ActorJidFactory.fac));
        factory.registerActorFactory(new StringBMapJidFactory(STRING_LONG_BMAP_JID_TYPE, LongJidFactory.fac));
        factory.registerActorFactory(new StringBMapJidFactory(STRING_INTEGER_BMAP_JID_TYPE, IntegerJidFactory.fac));
        factory.registerActorFactory(new StringBMapJidFactory(STRING_FLOAT_BMAP_JID_TYPE, FloatJidFactory.fac));
        factory.registerActorFactory(new StringBMapJidFactory(STRING_DOUBLE_BMAP_JID_TYPE, DoubleJidFactory.fac));
        factory.registerActorFactory(new StringBMapJidFactory(STRING_BOOLEAN_BMAP_JID_TYPE, BooleanJidFactory.fac));

        factory.registerActorFactory(new IntegerBMapJidFactory(INTEGER_STRING_BMAP_JID_TYPE, StringJidFactory.fac));
        factory.registerActorFactory(new IntegerBMapJidFactory(INTEGER_BYTES_BMAP_JID_TYPE, BytesJidFactory.fac));
        factory.registerActorFactory(new IntegerBMapJidFactory(INTEGER_ACTOR_BMAP_JID_TYPE, ActorJidFactory.fac));
        factory.registerActorFactory(new IntegerBMapJidFactory(INTEGER_LONG_BMAP_JID_TYPE, LongJidFactory.fac));
        factory.registerActorFactory(new IntegerBMapJidFactory(INTEGER_INTEGER_BMAP_JID_TYPE, IntegerJidFactory.fac));
        factory.registerActorFactory(new IntegerBMapJidFactory(INTEGER_FLOAT_BMAP_JID_TYPE, FloatJidFactory.fac));
        factory.registerActorFactory(new IntegerBMapJidFactory(INTEGER_DOUBLE_BMAP_JID_TYPE, DoubleJidFactory.fac));
        factory.registerActorFactory(new IntegerBMapJidFactory(INTEGER_BOOLEAN_BMAP_JID_TYPE, BooleanJidFactory.fac));

        factory.registerActorFactory(new LongBMapJidFactory(LONG_STRING_BMAP_JID_TYPE, StringJidFactory.fac));
        factory.registerActorFactory(new LongBMapJidFactory(LONG_BYTES_BMAP_JID_TYPE, BytesJidFactory.fac));
        factory.registerActorFactory(new LongBMapJidFactory(LONG_ACTOR_BMAP_JID_TYPE, ActorJidFactory.fac));
        factory.registerActorFactory(new LongBMapJidFactory(LONG_LONG_BMAP_JID_TYPE, LongJidFactory.fac));
        factory.registerActorFactory(new LongBMapJidFactory(LONG_INTEGER_BMAP_JID_TYPE, IntegerJidFactory.fac));
        factory.registerActorFactory(new LongBMapJidFactory(LONG_FLOAT_BMAP_JID_TYPE, FloatJidFactory.fac));
        factory.registerActorFactory(new LongBMapJidFactory(LONG_DOUBLE_BMAP_JID_TYPE, DoubleJidFactory.fac));
        factory.registerActorFactory(new LongBMapJidFactory(LONG_BOOLEAN_BMAP_JID_TYPE, BooleanJidFactory.fac));
    }
}
TOP

Related Classes of org.agilewiki.jid.JidFactories

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.