org.apache.sling.rewriter
Interface Generator

public interface Generator

The Generator interface defines the start of a rewriter pipeline.
A generator is not a component managed by the container (OSGi). A
GeneratorFactory is a service managed by the container which creates
generator instances on demand.

finished

dispose

void dispose()

Dispose the generator.
This method is always invoked by the rewriter in order to
allow the generator to release any resources etc. After
this method has been called the instance is considered
unusable.