eXo JCR :: Component :: Extension Service 1.15.0-CR2

org.exoplatform.services.jcr.ext.script.groovy
Class GroovyScript2RestLoaderPlugin

java.lang.Object
  extended by org.exoplatform.container.component.BaseComponentPlugin
      extended by org.exoplatform.services.jcr.ext.script.groovy.GroovyScript2RestLoaderPlugin
All Implemented Interfaces:
org.exoplatform.container.component.ComponentPlugin

public class GroovyScript2RestLoaderPlugin
extends org.exoplatform.container.component.BaseComponentPlugin

Version:
$Id: GroovyScript2RestLoaderPlugin.java 34445 2009-07-24 07:51:18Z dkatayev $
Author:
Andrey Parfonov

Field Summary
 
Fields inherited from class org.exoplatform.container.component.BaseComponentPlugin
desc, name
 
Constructor Summary
GroovyScript2RestLoaderPlugin(org.exoplatform.container.xml.InitParams params, RepositoryService repoServiceo)
           
 
Method Summary
 String getNode()
           
 String getRepository()
          Get working repository name.
 String getWorkspace()
           
 List<XMLGroovyScript2Rest> getXMLConfigs()
           
 
Methods inherited from class org.exoplatform.container.component.BaseComponentPlugin
getDescription, getName, setDescription, setName
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GroovyScript2RestLoaderPlugin

public GroovyScript2RestLoaderPlugin(org.exoplatform.container.xml.InitParams params,
                                     RepositoryService repoServiceo)
Method Detail

getXMLConfigs

public List<XMLGroovyScript2Rest> getXMLConfigs()

getRepository

public String getRepository()
Get working repository name. Returns the repository name from configuration if it previously configured and returns the name of current repository in other case.

Returns:
String repository name
Throws:
javax.jcr.RepositoryException

getWorkspace

public String getWorkspace()
Returns:
the workspace

getNode

public String getNode()
Returns:
the node

eXo JCR :: Component :: Extension Service 1.15.0-CR2

Copyright © 2012 eXo Platform SAS. All Rights Reserved.