alvinalexander.com | career | drupal | java | mac | mysql | perl | scala | uml | unix  

Glassfish example source code file (Bundle.properties)

This example Glassfish source code file (Bundle.properties) is included in the DevDaily.com "Java Source Code Warehouse" project. The intent of this project is to help you "Learn Java by Example" TM.

Java - Glassfish tags/keywords

cddl, convert, gpl, gpl, id, key, key, license, license, pc, primary, primary, the, version

The Glassfish Bundle.properties source code

#
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
#
# Copyright (c) 1997-2010 Oracle and/or its affiliates. All rights reserved.
#
# The contents of this file are subject to the terms of either the GNU
# General Public License Version 2 only ("GPL") or the Common Development
# and Distribution License("CDDL") (collectively, the "License").  You
# may not use this file except in compliance with the License.  You can
# obtain a copy of the License at
# https://glassfish.dev.java.net/public/CDDL+GPL_1_1.html
# or packager/legal/LICENSE.txt.  See the License for the specific
# language governing permissions and limitations under the License.
#
# When distributing the software, include this License Header Notice in each
# file and include the License file at packager/legal/LICENSE.txt.
#
# GPL Classpath Exception:
# Oracle designates this particular file as subject to the "Classpath"
# exception as provided by Oracle in the GPL Version 2 section of the License
# file that accompanied this code.
#
# Modifications:
# If applicable, add the following below the License Header, with the fields
# enclosed by brackets [] replaced by your own identifying information:
# "Portions Copyright [year] [name of copyright owner]"
#
# Contributor(s):
# If you wish your version of this file to be governed by only the CDDL or
# only the GPL Version 2, indicate your decision by adding "[Contributor]
# elects to include this software in this distribution under the [CDDL or GPL
# Version 2] license."  If you don't indicate a single choice of license, a
# recipient has the option to distribute your version of this file under
# either the CDDL, the GPL Version 2 or to extend the choice of license to
# its licensees as provided above.  However, if you add GPL Version 2 code
# and therefore, elected the GPL Version 2 license, then the option applies
# only if the new code is made subject to such option by the copyright
# holder.
#

# This Bundle.properties file contains log messages for the ejb entity runtime.
# All log messages for the entity runtime components (lifecycle, finder, and internal)
# are in this file.

# resource bundle for the messages
# key consists of: <PREFIX_>
# <PREFIX_> - any valid prefix like MSG_, EXC_, etc.
# <description> - short description started with the upper case letter and used
# upper case to represent each next word.
# 
# The message ID for a message in persistence is derived as follows:
# JDO<2_digit_bundle_prefix><1_digit_section_number><2_digit_serial_number>
#
# The 2 digit prefix for this bundle is 73.
# 
# When adding a new message:
# 1. Please make sure that you add the message to the end of the file.
# 2. Please add message ID to any user visible message.
# 3. The message ID for the new message = message ID for the last numbered 
#    message in the file + 1.
# 4. Please do not change message number for existing messages. These numbers 
#    are potentially mapped to more explanation about the message for the end 
#    user.
#

###############################################################################
# <This bundle is not divided into sections.>
# Message ID Range: JDO73000 - JDO73999
###############################################################################
#{0}=name of EJB object class
EXC_ConvertEJBObjectToPC=JDO73000: Convert EJBObject to PC failed for:  {0}.

#{0}=Primary Key instance
EXC_ConvertPCToEJBObject=JDO73001: Convert PC to EJBObject failed for Primary Key:  {0}.

#{0}=Primary Key instance
EXC_ConvertPCToEJBLocalObject=JDO73002: Convert PC to EJBLocalObject failed for Primary Key:  {0}.

#{0}=Primary Key instance
EXC_ConvertPCToEJBLocalObjectCtx=JDO73003: Convert PC to EJBLocalObject with the given EJBContext failed for Primary Key:  {0}.

#{0}=Primary Key instance.
EXC_DeletedInstanceThisTx=JDO73004: Instance with Primary Key: {0} has been deleted in this transaction.

#{0}=Primary Key instance.
EXC_DeletedInstanceOtherTx=JDO73005: Instance with Primary Key: {0} has been deleted in another transaction.

#{0}=name of serializable class
EXC_IOWriteSerializableObject=JDO73006: IOException writing serializable object to byte array:  {0}.

EXC_CNFReadSerializableObject=JDO73007: ClassNotFoundException reading serializable object from byte array.
EXC_IOReadSerializableObject=JDO73008: IOException reading serializable object from byte array.

#{0}=parameter class name.
#{1}=ejb-name
#{2}=exception message thrown by the container.
EXC_WrongLocalInstance=JDO73009: Parameter instance of class ''{0}'' is not a valid local interface instance for bean ''{1}'': {2}

#{0}=parameter class name.
#{1}=ejb-name
#{2}=exception message thrown by the container.
EXC_WrongRemoteInstance=JDO73010: Parameter instance of class ''{0}'' is not a valid remote interface instance for bean ''{1}'': {2}

EXC_pknull_exception=JDO73011: Primary Key cannot be null.
EXC_oidnull_exception=JDO73012: Object Id cannot be null.

#{0}=Primary Key field name
#{1}=ejb-name
EXC_pkfieldnull_exception=JDO73013: Primary Key field {0} for bean ''{1}'' cannot be null.

Other Glassfish examples (source code examples)

Here is a short list of links related to this Glassfish Bundle.properties source code file:

... this post is sponsored by my books ...

#1 New Release!

FP Best Seller

 

new blog posts

 

Copyright 1998-2021 Alvin Alexander, alvinalexander.com
All Rights Reserved.

A percentage of advertising revenue from
pages under the /java/jwarehouse URI on this website is
paid back to open source projects.