org.gcube.contentmanagement.contentmanager.plugin.delegates
Class Delegate

java.lang.Object
  extended by org.gcube.contentmanagement.contentmanager.plugin.delegates.Delegate
Direct Known Subclasses:
Collection, FactoryDelegate

public abstract class Delegate
extends java.lang.Object

Base class for extensions of stateful resources.

A Delegate may access:

Note that in the standard deployment scenario - i.e. when the delegate runs within the container - scope manager and security manager resolve both to the service context.

Author:
Fabio Simeoni (University of Strathclyde)

Constructor Summary
Delegate()
           
 
Method Summary
 GCUBEScopeManager getScopeManager()
          Return the scope manager.
 GCUBESecurityManager getSecurityManager()
          Returns the security manager.
 void setResource( r)
          Sets the resource.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Delegate

public Delegate()
Method Detail

getScopeManager

public GCUBEScopeManager getScopeManager()
Return the scope manager.

Parameters:
the - manager.

getSecurityManager

public GCUBESecurityManager getSecurityManager()
Returns the security manager.

Returns:
the manager.

setResource

public void setResource( r)
Sets the resource.

Parameters:
r - the resource.