org.gcube.contentmanagement.viewmanager.state
Class Factory
java.lang.Object
GCUBEWSResource
org.gcube.contentmanagement.viewmanager.state.Factory
public class Factory
- extends GCUBEWSResource
The singleton resource of the factory port-type.
- Author:
- Fabio Simeoni (University of Strathclyde)
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Factory
public Factory()
getActivationRecords
public java.util.Set<java.lang.String> getActivationRecords()
- Returns:
setActivationRecords
public void setActivationRecords(java.util.Set<java.lang.String> activationRecords)
- Parameters:
activationRecords
-
create
public ViewResource create(java.lang.String pluginName,
View view)
throws java.lang.Exception
- Creates a view resource with given plugin and a given view definition.
- Parameters:
pluginName
- the name of the plugin.view
- the view definition.
- Returns:
- the resource.
- Throws:
java.lang.Exception
- if the resource could not be created.
getContext
public PluginContext getContext(java.lang.String name)
throws java.lang.Exception
- Returns the context of a plugin with a given name.
- Parameters:
name
- the name.
- Returns:
- the context, or
null
if the plugin is unknown.
- Throws:
java.lang.Exception
getPropertyNames
public java.lang.String[] getPropertyNames()
-