org.gcube.common.core.state
Class GCUBEWSResourcePropertyProxy

java.lang.Object
  extended by java.util.Observable
      extended by org.gcube.common.core.state.GCUBEWSResourcePropertyProxy
All Implemented Interfaces:
InvocationHandler

public class GCUBEWSResourcePropertyProxy
extends Observable
implements InvocationHandler

Proxy for SimpleResourceProperty

Author:
Manuele Simi (ISTI-CNR)

Nested Class Summary
static class GCUBEWSResourcePropertyProxy.ResourcePropertyEvent
          Enumerates change topics.
 
Constructor Summary
protected GCUBEWSResourcePropertyProxy(org.globus.wsrf.ResourceProperty prop, GCUBEWSResourcePropertySet mySet)
           
 
Method Summary
protected static org.globus.wsrf.ResourceProperty createSimpleResourceProperty(QName name, GCUBEWSResourcePropertySet mySet)
          Creates a new Simple Resource Property from the given name
protected  org.globus.wsrf.ResourceProperty getProxied()
           
 Object invoke(Object proxy, Method method, Object[] args)
           
 
Methods inherited from class java.util.Observable
addObserver, clearChanged, countObservers, deleteObserver, deleteObservers, hasChanged, notifyObservers, notifyObservers, setChanged
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GCUBEWSResourcePropertyProxy

protected GCUBEWSResourcePropertyProxy(org.globus.wsrf.ResourceProperty prop,
                                       GCUBEWSResourcePropertySet mySet)
Parameters:
prop - the resource property
mySet - the property set to which the resource property belongs to
Method Detail

getProxied

protected org.globus.wsrf.ResourceProperty getProxied()

invoke

public Object invoke(Object proxy,
                     Method method,
                     Object[] args)
              throws Throwable
Specified by:
invoke in interface InvocationHandler
Throws:
Throwable

createSimpleResourceProperty

protected static org.globus.wsrf.ResourceProperty createSimpleResourceProperty(QName name,
                                                                               GCUBEWSResourcePropertySet mySet)
Creates a new Simple Resource Property from the given name

Parameters:
name - the qualified name of the property
Returns:
the new property


Copyright © 2013. All Rights Reserved.