public class ManipulatedResultWriter extends Object implements ManipulationResultVisitor
| Constructor and Description |
|---|
ManipulatedResultWriter(org.apache.felix.ipojo.metadata.Element component) |
| Modifier and Type | Method and Description |
|---|---|
Map<String,byte[]> |
getResources() |
void |
visitClassStructure(org.apache.felix.ipojo.metadata.Element structure)
Called once per visitor with the class' structure discovered during manipulation.
|
void |
visitEnd()
Called when all resources from this manipulation result have been processed.
|
void |
visitManipulatedResource(String type,
byte[] resource)
Accept a manipulated resource (main component class or inner classes).
|
public ManipulatedResultWriter(org.apache.felix.ipojo.metadata.Element component)
public void visitClassStructure(org.apache.felix.ipojo.metadata.Element structure)
ManipulationResultVisitorvisitClassStructure in interface ManipulationResultVisitorstructure - Component's structure (discovered during manipulation, not the data from metadata.xml)public void visitManipulatedResource(String type, byte[] resource)
ManipulationResultVisitorvisitManipulatedResource in interface ManipulationResultVisitortype - type nameresource - manipulated bytecodepublic void visitEnd()
ManipulationResultVisitorvisitEnd in interface ManipulationResultVisitorCopyright © 2006–2023 The Apache Software Foundation. All rights reserved.