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

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

public class CheckLoggingConfig
extends AbstractPlugin

Checks the existence and readability of the logging configuration file identified by the java.util.logging.config.file system property, if that property is defined. No content verification is done. This check is performed for the tool VM and for the group VM if a SharedActivationGroupDescriptor is provided.


Field Summary
private  EnvCheck envCheck
           
 
Constructor Summary
CheckLoggingConfig()
           
 
Method Summary
private  void checkLoggingConfig(SharedActivationGroupDescriptor gd)
          Check the logging configuration for the group or command line.
 void run(EnvCheck envCheck)
          Run the test implemented by the plugin.
 
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
 

Field Detail

envCheck

private EnvCheck envCheck
Constructor Detail

CheckLoggingConfig

public CheckLoggingConfig()
Method Detail

run

public void run(EnvCheck envCheck)
Description copied from interface: Plugin
Run the test implemented by the plugin.

Parameters:
envCheck - a reference to the driver instance.

checkLoggingConfig

private void checkLoggingConfig(SharedActivationGroupDescriptor gd)
Check the logging configuration for the group or command line.

Parameters:
gd - the group descriptor, or null to check the command line


Copyright 2007-2010, multiple authors.
Licensed under the Apache License, Version 2.0, see the NOTICE file for attributions.