diff options
author | Anthony Green <green@redhat.com> | 2000-11-27 03:16:14 +0000 |
---|---|---|
committer | Anthony Green <green@gcc.gnu.org> | 2000-11-27 03:16:14 +0000 |
commit | 18205ca3b63fa0536ce6db35b4f1e264bdda5276 (patch) | |
tree | fddd25f01c276e915b483a1138befefd75ad4852 /libjava/javax/naming/Reference.java | |
parent | 158227a66aac2270747de0be47f1026e6bb13782 (diff) | |
download | gcc-18205ca3b63fa0536ce6db35b4f1e264bdda5276.zip gcc-18205ca3b63fa0536ce6db35b4f1e264bdda5276.tar.gz gcc-18205ca3b63fa0536ce6db35b4f1e264bdda5276.tar.bz2 |
Initial jndi check-in
From-SVN: r37770
Diffstat (limited to 'libjava/javax/naming/Reference.java')
-rw-r--r-- | libjava/javax/naming/Reference.java | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/libjava/javax/naming/Reference.java b/libjava/javax/naming/Reference.java new file mode 100644 index 0000000..79cecc3 --- /dev/null +++ b/libjava/javax/naming/Reference.java @@ -0,0 +1,36 @@ +/* Copyright (C) 2000 Free Software Foundation + + This file is part of libgcj. + +This software is copyrighted work licensed under the terms of the +Libgcj License. Please consult the file "LIBGCJ_LICENSE" for +details. */ + +package javax.naming; + +import java.io.Serializable; + +public class Reference implements Cloneable, Serializable +{ + public Reference (String className, String factory, String factoryLocation) + { + this.className = className; + } + + void add (RefAddr addr) + { + throw new Error ("javax.naming.Reference.add not implemented"); + } + + RefAddr get (String addrType) + { + throw new Error ("javax.naming.Reference.get not implemented"); + } + + public String getClassName () + { + return className; + } + + private String className; +} |