Download GT4 Admin Guide - Globus Toolkit

Transcript
Java WS Core Admin Guide
Table 9.6. Java WS Core Parameters
Name
Value
Description
Comments
loadOnStar- <boolean>
tup
If set to true this parameter will cause the web service and the cor- Optional
responding ResourceHome (if any) to be initialized (with proper
security settings if configured) at container startup. This is useful
for restarting some tasks, etc. at container startup without having to
call the service. Please check the Lifecycle and activation4 section
for details.
allowedMeth- <class>
odsClass
This parameter is similar to the allowedMethods standard Axis
Optional
property but it specifies a Java class or an interface that is introspected to come up with a list of allowed methods that can be called remotely on the service. It is useful for easily restricting the SOAPaccessible methods of the service. Usually the class specified in this
parameter would be the remote interface class generated for the
service. This parameter only has effect if used with org.globus.axis.providers.RPCProvider handlerClass.
providers
<list of pro- This parameter specifies a space separated list of provider names Optional
viders>
or class names. Please see operation provider support5 section for
details. This parameter only has effect if used with org.globus.axis.providers.RPCProvider handlerClass.
Please see Custom Deployment6 for details on Axis Web Services Deployment Descriptor.
2.2.2.2. JNDI
An example of a JNDI configuration bit for a CounterService:
<service name="CounterService">
<resource
name="home"
type="org.globus.wsrf.samples.counter.CounterHome">
<resourceParams>
<parameter>
<name>factory</name>
<value>org.globus.wsrf.jndi.BeanFactory</value>
</parameter>
<parameter>
<name>resourceClass</name>
<value>org.globus.wsrf.samples.counter.PersistentCounter</value>
</parameter>
<parameter>
<name>resourceKeyName</name>
<value>{http://counter.com}CounterKey</value>
</parameter>
<parameter>
<name>resourceKeyType</name>
<value>java.lang.Integer</value>
4
../../common/javawscore/developer-index.html#Activation
http://www.globus.org/toolkit/docs/4.0/common/javawscore/developer-index.html#s-javawscore-developer-OperationProvider
6
http://ws.apache.org/axis/java/user-guide.html#PublishingServicesWithAxis
5
58