org.apache.felix.ipojo.manipulation
Class Manipulator

java.lang.Object
  extended by org.apache.felix.ipojo.manipulation.Manipulator

public class Manipulator
extends Object

iPOJO Byte code Manipulator.

Author:
Felix Project Team

Constructor Summary
Manipulator()
           
 
Method Summary
 Map getFields()
           
 List getInnerClasses()
           
 Element getManipulationMetadata()
          Compute component type manipulation metadata.
 byte[] manipulate(byte[] origin)
          Manipulate the given byte array.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Manipulator

public Manipulator()
Method Detail

manipulate

public byte[] manipulate(byte[] origin)
                  throws IOException
Manipulate the given byte array.

Parameters:
origin - : original class.
Returns:
the manipulated class.
Throws:
IOException - : if an error occurs during the manipulation.

getManipulationMetadata

public Element getManipulationMetadata()
Compute component type manipulation metadata.

Returns:
the manipulation metadata of the class.

getFields

public Map getFields()

getInnerClasses

public List getInnerClasses()


Copyright © 2011 Apache Software Foundation. All Rights Reserved.