KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > sun > j2ee > blueprints > opc > JNDINames


1 /*
2 * Copyright 2005 Sun Microsystems, Inc. All rights reserved.
3 *
4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions
6 * are met:
7 *
8 * - Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer.
10 *
11 * - Redistribution in binary form must reproduce the above copyright
12 * notice, this list of conditions and the following disclaimer in
13 * the documentation and/or other materials provided with the
14 * distribution.
15 *
16 * Neither the name of Sun Microsystems, Inc. or the names of
17 * contributors may be used to endorse or promote products derived
18 * from this software without specific prior written permission.
19 *
20 * This software is provided "AS IS," without a warranty of any
21 * kind. ALL EXPRESS OR IMPLIED CONDITIONS, REPRESENTATIONS AND
22 * WARRANTIES, INCLUDING ANY IMPLIED WARRANTY OF MERCHANTABILITY,
23 * FITNESS FOR A PARTICULAR PURPOSE OR NON-INFRINGEMENT, ARE HEREBY
24 * EXCLUDED. SUN AND ITS LICENSORS SHALL NOT BE LIABLE FOR ANY DAMAGES
25 * SUFFERED BY LICENSEE AS A RESULT OF USING, MODIFYING OR
26 * DISTRIBUTING THE SOFTWARE OR ITS DERIVATIVES. IN NO EVENT WILL SUN
27 * OR ITS LICENSORS BE LIABLE FOR ANY LOST REVENUE, PROFIT OR DATA, OR
28 * FOR DIRECT, INDIRECT, SPECIAL, CONSEQUENTIAL, INCIDENTAL OR
29 * PUNITIVE DAMAGES, HOWEVER CAUSED AND REGARDLESS OF THE THEORY OF
30 * LIABILITY, ARISING OUT OF THE USE OF OR INABILITY TO USE SOFTWARE,
31 * EVEN IF SUN HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
32 *
33 * You acknowledge that Software is not designed, licensed or intended
34 * for use in the design, construction, operation or maintenance of
35 * any nuclear facility.
36 */

37 package com.sun.j2ee.blueprints.opc;
38
39 /**
40  * JNDI names of various entities used by the OPC
41  */

42 public class JNDINames {
43
44     // JNDI name of Process Manager EJB
45
public static final String JavaDoc PM_EJB = "java:comp/env/ejb/local/processmanager/ProcessManager";
46   
47     // JNDI name of PO EJB
48
public static final String JavaDoc PO_EJB = "java:comp/env/ejb/local/purchaseorder/PurchaseOrder";
49
50     // JNDI name of Unique Id Generator EJB
51
public static final String JavaDoc UIDGEN_EJB = "java:comp/env/ejb/local/uidgen/UniqueIdGenerator";
52
53     // JNDI name of OPC Queue Connection Factory
54
public static final String JavaDoc OPC_QUEUE_CONNECTION_FACTORY = "java:comp/env/jms/opc/QueueConnectionFactory";
55
56     // JNDI name of OPC Work Flow Manager MDB Queue
57
public static final String JavaDoc WORKFLOW_MGR_MDB_QUEUE= "java:comp/env/jms/opc/WorkFlowMgrQueue";
58
59     // JNDI name of OPC Order Filler MDB Queue
60
public static final String JavaDoc ORDER_FILLER_MDB_QUEUE= "java:comp/env/jms/opc/OrderFillerQueue";
61
62     // JNDI Name for Broker's queue
63
public static final String JavaDoc WS_BROKER_MDB_QUEUE = "java:comp/env/jms/opc/WebServiceBrokerQueue";
64
65     // JNDI Name for CRM queue
66
public static final String JavaDoc CRM_MDB_QUEUE = "java:comp/env/jms/opc/CRMQueue";
67
68     // JNDI name for DOCTYPE to be set in JMS property
69
public static final String JavaDoc DOC_TYPE = "DOCUMENT_TYPE";
70
71     // JNDI Name for PO document
72
public static final String JavaDoc PO_DOCUMENT = "PO_DOCUMENT";
73
74     // JNDI Name for mail document
75
public static final String JavaDoc MAIL_DOCUMENT = "MAIL_DOCUMENT";
76
77     // JNDI names for the supplier order doc types
78
public static final String JavaDoc ACTIVITY_ORDER = "ACTIVITY_ORDER";
79     public static final String JavaDoc LODGING_ORDER = "LODGING_ORDER";
80     public static final String JavaDoc AIRLINE_ORDER = "AIRLINE_ORDER";
81
82     // JNDI Names for invoice document
83
public static final String JavaDoc INVOICE_DOCUMENT = "INVOICE_DOCUMENT";
84
85     // JNDI names for invoice sender type
86
public static final String JavaDoc ACTIVITY_INVOICE = "ACTIVITY_INVOICE";
87     public static final String JavaDoc LODGING_INVOICE = "LODGING_INVOICE";
88     public static final String JavaDoc AIRLINE_INVOICE = "AIRLINE_INVOICE";
89
90     // JNDI names for Supplier Factory Classes
91
public static final String JavaDoc ACTIVITY_SUPPLIER_CLIENT = "java:comp/env/param/ActivitySupplier";
92     public static final String JavaDoc LODGING_SUPPLIER_CLIENT = "java:comp/env/param/LodgingSupplier";
93     public static final String JavaDoc AIRLINE_SUPPLIER_CLIENT = "java:comp/env/param/AirlineSupplier";
94
95     // JNDI Names for supplier services
96
public static final String JavaDoc LODGING_SERVICE_NAME = "java:comp/env/service/LodgingPOService";
97     public static final String JavaDoc ACTIVITY_SERVICE_NAME = "java:comp/env/service/ActivityPOService";
98     public static final String JavaDoc AIRLINE_SERVICE_NAME = "java:comp/env/service/AirlinePOService";
99     
100     // JNDI Name for credit card service
101
public static final String JavaDoc CREDIT_CARD_SERVICE_NAME = "java:comp/env/service/CreditCardService";
102     
103     // JNDI Names for endpoints
104
public static final String JavaDoc LODGING_SERVICE_URL = "java:comp/env/param/LodgingServiceURL";
105     public static final String JavaDoc ACTIVITY_SERVICE_URL = "java:comp/env/param/ActivityServiceURL";
106     public static final String JavaDoc AIRLINE_SERVICE_URL = "java:comp/env/param/AirlineServiceURL";
107     public static final String JavaDoc CREDIT_CARD_SERVICE_URL = "java:comp/env/param/CreditCardServiceURL";
108
109     //JNDI name for the environment entry to enable email notifications
110
public static final String JavaDoc SEND_MAIL = "java:comp/env/param/SendMail";
111
112    //JNDI name for the environment entries to configure the timer to update order status
113
public static final String JavaDoc TIMER_EXPIRATION = "java:comp/env/param/OrderStatusTimerInitialExpiration";
114     public static final String JavaDoc TIMER_INTERVAL = "java:comp/env/param/OrderStatusTimerInterval";
115
116 }
117
Popular Tags