org.apache.felix.scrplugin.helper
Class ClassModifier
java.lang.Object
org.apache.felix.scrplugin.helper.ClassModifier
public abstract class ClassModifier
- extends java.lang.Object
Helper class for injecting/generating accessor methods for
unary references.
|
Method Summary |
static void |
addMethods(java.lang.String className,
java.lang.String referenceName,
java.lang.String fieldName,
java.lang.String typeName,
boolean createBind,
boolean createUnbind,
java.lang.ClassLoader classLoader,
java.lang.String outputDirectory,
Log logger)
Add bind/unbind methods |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ClassModifier
public ClassModifier()
addMethods
public static void addMethods(java.lang.String className,
java.lang.String referenceName,
java.lang.String fieldName,
java.lang.String typeName,
boolean createBind,
boolean createUnbind,
java.lang.ClassLoader classLoader,
java.lang.String outputDirectory,
Log logger)
throws SCRDescriptorException
- Add bind/unbind methods
- Parameters:
className - The class name in which the methods are injectedreferenceName - Name of the referencefieldName - Name of the fieldtypeName - Name of the typecreateBind - Name of the bind method or nullcreateUnbind - Name of the unbind method or nulloutputDirectory - Output directory where the class file is stored
- Throws:
SCRDescriptorException
Copyright © 2006-2014 The Apache Software Foundation. All Rights Reserved.