org.gcube.common.mycontainer.dependencies
Class ProxyISPublisher

java.lang.Object
  extended by org.gcube.common.mycontainer.dependencies.ProxyISPublisher
All Implemented Interfaces:
org.gcube.common.core.informationsystem.publisher.ISPublisher

public class ProxyISPublisher
extends Object
implements org.gcube.common.core.informationsystem.publisher.ISPublisher

An ISPublisher that dispatches invocations to an implementation set on MyContainerDependencies, typically a mock created in the scope of a test.

Author:
Fabio Simeoni

Constructor Summary
ProxyISPublisher()
           
 
Method Summary
 String registerGCUBEResource(org.gcube.common.core.resources.GCUBEResource resource, org.gcube.common.core.scope.GCUBEScope scope, org.gcube.common.core.security.GCUBESecurityManager manager)
           
 void registerWSResource(org.gcube.common.core.state.GCUBEWSResource resource, org.gcube.common.core.scope.GCUBEScope... scope)
           
 void removeGCUBEResource(String ID, String type, org.gcube.common.core.scope.GCUBEScope scope, org.gcube.common.core.security.GCUBESecurityManager manager)
           
 void removeWSResource(org.gcube.common.core.state.GCUBEWSResource resource, org.gcube.common.core.scope.GCUBEScope... scope)
           
 void updateGCUBEResource(org.gcube.common.core.resources.GCUBEResource resource, org.gcube.common.core.scope.GCUBEScope scope, org.gcube.common.core.security.GCUBESecurityManager manager)
           
 void updateWSResource(org.gcube.common.core.state.GCUBEWSResource resource, org.gcube.common.core.scope.GCUBEScope... scope)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ProxyISPublisher

public ProxyISPublisher()
Method Detail

registerWSResource

public void registerWSResource(org.gcube.common.core.state.GCUBEWSResource resource,
                               org.gcube.common.core.scope.GCUBEScope... scope)
                        throws org.gcube.common.core.informationsystem.publisher.ISPublisherException
Specified by:
registerWSResource in interface org.gcube.common.core.informationsystem.publisher.ISPublisher
Throws:
org.gcube.common.core.informationsystem.publisher.ISPublisherException

updateWSResource

public void updateWSResource(org.gcube.common.core.state.GCUBEWSResource resource,
                             org.gcube.common.core.scope.GCUBEScope... scope)
                      throws org.gcube.common.core.informationsystem.publisher.ISPublisherException
Specified by:
updateWSResource in interface org.gcube.common.core.informationsystem.publisher.ISPublisher
Throws:
org.gcube.common.core.informationsystem.publisher.ISPublisherException

removeWSResource

public void removeWSResource(org.gcube.common.core.state.GCUBEWSResource resource,
                             org.gcube.common.core.scope.GCUBEScope... scope)
                      throws org.gcube.common.core.informationsystem.publisher.ISPublisherException
Specified by:
removeWSResource in interface org.gcube.common.core.informationsystem.publisher.ISPublisher
Throws:
org.gcube.common.core.informationsystem.publisher.ISPublisherException

registerGCUBEResource

public String registerGCUBEResource(org.gcube.common.core.resources.GCUBEResource resource,
                                    org.gcube.common.core.scope.GCUBEScope scope,
                                    org.gcube.common.core.security.GCUBESecurityManager manager)
                             throws org.gcube.common.core.informationsystem.publisher.ISPublisherException
Specified by:
registerGCUBEResource in interface org.gcube.common.core.informationsystem.publisher.ISPublisher
Throws:
org.gcube.common.core.informationsystem.publisher.ISPublisherException

removeGCUBEResource

public void removeGCUBEResource(String ID,
                                String type,
                                org.gcube.common.core.scope.GCUBEScope scope,
                                org.gcube.common.core.security.GCUBESecurityManager manager)
                         throws org.gcube.common.core.informationsystem.publisher.ISPublisherException
Specified by:
removeGCUBEResource in interface org.gcube.common.core.informationsystem.publisher.ISPublisher
Throws:
org.gcube.common.core.informationsystem.publisher.ISPublisherException

updateGCUBEResource

public void updateGCUBEResource(org.gcube.common.core.resources.GCUBEResource resource,
                                org.gcube.common.core.scope.GCUBEScope scope,
                                org.gcube.common.core.security.GCUBESecurityManager manager)
                         throws org.gcube.common.core.informationsystem.publisher.ISPublisherException
Specified by:
updateGCUBEResource in interface org.gcube.common.core.informationsystem.publisher.ISPublisher
Throws:
org.gcube.common.core.informationsystem.publisher.ISPublisherException


Copyright © 2012. All Rights Reserved.