001: /*
002: * Copyright (c) 2001, 2002 The XDoclet team
003: * All rights reserved.
004: */
005: package xdoclet.modules.ejb;
006:
007: /**
008: * @author Ara Abrahamian (ara_e_w@yahoo.com)
009: * @author <a href="mailto:adrianprice at users.sf.net">Adrian Price</a>
010: * @created May 31, 2002
011: * @version $Revision: 1.1 $
012: */
013: public final class XDocletModulesEjbMessages {
014: /**
015: * @msg.bundle msg="Generated by XDoclet - Do not edit!"
016: */
017: public final static String DO_NOT_EDIT = "DO_NOT_EDIT";
018:
019: /**
020: * @msg.bundle msg="XDoclet can''t guess what CMP version to use for {0} because the <entitycmp> task isn't used,
021: * and there is no ejb:bean cmp-version tag. Please use one of them."
022: */
023: public final static String CANT_GUESS_CMP_VERSION = "CANT_GUESS_CMP_VERSION";
024:
025: /**
026: * @msg.bundle msg="Session layer for {0}."
027: */
028: public final static String SESSION_LAYER_FOR = "SESSION_LAYER_FOR";
029:
030: /**
031: * @msg.bundle msg="Home interface for {0}."
032: */
033: public final static String HOME_INTERFACE_FOR = "HOME_INTERFACE_FOR";
034:
035: /**
036: * @msg.bundle msg="Local home interface for {0}."
037: */
038: public final static String LOCAL_HOME_INTERFACE_FOR = "LOCAL_HOME_INTERFACE_FOR";
039:
040: /**
041: * @msg.bundle msg="Lookup using {0}"
042: */
043: public final static String UTIL_LOOKUP_USING = "UTIL_LOOKUP_USING";
044:
045: /**
046: * @msg.bundle msg="Local interface for {0}."
047: */
048: public final static String LOCAL_INTERFACE_FOR = "LOCAL_INTERFACE_FOR";
049:
050: /**
051: * @msg.bundle msg="Remote interface for {0}."
052: */
053: public final static String REMOTE_INTERFACE_FOR = "REMOTE_INTERFACE_FOR";
054:
055: /**
056: * @msg.bundle msg="Utility class for {0}."
057: */
058: public final static String UTILITY_CLASS_FOR = "UTILITY_CLASS_FOR";
059:
060: /**
061: * @msg.bundle msg="Data Access Object interface for {0}."
062: */
063: public final static String DAO_FOR = "DAO_FOR";
064:
065: /**
066: * @msg.bundle msg="DAO not defined in JNDI ''java:comp/env/{0}''"
067: */
068: public final static String DAO_IMPL_JNDI_NOT_SPECIFIED = "DAO_IMPL_JNDI_NOT_SPECIFIED";
069:
070: /**
071: * @msg.bundle msg="Exception while looking in JNDI for ''java:comp/env/{0}''"
072: */
073: public final static String DAO_JNDI_EXCEPTION = "DAO_JNDI_EXCEPTION";
074:
075: /**
076: * @msg.bundle msg="Primary key for {0}."
077: */
078: public final static String PRIMARY_KEY_FOR = "PRIMARY_KEY_FOR";
079:
080: /**
081: * @msg.bundle msg="CMP layer for {0}."
082: */
083: public final static String CMP_LAYER_FOR = "CMP_LAYER_FOR";
084:
085: /**
086: * @msg.bundle msg="Session facade for {0}."
087: */
088: public final static String SESSION_FACADE_FOR = "SESSION_FACADE_FOR";
089: /**
090: * @msg.bundle msg="Remote facade for {0}."
091: */
092: public final static String REMOTE_FACADE_FOR = "REMOTE_FACADE_FOR";
093:
094: /**
095: * @msg.bundle msg="BMP layer for {0}."
096: */
097: public final static String BMP_LAYER_FOR = "BMP_LAYER_FOR";
098:
099: /**
100: * @msg.bundle msg="Data object for {0}."
101: */
102: public final static String DATA_OBJECT_FOR = "DATA_OBJECT_FOR";
103:
104: /**
105: * @msg.bundle msg="Value object for {0}."
106: */
107: public final static String VALUE_OBJECT_FOR = "VALUE_OBJECT_FOR";
108:
109: /**
110: * @msg.bundle msg="A Value Object has an identity if the attributes making its Primary Key have all been set. An
111: * object without identity is never equal to any other object."
112: */
113: public final static String VALUE_OBJECT_IDENTITY_COMMENT = "VALUE_OBJECT_IDENTITY_COMMENT";
114:
115: /**
116: * @msg.bundle msg="if this instance has an identity."
117: */
118: public final static String VALUE_OBJECT_IDENTITY_RETURN = "VALUE_OBJECT_IDENTITY_RETURN";
119:
120: /**
121: * @msg.bundle msg="Generating Util class for ''{0}''."
122: */
123: public final static String GENERATING_UTIL_FOR = "GENERATING_UTIL_FOR";
124:
125: /**
126: * @msg.bundle msg="Generating DAO class for ''{0}''."
127: */
128: public final static String GENERATING_DAO_FOR = "GENERATING_DAO_FOR";
129:
130: /**
131: * @msg.bundle msg="Generating Data Object class for ''{0}''."
132: */
133: public final static String GENERATING_DATAOBJECT_FOR = "GENERATING_DATAOBJECT_FOR";
134: /**
135: * @msg.bundle msg="Generating Value Object class: ''{0}''."
136: */
137: public final static String GENERATING_VALUEOBJECT_FOR = "GENERATING_VALUEOBJECT_FOR";
138:
139: /**
140: * @msg.bundle msg="Generating EJB deployment descriptor ({0})."
141: */
142: public final static String GENERATING_DD = "GENERATING_DD";
143:
144: /**
145: * @msg.bundle msg="Generating BMP class for ''{0}''."
146: */
147: public final static String GENERATING_BMP_FOR = "GENERATING_BMP_FOR";
148:
149: /**
150: * @msg.bundle msg="Generating CMP class for ''{0}''."
151: */
152: public final static String GENERATING_CMP_FOR = "GENERATING_CMP_FOR";
153:
154: /**
155: * @msg.bundle msg="Generating PK class for ''{0}''."
156: */
157: public final static String GENERATING_PK_FOR = "GENERATING_PK_FOR";
158:
159: /**
160: * @msg.bundle msg="Generating Home interface for ''{0}''."
161: */
162: public final static String GENERATING_HOME_FOR = "GENERATING_HOME_FOR";
163:
164: /**
165: * @msg.bundle msg="Generating Local Home interface for ''{0}''."
166: */
167: public final static String GENERATING_LOCALHOME_FOR = "GENERATING_LOCALHOME_FOR";
168:
169: /**
170: * @msg.bundle msg="Generating Local interface for ''{0}''."
171: */
172: public final static String GENERATING_LOCAL_FOR = "GENERATING_LOCAL_FOR";
173:
174: /**
175: * @msg.bundle msg="Generating Remote interface for ''{0}''."
176: */
177: public final static String GENERATING_REMOTE_FOR = "GENERATING_REMOTE_FOR";
178:
179: /**
180: * @msg.bundle msg="Generating Session class for ''{0}''."
181: */
182: public final static String GENERATING_SESSION_FOR = "GENERATING_SESSION_FOR";
183:
184: /**
185: * @msg.bundle msg="Generating Facade EJB class for ''{0}''."
186: */
187: public final static String GENERATING_FACADE_FOR = "GENERATING_FACADE_FOR";
188:
189: /**
190: * @msg.bundle msg="Generating Remote Facade class for ''{0}''."
191: */
192: public final static String GENERATING_REMOTE_FACADE_FOR = "GENERATING_REMOTE_FACADE_FOR";
193:
194: /**
195: * @msg.bundle msg="Unsupported EJB Spec.: {0}"
196: */
197: public final static String UNSUPPORTED_EJB_SPEC = "UNSUPPORTED_EJB_SPEC";
198:
199: /**
200: * @msg.bundle msg="{0} has declared more than one ejb:relation. That''s illegal."
201: */
202: public final static String MULTIPLE_RELATIONS = "MULTIPLE_RELATIONS";
203:
204: /**
205: * @msg.bundle msg="must have attribute \"name\" for ejb:relation {0}"
206: */
207: public final static String RELATION_MUST_HAVE_NAME = "RELATION_MUST_HAVE_NAME";
208:
209: /**
210: * @msg.bundle msg="The {0} relation is declared in too many places. It''s declared in {1}, {2} and {3}."
211: */
212: public final static String RELATION_TOO_MANY_NAMES = "RELATION_TOO_MANY_NAMES";
213:
214: /**
215: * @msg.bundle msg="The relation with the name \"{0}\" declared in {1} seems to be unidirectional since it does
216: * not occur anywhere else. The target-ejb parameter must therefore be specified."
217: */
218: public final static String RELATION_NEEDS_TARGET = "RELATION_NEEDS_TARGET";
219:
220: /**
221: * @msg.bundle msg="The relation with the name \"{0}\" declared in {1} seems to be bidirectional since it is
222: * declared in two places. The target-ejb parameter must not be specified for bidirectional relationships."
223: */
224: public final static String RELATION_NEEDS_NO_TARGET = "RELATION_NEEDS_NO_TARGET";
225:
226: /**
227: * @msg.bundle msg="Should never swap for unidirectional relationships"
228: */
229: public final static String RELATION_SWAP_UNI = "RELATION_SWAP_UNI";
230:
231: /**
232: * @msg.bundle msg="Permission for findByPK method"
233: */
234: public final static String DD_FINDBYPK_PERM = "DD_FINDBYPK_PERM";
235:
236: /**
237: * @msg.bundle msg="description not supported yet by ejbdoclet"
238: */
239: public final static String DESCRIPTION_NOT_SUPPORTED = "DESCRIPTION_NOT_SUPPORTED";
240:
241: /**
242: * @msg.bundle msg="\"Wrong version. Had \" + getVersion() + \", got \" + dataHolder.getVersion()"
243: */
244: public final static String ENTITY_DATAHOLDER_VERSION = "ENTITY_DATAHOLDER_VERSION";
245:
246: /**
247: * @msg.bundle msg="Version number for soft locking"
248: */
249: public final static String SOFT_LOCK_VERSION = "SOFT_LOCK_VERSION";
250:
251: /**
252: * @msg.bundle msg="Cached remote home (EJBHome). Uses lazy loading to obtain its value (loaded by getHome()
253: * methods)."
254: */
255: public final static String UTIL_CACHED_REMOTE = "UTIL_CACHED_REMOTE";
256:
257: /**
258: * @msg.bundle msg="Cached local home (EJBLocalHome). Uses lazy loading to obtain its value (loaded by
259: * getLocalHome() methods)."
260: */
261: public final static String UTIL_CACHED_LOCAL = "UTIL_CACHED_LOCAL";
262:
263: /**
264: * @msg.bundle msg="Local homes shouldn''t be narrowed, as there is no RMI involved."
265: */
266: public final static String UTIL_LOCALHOME_NOT_NARROWED = "UTIL_LOCALHOME_NOT_NARROWED";
267:
268: /**
269: * @msg.bundle msg="Obtain local home interface from default initial context"
270: */
271: public final static String UTIL_OBTAIN_LOCALHOME_DEF_IC = "UTIL_OBTAIN_LOCALHOME_DEF_IC";
272:
273: /**
274: * @msg.bundle msg="Obtain remote home interface from parameterised initial context"
275: */
276: public final static String UTIL_OBTAIN_HOME_PARAM_IC = "UTIL_OBTAIN_HOME_PARAM_IC";
277:
278: /**
279: * @msg.bundle msg="Obtain remote home interface from default initial context"
280: */
281: public final static String UTIL_OBTAIN_HOME_DEF_IC = "UTIL_OBTAIN_HOME_DEF_IC";
282:
283: /**
284: * @msg.bundle msg="Parameters to use for creating initial context"
285: */
286: public final static String UTIL_IC_PARAMETERS = "UTIL_IC_PARAMETERS";
287:
288: /**
289: * @msg.bundle msg="Home interface lookup methods"
290: */
291: public final static String UTIL_HOME_LOOKUPS = "UTIL_HOME_LOOKUPS";
292:
293: /**
294: * @msg.bundle msg="Obtain initial context"
295: */
296: public final static String UTIL_OBTAIN_IC = "UTIL_OBTAIN_IC";
297:
298: /**
299: * @msg.bundle msg="A 32 byte GUID generator (Globally Unique ID). These artificial keys SHOULD <strong>NOT
300: * </strong> be seen by the user,"
301: */
302: public final static String UTIL_GUID_1 = "UTIL_GUID_1";
303:
304: /**
305: * @msg.bundle msg="not even touched by the DBA but with very rare exceptions, just manipulated by the database
306: * and the programs."
307: */
308: public final static String UTIL_GUID_2 = "UTIL_GUID_2";
309:
310: /**
311: * @msg.bundle msg="Usage: Add an id field (type java.lang.String) to your EJB, and add
312: * setId(XXXUtil.generateGUID(this)); to the ejbCreate method."
313: */
314: public final static String UTIL_GUID_USAGE = "UTIL_GUID_USAGE";
315:
316: /**
317: * @msg.bundle msg="Cached per JVM server IP."
318: */
319: public final static String UTIL_GUID_IP = "UTIL_GUID_IP";
320:
321: /**
322: * @msg.bundle msg="initialise the secure random instance"
323: */
324: public final static String UTIL_GUID_SECURERANDOM = "UTIL_GUID_SECURERANDOM";
325:
326: /**
327: * @msg.bundle msg="get the inet address"
328: */
329: public final static String UTIL_GUID_LOCALINETADDRESS = "UTIL_GUID_LOCALINETADDRESS";
330:
331: /**
332: * @msg.bundle msg="Could not get the local IP address using InetAddress.getLocalHost()!"
333: */
334: public final static String UTIL_GUID_UNKNOWNHOST = "UTIL_GUID_UNKNOWNHOST";
335:
336: /**
337: * @msg.bundle msg="getComponentInterface can only take type=remote|local - received type={0}"
338: */
339: public final static String INTERFACE_INVALID_TYPE = "INTERFACE_INVALID_TYPE";
340:
341: /**
342: * @msg.bundle msg="Error in template file. {0} must contain the type parameter. Allowed values are remote or
343: * local."
344: */
345: public final static String TAG_MISSING_TYPE_PARAMETER = "TAG_MISSING_TYPE_PARAMETER";
346:
347: /**
348: * @msg.bundle msg="The interface ''{0}'' not found!"
349: */
350: public final static String INTERFACE_NOT_FOUND = "INTERFACE_NOT_FOUND";
351:
352: /**
353: * @msg.bundle msg="The bean implementation class for interface ''{0}'' not found!"
354: */
355: public final static String INTERFACE_IMPL_NOT_FOUND = "INTERFACE_IMPL_NOT_FOUND";
356:
357: /**
358: * @msg.bundle msg="''pattern'' parameter does not have a '''{0'}'' in it. '''{0'}'' is replaced by EJB name of
359: * the class under processing."
360: */
361: public final static String PATTERN_HAS_NO_PLACEHOLDER = "PATTERN_HAS_NO_PLACEHOLDER";
362:
363: /**
364: * @msg.bundle msg="Could not load the bean implementation class for interface ''{0}''! Make sure it's available
365: * for ejbdoclet."
366: */
367: public final static String INTERFACE_IMPL_COULDNT_LOAD = "INTERFACE_IMPL_COULDNT_LOAD";
368:
369: /**
370: * @msg.bundle msg="The data-object class for interface ''{0}'' not known!"
371: */
372: public final static String INTERFACE_DATAOBJECT_NOT_KNOWN = "INTERFACE_DATAOBJECT_NOT_KNOWN";
373:
374: /**
375: * @msg.bundle msg="No such EJB defined: {0}"
376: */
377: public final static String NOT_DEFINED = "NOT_DEFINED";
378:
379: /**
380: * @msg.bundle msg="Class ''{0}'' should be defined abstract if you want the ''{1}'' sub-task to generate the
381: * subclass properly."
382: */
383: public final static String CLASS_NOT_ABSTRACT = "CLASS_NOT_ABSTRACT";
384:
385: /**
386: * @msg.bundle msg="{0} can only take type=remote|local - received type={1}"
387: */
388: public final static String METHOD_ONLY_TAKES_REMOTE_OR_LOCAL = "METHOD_ONLY_TAKES_REMOTE_OR_LOCAL";
389:
390: /**
391: * @msg.bundle msg="You asked the bean class for a NULL interface name"
392: */
393: public final static String ASK_FOR_BEAN_FROM_NULL_INTERFACE = "ASK_FOR_BEAN_FROM_NULL_INTERFACE";
394:
395: /**
396: * @msg.bundle msg="Data class not found"
397: */
398: public final static String DATACLASS_NOT_FOUND = "DATACLASS_NOT_FOUND";
399:
400: /**
401: * @msg.bundle msg="Generated ejbPostCreate for corresponding ejbCreate method."
402: */
403: public final static String GENERATED_EJBPOSTCREATE = "GENERATED_EJBPOSTCREATE";
404:
405: /**
406: * @msg.bundle msg="The Bean class is needed but not found in Xdoclet source path for interface {0}"
407: */
408: public final static String BEAN_CLASS_NOT_FOUND_FOR_INTERFACE = "BEAN_CLASS_NOT_FOUND_FOR_INTERFACE";
409:
410: /**
411: * @msg.bundle msg="The current method is not a create method: {0}"
412: */
413: public final static String CURRENT_METHOD_NOT_CREATE = "CURRENT_METHOD_NOT_CREATE";
414:
415: /**
416: * @msg.bundle msg="XDoclet classpath missing J2EE classes"
417: */
418: public final static String MISSING_J2EE_CLASSES = "MISSING_J2EE_CLASSES";
419:
420: /**
421: * @msg.bundle msg="The local JNDI name of the home interface; used by component references."
422: */
423: public final static String JNDI_COMPONENT_NAME = "JNDI_COMPONENT_NAME";
424:
425: /**
426: * @msg.bundle msg="The global JNDI name of the home interface; used by client code."
427: */
428: public final static String JNDI_GLOBAL_NAME = "JNDI_GLOBAL_NAME";
429: }
|