public class AuditHandler
extends org.apache.felix.ipojo.PrimitiveHandler
Constructor and Description |
---|
AuditHandler() |
Modifier and Type | Method and Description |
---|---|
void |
configure(org.apache.felix.ipojo.metadata.Element metadata,
Dictionary configuration) |
Object |
onGet(Object pojo,
String field,
Object o)
This method is called at each time the pojo 'get' a listened field.
|
void |
onSet(Object pojo,
String field,
Object newvalue)
This method is called at each time the pojo 'set' a listened field.
|
void |
reconfigure(Dictionary configuration) |
void |
start() |
void |
stop() |
attach, getConstructorParameter, getConstructorParameterType, getFactory, getHandler, getInstanceManager, getLogger, getPojoMetadata, onCreation, onEntry, onError, onExit, onFinally, setFactory
public void configure(org.apache.felix.ipojo.metadata.Element metadata, Dictionary configuration) throws org.apache.felix.ipojo.ConfigurationException
configure
in class org.apache.felix.ipojo.Handler
org.apache.felix.ipojo.ConfigurationException
public void start()
start
in class org.apache.felix.ipojo.Handler
public void stop()
stop
in class org.apache.felix.ipojo.Handler
public Object onGet(Object pojo, String field, Object o)
onGet
in interface org.apache.felix.ipojo.FieldInterceptor
onGet
in class org.apache.felix.ipojo.PrimitiveHandler
pojo
- : pojo object getting the fieldfield
- : field name.o
- : previous value.org.apache.felix.ipojo.PrimitiveHandler#getterCallback(java.lang.String,
java.lang.Object)
public void onSet(Object pojo, String field, Object newvalue)
onSet
in interface org.apache.felix.ipojo.FieldInterceptor
onSet
in class org.apache.felix.ipojo.PrimitiveHandler
pojo
- : pojo object setting the fieldfield
- : field namenewvalue
- : new valueorg.apache.felix.ipojo.PrimitiveHandler#setterCallback(java.lang.String,
java.lang.Object)
public void reconfigure(Dictionary configuration)
reconfigure
in class org.apache.felix.ipojo.Handler
Copyright © 2012-2013 Adele Team | LIG. All Rights Reserved.