| 
 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.vinculumtech.carrierwave.plansource.PlanSourceRoot
The PlanSourceRoot class owns all the GraphPlanSource instances in a given process space.
 GraphPlanSource instances are organized first by context, then by their authority order value. The context
 allows multiple sessions in a process space to have a unique set of GraphPlanSources. The context may be null.
| Method Summary | |
| static void | destroyContext(java.lang.Object context)Removes the registred GraphPlanSources for the given context. This is to prevent memory/resource leaks in client applications. | 
| static java.util.Collection | getAllGraphPlanSourceNames(java.lang.Object context) | 
| static GraphPlanSource | getNamedGraphPlanSource(java.lang.Object context,
                        java.lang.String sourceName) | 
| static java.util.Map | getNamedGraphPlanSources(java.lang.Object context) | 
| static GraphPlanSource | getOrderedGraphPlanSource(java.lang.Object context,
                          java.lang.Integer authorityValue) | 
| static java.util.Map | getOrderedGraphPlanSources(java.lang.Object context) | 
| static void | registerGraphPlanSource(java.lang.Object context,
                        GraphPlanSource graphPlanSource)Associates the given GraphPlanSource instance with the given conext object. | 
| static GraphPlanSource | unregisterGraphPlanSource(java.lang.Object context,
                          java.lang.String sourceName)Disassociates the named GraphPlanSource instance with the given conext object. | 
| Methods inherited from class java.lang.Object | 
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Method Detail | 
public static final void registerGraphPlanSource(java.lang.Object context,
                                                 GraphPlanSource graphPlanSource)
context - graphPlanSource - 
java.lang.IllegalStateException - thrown if graphPlanSource with same authority order already registered
public static final GraphPlanSource unregisterGraphPlanSource(java.lang.Object context,
                                                              java.lang.String sourceName)
context - sourceName - 
public static final java.util.Map getNamedGraphPlanSources(java.lang.Object context)
context - 
public static final java.util.Map getOrderedGraphPlanSources(java.lang.Object context)
context - 
public static final GraphPlanSource getNamedGraphPlanSource(java.lang.Object context,
                                                            java.lang.String sourceName)
context - sourceName - 
public static final GraphPlanSource getOrderedGraphPlanSource(java.lang.Object context,
                                                              java.lang.Integer authorityValue)
context - authorityValue - 
public static final java.util.Collection getAllGraphPlanSourceNames(java.lang.Object context)
context - 
public static final void destroyContext(java.lang.Object context)
context - | 
 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||