|
Element
|
Occurance
|
Description
|
parameter
|
0..n
|
Each parameter has a
name
and a
value
attribute. The parameters that are available can be found below.
|
Parameters have been introduced to allow for the internals of the
kernel to be tuned for different purposes. Initially, the number
parameters available is fairly small, but we expect this number to
grow steadily.
Parameters that are currently available is;
Name
|
Default
|
Description
|
Since
|
urn:composition:deployment.timeout
|
5000
|
The time in millisecond within which the deployment of any
component and any container must complete. Once this time
limit has been reached, the deployment system will try to
interrupt() the thread. If that succeeds, the deployment
the container will fail, but other containers may still be
deployed. If the interrupt() fails, the whole JVM must be
considered unstable, and should terminate.
|
3.2.5
|
urn:composition:security.enabled
|
false
|
This is a global switch for turning the code level security
on or off. For compatibility reasons, the default is false,
but any production system should have this true. In the
kernel.xml it is set to true, and for the debug.xml it is
set to false.
|
3.3
|
<kernel>
<parameters>
<!-- Declaration that deployment should allow for 2500ms for
any component or container to start-up, before interrupting
or failing. -->
<parameter name="urn:composition:deployment.timeout" value="2500" />
<parameter name="urn:composition:security.enabled" value="true" />
</parameters>
</kernel>
|