com.sun.jini.tool.envcheck.plugins
Class CheckPersistence.GetEntriesTask
java.lang.Object
com.sun.jini.tool.envcheck.plugins.CheckPersistence.GetEntriesTask
- All Implemented Interfaces:
- SubVMTask
- Enclosing class:
- CheckPersistence
public static class CheckPersistence.GetEntriesTask
- extends Object
- implements SubVMTask
The subtask which obtains the list of persistence directory entries. The
arg list is cleaned up, the configuration in obtained, and a String array
of pairs of all entries named persistenceDirectory
and
their associated value is returned.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
bundle
private ResourceBundle bundle
CheckPersistence.GetEntriesTask
public CheckPersistence.GetEntriesTask()
run
public Object run(String[] args)
- Description copied from interface:
SubVMTask
- Run the subtask. Return an object representing the
result of the task. If an unexpected exception is thrown
in the body of the method, it should be caught and used
as the returned object.
- Specified by:
run
in interface SubVMTask
- Returns:
- the task status object, which may be
null
getEntries
private Object getEntries(Configuration conf)
- Obtain all of the
persistenceDirectory
entries in the
configuration and return them as pairs in a String
array.
- Parameters:
conf
- the configuration to examine
- Returns:
- the array of entry/value pairs
Copyright 2007-2010, multiple authors.
Licensed under the Apache License, Version 2.0, see the NOTICE file for attributions.