A stub-code generator. It is used for producing a proxy class.
The proxy class for class A is as follows:
public class A implements Proxy, Serializable {
private ObjectImporter importer;
private int objectId;
public int _getObjectId() { return objectId; }
public A(ObjectImporter oi, int id) {
importer = oi; objectId = id;
}
... the same methods that the original class A declares ...
}
Instances of the proxy class is created by an
ObjectImporter object.
|