com.caucho.env.service
Class RootDirectorySystem
java.lang.Object
com.caucho.env.service.AbstractResinSubSystem
com.caucho.env.service.RootDirectorySystem
- All Implemented Interfaces:
- ResinSubSystem
public class RootDirectorySystem
- extends AbstractResinSubSystem
Root service for the root and data directories.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
START_PRIORITY_ROOT_DIRECTORY
public static final int START_PRIORITY_ROOT_DIRECTORY
- See Also:
- Constant Field Values
RootDirectorySystem
public RootDirectorySystem(Path rootDirectory,
Path dataDirectory)
throws java.io.IOException
- Throws:
java.io.IOException
createAndAddService
public static RootDirectorySystem createAndAddService(Path rootDirectory)
throws java.io.IOException
- Throws:
java.io.IOException
createAndAddService
public static RootDirectorySystem createAndAddService(Path rootDirectory,
Path dataDirectory)
throws java.io.IOException
- Throws:
java.io.IOException
getCurrent
public static RootDirectorySystem getCurrent()
getCurrentDataDirectory
public static Path getCurrentDataDirectory()
- Returns the data directory for current active directory service.
getRootDirectory
public Path getRootDirectory()
- Returns the root directory.
getDataDirectory
public Path getDataDirectory()
- Returns the internal data directory.
getStartPriority
public int getStartPriority()
- Description copied from interface:
ResinSubSystem
- Returns the start priority of the service, used to determine which
services to start first.
- Specified by:
getStartPriority
in interface ResinSubSystem
- Overrides:
getStartPriority
in class AbstractResinSubSystem