Package org.kohsuke.stapler
Class TearOffSupport
- java.lang.Object
-
- org.kohsuke.stapler.TearOffSupport
-
- Direct Known Subclasses:
MetaClass
,MetaClassLoader
public abstract class TearOffSupport extends Object
Allows "tear-off" objects to be linked to the parent object.This mechanism is used to avoid static linking optional packages, so that stapler can work even when the optional dependencies are missing.
- Author:
- Kohsuke Kawaguchi
-
-
Constructor Summary
Constructors Constructor Description TearOffSupport()
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description <T> T
getTearOff(Class<T> t)
Deprecated.Unused? UseloadTearOff(java.lang.Class<T>)
.<T> T
loadTearOff(Class<T> t)
<T> void
setTearOff(Class<T> type, T instance)
Deprecated.Unused?
-
-
-
Method Detail
-
getTearOff
@Deprecated public final <T> T getTearOff(Class<T> t)
Deprecated.Unused? UseloadTearOff(java.lang.Class<T>)
.
-
loadTearOff
public final <T> T loadTearOff(Class<T> t)
-
setTearOff
@Deprecated public <T> void setTearOff(Class<T> type, T instance)
Deprecated.Unused?
-
-