org.apache.felix.ipojo.manipulation
Class InnerClassManipulator
java.lang.Object
org.apache.felix.ipojo.manipulation.InnerClassManipulator
public class InnerClassManipulator
- extends Object
Manipulates inner class allowing outer class access. The manipulated class
has access to managed field of the outer class.
- Author:
- Felix Project Team
Method Summary |
byte[] |
manipulate(byte[] in)
Manipulate the inner class. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
InnerClassManipulator
public InnerClassManipulator(String classname,
Set fields)
- Creates an inner class manipulator.
- Parameters:
classname
- : class namefields
- : fields
manipulate
public byte[] manipulate(byte[] in)
throws IOException
- Manipulate the inner class.
- Parameters:
in
- input (i.e. original) class
- Returns:
- manipulated class
- Throws:
IOException
- the class cannot be read correctly
Copyright © 2006-2011 Apache Software Foundation. All Rights Reserved.