ajanta.server
Class StartUp
java.lang.Object
|
+--ajanta.server.StartUp
- public class StartUp
- extends java.lang.Object
Class StartUp is the first class loaded into an agent's protection domain,
by our classloader. It is then instantiated and its start() method is
invoked. It reads in the agent transfer object from the input stream and
Verfiy once again that the credentails are correctly signed. If verified, set the
agent's environment (context) pointer. Then it execute system-defined entry
protocol of the agent ( agentEntry())followed by application-defined Entry Protocol
( arrive()). Then it finds the method object corresponding to the requested method
to be executed, using reflection and invoke the method. After completion of
requested method executes the system's exit protocol ( agentExit())
Finally, execute the app-defined exit protocol ( depart())
Constructor Summary |
StartUp(ajanta.server.AgentServer as,
ajanta.server.DDEntry dde)
|
Method Summary |
void |
start()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
StartUp
public StartUp(ajanta.server.AgentServer as,
ajanta.server.DDEntry dde)
- Parameters:
as
- reference to the host agent serverdde
- DDEntry for the agent
start
public void start()