|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object | +--org.huihoo.jfox.ejb.server.webserver.ClassServer
| Method Summary | |
abstract byte[] |
getBytes(java.lang.String path)
Returns an array of bytes containing the bytecodes for the class represented by the argument path. |
void |
run()
The "listen" thread that accepts a connection to the server, parses the header to obtain the class file name and sends back the bytecodes for the class (or error if the class is not found or the response was malformed). |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
public abstract byte[] getBytes(java.lang.String path)
throws java.io.IOException,
java.lang.ClassNotFoundException
java.lang.ClassNotFoundException - if the class corresponding
to path could not be loaded.
java.io.IOException - if error occurs reading the classpublic void run()
run in interface java.lang.Runnable
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||