public void removeShutdownHook() {
}
private void registerInstalledHandlerFactories() {
for (Class<ContentHandlerFactory> handlerFactory : handlerFactories) {
Resource resourceAnnotation = handlerFactory.getAnnotation(Resource.class);
if(resourceAnnotation != null) {
addHandlerFactoryConfig(handlerFactory, resourceAnnotation.type());
}
}
// And add the Java handler...
addHandlerFactoryConfig(JavaContentHandlerFactory.class, "class");