Save This Page
Home » spring-framework-2.5.5-with-dependencies » org.springframework » aop » target » [javadoc | source]
org.springframework.aop.target
public class: EmptyTargetSource [javadoc | source]
java.lang.Object
   org.springframework.aop.target.EmptyTargetSource

All Implemented Interfaces:
    TargetSource, Serializable

Canonical TargetSource when there is no target (or just the target class known), and behavior is supplied by interfaces and advisors only.
Field Summary
public static final  EmptyTargetSource INSTANCE    The canonical (Singleton) instance of this EmptyTargetSource
Method from org.springframework.aop.target.EmptyTargetSource Summary:
equals,   forClass,   forClass,   getTarget,   getTargetClass,   hashCode,   isStatic,   releaseTarget,   toString
Methods from java.lang.Object:
equals,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.springframework.aop.target.EmptyTargetSource Detail:
 public boolean equals(Object other) 
 public static EmptyTargetSource forClass(Class targetClass) 
    Return an EmptyTargetSource for the given target Class.
 public static EmptyTargetSource forClass(Class targetClass,
    boolean isStatic) 
    Return an EmptyTargetSource for the given target Class.
 public Object getTarget() 
    Always returns null.
 public Class getTargetClass() 
    Always returns the specified target Class, or null if none.
 public int hashCode() 
 public boolean isStatic() 
    Always returns true.
 public  void releaseTarget(Object target) 
    Nothing to release.
 public String toString()