org.crsh.jcr
Class JCRPlugin<T extends JCRPlugin>
java.lang.Object
org.crsh.plugin.CRaSHPlugin<T>
org.crsh.jcr.JCRPlugin<T>
- Direct Known Subclasses:
- ExoPlugin, JackrabbitPlugin
-
public abstract class JCRPlugin<T extends JCRPlugin>
- extends CRaSHPlugin<T>
-
Field Summary |
private static boolean |
integrated
. |
private static Object |
LOCK
. |
private static Collection<String> |
NODES
. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
NODES
private static final Collection<String> NODES
-
.
LOCK
private static final Object LOCK
-
.
integrated
private static boolean integrated
-
.
JCRPlugin
public JCRPlugin()
findRepository
public static javax.jcr.Repository findRepository(Map<String,String> properties)
throws Exception
-
- Throws:
Exception
findRepositories
public static Iterable<JCRPlugin> findRepositories()
throws Exception
-
- Throws:
Exception
getNodeClassNames
public Collection<String> getNodeClassNames()
-
getRepository
public abstract javax.jcr.Repository getRepository(Map<String,String> properties)
throws Exception
-
- Throws:
Exception
getName
public abstract String getName()
-
getDisplayName
public abstract String getDisplayName()
-
getUsage
public abstract String getUsage()
-
init
public void init()
- Description copied from class:
CRaSHPlugin
-
Implement this method to know about init life cycle callback.
-
- Overrides:
init
in class CRaSHPlugin<T extends JCRPlugin>
-
loadAvailablesNodeImplementations
private Collection<Class<? extends javax.jcr.Node>> loadAvailablesNodeImplementations(Collection<String> classNames)
-
loadNodeImplementation
private Class<? extends javax.jcr.Node> loadNodeImplementation(String className)
-
registerNodeImplementation
private void registerNodeImplementation(groovy.lang.MetaClassRegistry registry,
Class<? extends javax.jcr.Node> nodeClass)
throws IntrospectionException
-
- Throws:
IntrospectionException
Copyright © 2014 eXo Platform SAS. All Rights Reserved.