Package io.microsphere.lang
Interface WrapperProcessor<W extends Wrapper>
-
- Type Parameters:
W
- the type of the wrapper that extendsWrapper
public interface WrapperProcessor<W extends Wrapper>
A processor interface for handlingWrapper
instances.Implementations of this interface can perform operations on a
Wrapper
object, potentially modifying or enhancing the wrapper instance during processing.Example Usage
public class LoggingWrapperProcessor implements WrapperProcessor<MyWrapper> { public MyWrapper process(MyWrapper wrapper) { System.out.println("Processing wrapper: " + wrapper); return wrapper; // Return the same or modified instance } }
- Since:
- 1.0.0
- Author:
- Mercy
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description W
process(W wrapper)
Processes theWrapper
bean
-