org.globus.mds.aggregator.impl
Class SingletonAggregatorHome

java.lang.Object
  extended byorg.globus.wsrf.impl.SingletonResourceHome
      extended byorg.globus.mds.aggregator.impl.SingletonAggregatorHome
All Implemented Interfaces:
ResourceHome

public class SingletonAggregatorHome
extends SingletonResourceHome

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>
    

TODO is this another core-like home or option for the core Singleton home?


Field Summary
protected  java.lang.Class resourceClass
           
 
Fields inherited from class org.globus.wsrf.impl.SingletonResourceHome
 
Constructor Summary
SingletonAggregatorHome()
           
 
Method Summary
protected  Resource findSingleton()
           
 void setResourceClass(java.lang.String clazz)
           
 
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
 

Field Detail

resourceClass

protected java.lang.Class resourceClass
Constructor Detail

SingletonAggregatorHome

public SingletonAggregatorHome()
Method Detail

setResourceClass

public void setResourceClass(java.lang.String clazz)
                      throws java.lang.ClassNotFoundException
Throws:
java.lang.ClassNotFoundException

findSingleton

protected Resource findSingleton()
                          throws ResourceException
Throws:
ResourceException