GigaSpaces XAP 9.7.2 API

com.sun.jini.tool.envcheck.plugins
Class CheckPersistence

java.lang.Object
  extended by com.sun.jini.tool.envcheck.AbstractPlugin
      extended by com.sun.jini.tool.envcheck.plugins.CheckPersistence
All Implemented Interfaces:
Plugin

public class CheckPersistence
extends AbstractPlugin

Check that the persistence directory supplied by any SharedActivatableServiceDescriptors are either non-existant or empty. Check is performed in a subtask VM started identically to how the activation system would have started it. The first entry in the service configuration named persistenceDirectory is checked. Doesn't work correctly if multiple services share a configuration. Don't know how to handle this.


Nested Class Summary
static class CheckPersistence.CheckDirTask
          Perform directory check with an active security policy in place.
static class CheckPersistence.GetEntriesTask
          The subtask which obtains the list of persistence directory entries.
 
Constructor Summary
CheckPersistence()
           
 
Method Summary
 void run(EnvCheck envCheck)
          Check the persistence directory for every SharedActivatableServiceDescriptor in the starter configuration.
 
Methods inherited from class com.sun.jini.tool.envcheck.AbstractPlugin
getBundle, getString, getString, getString, getString, handleUnexpectedSubtaskReturn, isPluginOption, taskName
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CheckPersistence

public CheckPersistence()
Method Detail

run

public void run(EnvCheck envCheck)
Check the persistence directory for every SharedActivatableServiceDescriptor in the starter configuration.

Parameters:
envCheck - the plugin container

GigaSpaces XAP 9.7.2 API

Copyright © GigaSpaces.