Private Methods | |
| ClassContext (String s) throws Exception | |
Private Attributes | |
| String | clFullName |
| String | pkgName = "" |
| String | clName |
| String | genDirName |
| boolean | inGlobalPkg = true |
Static Private Methods | |
| Vector | getRemoteInterfaces () |
| MethodContext [] | getRemoteMethodContexts () |
Static Private Attributes | |
| Class | cl |
Definition at line 37 of file ClassContext.java.
|
|
Definition at line 44 of file ClassContext.java. 00044 {
00045 clFullName = s;
00046 int n = clFullName.lastIndexOf(".");
00047 if (n < 0) {
00048 clName = clFullName;
00049 genDirName = CompilerContext.srcDir;
00050 } else {
00051 inGlobalPkg = false;
00052 pkgName = clFullName.substring(0,n);
00053 clName = clFullName.substring(n+1);
00054 genDirName = CompilerContext.srcDir + File.separator +
00055 pkgName.replace('.',File.separatorChar);
00056 }
00057 Utils.trace("loading class " + clFullName);
00058 // load the class but don't initialize it
00059 cl = Class.forName(clFullName, false,
00060 ClassContext.class.getClassLoader());
00061 }
|
|
|
Definition at line 63 of file ClassContext.java. Referenced by getRemoteMethodContexts(), StdStubCompiler::prepare(), and OptStubCompiler::prepare(). 00063 {
00064 return Utils.getRemoteInterfaces(cl, true);
00065 }
|
|
|
Definition at line 67 of file ClassContext.java. Referenced by StdStubCompiler::prepare(), and OptStubCompiler::prepare(). 00067 {
00068 return Utils.getRemoteMethodContexts(cl, getRemoteInterfaces());
00069 }
|
|
|
Definition at line 42 of file ClassContext.java. |
|
|
Definition at line 39 of file ClassContext.java. |
|
|
Definition at line 39 of file ClassContext.java. |
|
|
Definition at line 39 of file ClassContext.java. |
|
|
Definition at line 40 of file ClassContext.java. |
|
|
Definition at line 39 of file ClassContext.java. |
1.2.6 written by Dimitri van Heesch,
© 1997-2001