org.springframework.aop.IntroductionInfo .
Allows subclasses to conveniently add all interfaces from a given object, and to suppress interfaces that should not be added. Also allows for querying all introduced interfaces.
| Modifier and Type | Field and Description |
|---|---|
| protected final Set | |
| private transient Map |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public Class | getInterfaces()
Implements org. |
| protected void | implementInterfacesOnObject(Object
the delegate object delegate)Publish all interfaces that the given delegate implements at the proxy level. |
| public boolean | Returns: whether the interface is part of this introductionthe interface to check ifc)Check whether the specified interfaces is a published introduction interface. |
| protected final boolean | Returns: whether the invoked method is on an introduced interfacethe method invocation mi)Is this method on an introduced interface? |
| private void | |
| public void | suppressInterface(Class<?>
the interface to suppress ifc)Suppress the specified interface, which may have been autodetected due to the delegate implementing it. |
| publishedInterfaces | back to summary |
|---|---|
| protected final Set<Class<?>> publishedInterfaces | |
| rememberedMethods | back to summary |
|---|---|
| private transient Map<Method, Boolean> rememberedMethods | |
| IntroductionInfoSupport | back to summary |
|---|---|
| public IntroductionInfoSupport() | |
| getInterfaces | back to summary |
|---|---|
| public Class Implements org. Doc from org. Return the additional interfaces introduced by this Advisor or Advice. | |
| implementInterfacesOnObject | back to summary |
|---|---|
| protected void implementInterfacesOnObject(Object delegate) Publish all interfaces that the given delegate implements at the proxy level.
| |
| implementsInterface | back to summary |
|---|---|
| public boolean implementsInterface(Class<?> ifc) Check whether the specified interfaces is a published introduction interface.
| |
| isMethodOnIntroducedInterface | back to summary |
|---|---|
| protected final boolean isMethodOnIntroducedInterface(MethodInvocation mi) Is this method on an introduced interface?
| |
| readObject | back to summary |
|---|---|
| private void readObject(ObjectInputStream ois) throws IOException, ClassNotFoundException This method is implemented only to restore the logger. We don't make the logger static as that would mean that subclasses would use this class's log category. | |
| suppressInterface | back to summary |
|---|---|
| public void suppressInterface(Class<?> ifc) Suppress the specified interface, which may have been autodetected due to the delegate implementing it. Call this method to exclude internal interfaces from being visible at the proxy level. Does nothing if the interface is not implemented by the delegate.
| |