org.apache.felix.ipojo.handlers.dependency
Class NullableObject
java.lang.Object
org.apache.felix.ipojo.handlers.dependency.NullableObject
- All Implemented Interfaces:
- InvocationHandler
public class NullableObject
- extends Object
- implements InvocationHandler
Default nullable object.
- Author:
- Felix Project Team
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NullableObject
public NullableObject()
invoke
public Object invoke(Object proxy,
Method method,
Object[] args)
- Invokes a method on this null object. The method will return a default
value without doing anything.
- Specified by:
invoke
in interface InvocationHandler
- Parameters:
proxy
- : proxy objectmethod
- : invoked methodargs
- : arguments.
- Returns:
- the returned value.
- See Also:
InvocationHandler.invoke(java.lang.Object, java.lang.reflect.Method, java.lang.Object[])
Copyright © 2006-2011 Apache Software Foundation. All Rights Reserved.