Nuxeo Enterprise Platform 5.3

org.nuxeo.ecm.platform.management.probes
Class ProbeInfo.RepositoryRunner

java.lang.Object
  extended by org.nuxeo.ecm.core.api.UnrestrictedSessionRunner
      extended by org.nuxeo.ecm.platform.management.probes.ProbeInfo.RepositoryRunner
Enclosing class:
ProbeInfo

protected class ProbeInfo.RepositoryRunner
extends UnrestrictedSessionRunner


Field Summary
 
Fields inherited from class org.nuxeo.ecm.core.api.UnrestrictedSessionRunner
isUnrestricted, originatingUsername, repositoryName, session, sessionIsAlreadyUnrestricted
 
Constructor Summary
protected ProbeInfo.RepositoryRunner(String repositoryName)
           
 
Method Summary
 void run()
          This method will be called by UnrestrictedSessionRunner.runUnrestricted() with UnrestrictedSessionRunner.session available as an unrestricted session.
 void runWithSafeClassLoader()
           
 
Methods inherited from class org.nuxeo.ecm.core.api.UnrestrictedSessionRunner
getOriginatingUsername, isUnrestricted, runUnrestricted, setOriginatingUsername
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ProbeInfo.RepositoryRunner

protected ProbeInfo.RepositoryRunner(String repositoryName)
Method Detail

runWithSafeClassLoader

public void runWithSafeClassLoader()
                            throws ClientException
Throws:
ClientException

run

public void run()
         throws ClientException
Description copied from class: UnrestrictedSessionRunner
This method will be called by UnrestrictedSessionRunner.runUnrestricted() with UnrestrictedSessionRunner.session available as an unrestricted session.

It can also be called directly in which case the UnrestrictedSessionRunner.session available will be the one passed to #UnrestrictedSessionRunner(CoreSession).

Specified by:
run in class UnrestrictedSessionRunner
Throws:
ClientException

Nuxeo Enterprise Platform 5.3

Copyright © 2010 Nuxeo SAS. All Rights Reserved.