Initialize this Daemon instance.
This method gets called once the JVM process is created and the
Daemon instance is created thru its empty public
constructor.
Under certain operating systems (typically Unix based operating
systems) and if the native invocation framework is configured to do
so, this method might be called with super-user privileges.
For example, it might be wise to create ServerSocket
instances within the scope of this method, and perform all operations
requiring super-user privileges in the underlying operating
system.
Apart from set up and allocation of native resources, this method
must not start the actual operation of the Daemon (such
as starting threads calling the ServerSocket.accept()
method) as this would impose some serious security hazards. The
start of operation must be performed in the start()
method.
Parameters: context - A DaemonContext object used tocommunicate with the container. exception: Exception - Any exception preventing a successfulinitialization. |