org.globus.mds.aggregator.impl
Class SingletonAggregatorHome
java.lang.Object
org.globus.wsrf.impl.SingletonResourceHome
org.globus.mds.aggregator.impl.SingletonAggregatorHome
- All Implemented Interfaces:
- org.globus.wsrf.jndi.Destroyable, org.globus.wsrf.ResourceHome
- public class SingletonAggregatorHome
- extends org.globus.wsrf.impl.SingletonResourceHome
- implements org.globus.wsrf.jndi.Destroyable
This home provides a singleton home that creates a single
resource based on JNDI parameter, configured in the same way
as ResourceHomeImpl:
resourceClass - configures the name of the resource class. For example:
<parameter>
<name>resourceClass</name>
<value>org.globus.wsrf.samples.counter.PersistentCounter</value>
</parameter>
| Methods inherited from class org.globus.wsrf.impl.SingletonResourceHome |
find, getKeyTypeClass, getKeyTypeName, remove |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
resourceClass
protected Class resourceClass
resource
protected org.globus.wsrf.Resource resource
SingletonAggregatorHome
public SingletonAggregatorHome()
setResourceClass
public void setResourceClass(String clazz)
throws ClassNotFoundException
- Throws:
ClassNotFoundException
findSingleton
protected org.globus.wsrf.Resource findSingleton()
throws org.globus.wsrf.ResourceException
- Throws:
org.globus.wsrf.ResourceException
destroy
public void destroy()
- Specified by:
destroy in interface org.globus.wsrf.jndi.Destroyable
Copyright © 1999-2006 University of Chicago. All rights reserved.