⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 jndinames.java

📁 哈工大CERP系统Java源码及开发说明.rar 内容十分详尽
💻 JAVA
字号:
/*
 * $Id: JNDINames.java,v 1.1.1.1 2002/02/02 05:20:24 Administrator Exp $
 * Copyright 2001 Sun Microsystems, Inc. All rights reserved.
 * Copyright 2001 Sun Microsystems, Inc. Tous droits r閟erv閟.
 */

package com.huiton.mainframe.util;

/**
 * This class is the central location to store the internal
 * JNDI names of various entities. Any change here should
 * also be reflected in the deployment descriptors.
 */
public interface JNDINames {

    //
    // JNDI names of EJB home objects
    //
    public static final String CATALOG_EJBHOME =
        "java:comp/env/ejb/catalog/Catalog";

    /** JNDI name of the home interface of ShoppingClientController EJB */
    public static final String CCC_EJBHOME =
        "java:comp/env/ejb/ccc/Ccc";

    /** JNDI name of the home interface of ShoppingCart */
    public static final String CART_EJBHOME =
        "java:comp/env/ejb/cart/Cart";

    public static final String PROFILEMGR_EJBHOME =
        "java:comp/env/ejb/profilemgr/ProfileMgr";

    public static final String CUSTOMER_EJBHOME =
        "java:comp/env/ejb/customer/Customer";

    public static final String ORDER_EJBHOME =
        "java:comp/env/ejb/order/Order";

    public static final String INVENTORY_EJBHOME =
        "java:comp/env/ejb/inventory/Inventory";

    public static final String MAILER_EJBHOME =
        "java:comp/env/ejb/mail/Mailer";

    public static final String SIGNON_EJBHOME =
        "java:comp/env/ejb/signon/Signon";

    //
    // JNDI Names of data sources.
    //
    public static final String INVENTORY_DATASOURCE =
        "java:comp/env/jdbc/InventoryDataSource";

    public static final String ESTORE_DATASOURCE =
        "java:comp/env/jdbc/EstoreDataSource";

    //
    // JNDI Names of other resources.
    //
    public static final String MAIL_SESSION =
        "java:comp/env/mail/MailSession";

    //
    // JNDI Names of application properties.
    //
    //public static final String SECURITY_ADAPTER_CLASSNAME =
    //  "java:comp/env/securityAdapterClassName";

    public static final String SERVER_TYPE =
        "java:comp/env/server/ServerType";

    public static final String SEND_CONFIRMATION_MAIL =
        "java:comp/env/ejb/mail/SendConfirmationMail";
}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -