samples/instanceof/src/api/InstanceProvider.java
author Jaroslav Tulach <jtulach@netbeans.org>
Sat, 14 Jun 2008 10:04:53 +0200
changeset 210 acf2c31e22d4
parent 209 1c999569643b
permissions -rw-r--r--
Merge: Geertjan's changes to the end of the chapter
jtulach@74
     1
jtulach@74
     2
package api;
jtulach@74
     3
jtulach@74
     4
// BEGIN: instanceof.InstanceProvider
jtulach@74
     5
public interface InstanceProvider {
jtulach@210
     6
    public Class<?> instanceClass() throws Exception;
jtulach@210
     7
    public Object instanceCreate() throws Exception;
jtulach@74
     8
}
jtulach@74
     9
// END: instanceof.InstanceProvider