org.kohsuke.stapler.bind
Class BoundObjectTable
java.lang.Object
org.kohsuke.stapler.bind.BoundObjectTable
public class BoundObjectTable
- extends java.lang.Object
TODO: think about some kind of eviction strategy, beyond the session eviction.
Maybe it's not necessary, I don't know.
- Author:
- Kohsuke Kawaguchi
Field Summary |
static java.lang.String |
PREFIX
|
Method Summary |
Bound |
bind(java.lang.Object o)
Binds an object temporarily and returns its URL. |
Bound |
bindWeak(java.lang.Object o)
Binds an object temporarily and returns its URL. |
java.lang.Object |
getDynamic(java.lang.String id)
|
void |
releaseMe()
Called from within the request handling of a bound object, to release the object explicitly. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PREFIX
public static final java.lang.String PREFIX
- See Also:
- Constant Field Values
BoundObjectTable
public BoundObjectTable()
getDynamic
public java.lang.Object getDynamic(java.lang.String id)
bind
public Bound bind(java.lang.Object o)
- Binds an object temporarily and returns its URL.
bindWeak
public Bound bindWeak(java.lang.Object o)
- Binds an object temporarily and returns its URL.
releaseMe
public void releaseMe()
- Called from within the request handling of a bound object, to release the object explicitly.
Copyright © 2012. All Rights Reserved.