org.apache.felix.ipojo.manipulation
Class Manipulator

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

public class Manipulator
extends java.lang.Object

iPOJO Byte code Manipulator.

Author:
Felix Project Team

Constructor Summary
Manipulator()
           
 
Method Summary
 org.apache.felix.ipojo.metadata.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 java.io.IOException
Manipulate the given byte array.

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

getManipulationMetadata

public org.apache.felix.ipojo.metadata.Element getManipulationMetadata()
Compute component type manipulation metadata.

Returns:
the manipulation metadata of the class.