|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.kohsuke.stapler.bind.BoundObjectTable
public class BoundObjectTable
Objects exported and bound by JavaScript proxies. TODO: think about some kind of eviction strategy, beyond the session eviction. Maybe it's not necessary, I don't know.
Nested Class Summary | |
---|---|
static class |
BoundObjectTable.Table
Per-session table that remembers all the bound instances. |
Field Summary | |
---|---|
static boolean |
DEBUG_LOGGING
True to activate debug logging of session fragments. |
static String |
PREFIX
|
Constructor Summary | |
---|---|
BoundObjectTable()
|
Method Summary | |
---|---|
Bound |
bind(Object o)
Binds an object temporarily and returns its URL. |
Bound |
bindWeak(Object o)
Binds an object temporarily and returns its URL. |
BoundObjectTable.Table |
getStaplerFallback()
Returns the object that is further searched for processing web requests. |
BoundObjectTable.Table |
getTable()
Explicit call to create the table if one doesn't exist yet. |
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 |
Field Detail |
---|
public static final String PREFIX
public static boolean DEBUG_LOGGING
Constructor Detail |
---|
public BoundObjectTable()
Method Detail |
---|
public BoundObjectTable.Table getStaplerFallback()
StaplerFallback
getStaplerFallback
in interface StaplerFallback
this
is returned, stapler behaves as if the object
didn't implement this interface (which means the request processing
failes with 404.)public Bound bind(Object o)
public Bound bindWeak(Object o)
public void releaseMe()
public BoundObjectTable.Table getTable()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |