org.globus.mds.usefulrp.rpprovider
Class TransformElementListener

java.lang.Object
  extended byorg.globus.mds.usefulrp.rpprovider.TransformElementListener
All Implemented Interfaces:
ResourcePropertyProviderListener

public class TransformElementListener
extends Object
implements ResourcePropertyProviderListener

TransformElementListener is a simple ResourcePropertyProviderListener class that automatically invokes a transform class, if that class can be found and loaded successfully at object construction time.


Constructor Summary
TransformElementListener(String transformClass, String[] transformArgs)
           
 
Method Summary
 void executionPerformed(Element element)
           
 Object getObject()
           
static TransformElementListener[] scheduleListeners(ResourcePropertyProviderConfig config, org.globus.wsrf.impl.timer.TimerManagerImpl timerManager)
          A convenience method for scheduling timer tasks for the ResourcePropertyElementProducers contained in the ResourcePropertyProviderConfig parameter into a given TimerManagerImpl object.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TransformElementListener

public TransformElementListener(String transformClass,
                                String[] transformArgs)
Method Detail

getObject

public Object getObject()

executionPerformed

public void executionPerformed(Element element)
                        throws Exception
Specified by:
executionPerformed in interface ResourcePropertyProviderListener
Throws:
Exception

scheduleListeners

public static TransformElementListener[] scheduleListeners(ResourcePropertyProviderConfig config,
                                                           org.globus.wsrf.impl.timer.TimerManagerImpl timerManager)
A convenience method for scheduling timer tasks for the ResourcePropertyElementProducers contained in the ResourcePropertyProviderConfig parameter into a given TimerManagerImpl object.

Parameters:
config - The ResourcePropertyProviderConfig configuration information that contains the parameters needed for provider execution
timerManager - An instance of TimerManagerImpl that will manage the periodic execution of the ResourcePropertyElementProducers


Copyright © 1999-2006 University of Chicago. All rights reserved.