DynValueImpl.java revision 608:7e06bf1dcb09
1183234Ssimon/* 2183234Ssimon * Copyright (c) 2000, 2003, Oracle and/or its affiliates. All rights reserved. 3238405Sjkim * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 4183234Ssimon * 5183234Ssimon * This code is free software; you can redistribute it and/or modify it 6183234Ssimon * under the terms of the GNU General Public License version 2 only, as 7183234Ssimon * published by the Free Software Foundation. Oracle designates this 8183234Ssimon * particular file as subject to the "Classpath" exception as provided 9183234Ssimon * by Oracle in the LICENSE file that accompanied this code. 10280304Sjkim * 11183234Ssimon * This code is distributed in the hope that it will be useful, but WITHOUT 12183234Ssimon * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 13183234Ssimon * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License 14183234Ssimon * version 2 for more details (a copy is included in the LICENSE file that 15183234Ssimon * accompanied this code). 16183234Ssimon * 17183234Ssimon * You should have received a copy of the GNU General Public License version 18183234Ssimon * 2 along with this work; if not, write to the Free Software Foundation, 19183234Ssimon * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 20183234Ssimon * 21183234Ssimon * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA 22183234Ssimon * or visit www.oracle.com if you need additional information or have any 23183234Ssimon * questions. 24183234Ssimon */ 25183234Ssimon 26183234Ssimonpackage com.sun.corba.se.impl.dynamicany; 27183234Ssimon 28183234Ssimonimport org.omg.CORBA.TypeCode; 29183234Ssimonimport org.omg.CORBA.TCKind; 30183234Ssimonimport org.omg.CORBA.Any; 31183234Ssimonimport org.omg.CORBA.TypeCodePackage.BadKind; 32183234Ssimonimport org.omg.CORBA.TypeCodePackage.Bounds; 33183234Ssimonimport org.omg.DynamicAny.*; 34183234Ssimonimport org.omg.DynamicAny.DynAnyPackage.TypeMismatch; 35183234Ssimonimport org.omg.DynamicAny.DynAnyPackage.InvalidValue; 36183234Ssimonimport org.omg.DynamicAny.DynAnyFactoryPackage.InconsistentTypeCode; 37183234Ssimon 38183234Ssimonimport com.sun.corba.se.spi.orb.ORB ; 39183234Ssimonimport com.sun.corba.se.spi.logging.CORBALogDomains ; 40183234Ssimonimport com.sun.corba.se.impl.logging.ORBUtilSystemException ; 41183234Ssimon 42183234Ssimonpublic class DynValueImpl extends DynValueCommonImpl implements DynValue 43183234Ssimon{ 44183234Ssimon // 45183234Ssimon // Constructors 46183234Ssimon // 47183234Ssimon 48183234Ssimon private DynValueImpl() { 49183234Ssimon this(null, (Any)null, false); 50183234Ssimon } 51183234Ssimon 52183234Ssimon protected DynValueImpl(ORB orb, Any any, boolean copyValue) { 53183234Ssimon super(orb, any, copyValue); 54183234Ssimon } 55183234Ssimon 56280304Sjkim protected DynValueImpl(ORB orb, TypeCode typeCode) { 57280304Sjkim super(orb, typeCode); 58183234Ssimon } 59183234Ssimon} 60183234Ssimon