org.globus.wsrf.impl
Class ServiceResourceHome
java.lang.Object
org.globus.wsrf.impl.SingletonResourceHome
org.globus.wsrf.impl.ServiceResourceHome
- All Implemented Interfaces:
- Initializable, ResourceHome
public class ServiceResourceHome
- extends SingletonResourceHome
- implements Initializable
A ResourceHome that always returns its corresponding service object,
in response to a null key. Note that the service MUST have been deployed
with application scope (for example, with wsdl parameter scope
set to value Application); otherwise there is no meaningful
single object for this class to return. Also MUST be deployed with
loadOnStartup parameter set to true.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
i18n
private static org.globus.util.I18n i18n
service
private Resource service
ServiceResourceHome
public ServiceResourceHome()
initialize
public void initialize()
throws java.lang.Exception
- Specified by:
initialize in interface Initializable
- Throws:
java.lang.Exception
findSingleton
protected Resource findSingleton()
throws ResourceException
- Finds the service object associated with this resource home.
- Specified by:
findSingleton in class SingletonResourceHome
- Throws:
ResourceException