Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## jet.server.api.rmi.admin.cfg
Interface RemoteConfigurationLog

All Superinterfaces:
  java.rmi.Remote

    public interface RemoteConfigurationLog

extends java.rmi.Remote

The `RemoteConfigurationLog` takes charge of the logging configuration interfaces invoked by JSP logging config pages. Note: since V8.1, only the first three new added API methods (`getLoggers()`, `load()` and `update()`) are useful in this interface. All the old API methods defined before V8 are deprecated.

Method Summary
`java.util.Vector` | `getLoggers()` get all loggers provided by JREntServer.
`void` | `load()` load latest config file to a list and clear the cache of changed previously.
`boolean` | `update()` update the changes, save the changed properties to config file and invoke config service to take effect immediately.

Method Detail

### getLoggers

    java.util.Vector getLoggers()
                                throws java.rmi.RemoteException

  get all loggers provided by JREntServer. it includes six JREntServer-specific logger and their root logger.

  Returns:
    all loggers currently configured.
  Throws:
    `java.rmi.RemoteException` - will be thrown if error occurs.

### load

    void load()
              throws java.rmi.RemoteException

  load latest config file to a list and clear the cache of changed previously. this method should be invoked when enter the log configuration page.

  Throws:
    `java.rmi.RemoteException` - will be thrown if error occurs.

### update

    boolean update()
                   throws java.rmi.RemoteException

  update the changes, save the changed properties to config file and invoke config service to take effect immediately.

  Returns:
    true, if the changed options are successfully saved to the config filethrows RemoteException; else false.
  Throws:
    `java.rmi.RemoteException` - will be thrown if error occurs.

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD