Package com.bleujin.framework.db.servant

Examples of com.bleujin.framework.db.servant.NoneServant


            Configuration[] configOfServant = config.getChildren("extra-servant.configured-object");
            ExtraServant eservant = null;

            // None Channel...
            if (configOfServant == null || configOfServant.length <= 0) {
                echannel = new ServantChannel(new NoneServant());
            } else {
                for (int i = 0; i < configOfServant.length; i++) {
                    if (i == 0) {
                        eservant = (ExtraServant) InstanceCreator.createConfiguredInstance(configOfServant[i]);
                        echannel = new ServantChannel(eservant);
View Full Code Here


    public DBController(DBManager dbm) {
        this("Anonymous controller", dbm);
    }

    public DBController(String name, DBManager dbm) {
        this(name, dbm, new NoneServant());
    }
View Full Code Here

    @Deprecated
    private static DBController TEST_CONSTROLLER ;
    @Deprecated
    public static DBController getTestInstance(){
      if (TEST_CONSTROLLER == null)
        TEST_CONSTROLLER = new DBController("test", new OracleDBManager("jdbc:oracle:thin:@novision:1521:bleujin", "al", "redf"), new NoneServant()) ;
      return TEST_CONSTROLLER ;
    }
View Full Code Here

import com.bleujin.framework.db.servant.ServantChannel;

public class DBSimpleConstroller extends DBController{

  public DBSimpleConstroller(String name, DBManager dbm) throws DBControllerInstantiationException {
    super(name, dbm, new NoneServant());
  }
View Full Code Here

public class BatchDBController extends DBController { // implements Configurable

    private ExtraServant servant = null ;

    public BatchDBController(String name, DBManager dbm) {
        this(name, dbm, new NoneServant());
    }
View Full Code Here

            Configuration[] configOfServant = config.getChildren("extra-servant.configured-object");
            ExtraServant eservant = null;

            // None Channel...
            if (configOfServant == null || configOfServant.length <= 0) {
                echannel = new ServantChannel(new NoneServant());
            } else {
                for (int i = 0; i < configOfServant.length; i++) {
                    if (i == 0) {
                        eservant = (ExtraServant) InstanceCreator.createConfiguredInstance(configOfServant[i]);
                        echannel = new ServantChannel(eservant);
View Full Code Here

    public DBController(DBManager dbm) {
        this("Anonymous controller", dbm);
    }

    public DBController(String name, DBManager dbm) {
        this(name, dbm, new NoneServant());
    }
View Full Code Here

    @Deprecated
    private static DBController TEST_CONSTROLLER ;
    @Deprecated
    public static DBController getTestInstance(){
      if (TEST_CONSTROLLER == null)
        TEST_CONSTROLLER = new DBController("test", new OracleDBManager("jdbc:oracle:thin:@novision:1521:bleujin", "al", "redf"), new NoneServant()) ;
      return TEST_CONSTROLLER ;
    }
View Full Code Here

TOP

Related Classes of com.bleujin.framework.db.servant.NoneServant

Copyright © 2018 www.massapicom. 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.