| java.lang.Object nl.hippo.cms.brokenlinkchecker.avalon.ComponentCleanup
ComponentCleanup | public class ComponentCleanup (Code) | |
A utility class to help with cleaning up Avalon components.
|
Method Summary | |
public static void | release(ServiceManager serviceManager, Object component, String role, Logger logger)
Release the Avalon component without throwing exceptions. |
release | public static void release(ServiceManager serviceManager, Object component, String role, Logger logger)(Code) | |
Release the Avalon component without throwing exceptions. If the
releasing of the component throws an exception, the exception is
logged.
Parameters: serviceManager - the service manager from which the component waslooked up. Parameters: component - the component to release. Parameters: role - the role of the component. Parameters: logger - the logger to which to log a messge if releasing thecomponent throws an exception. |
|
|