public static void setContextStrategy ( ContextStrategy contextStrategy ) { if ( ContextTrampoline . contextStrategy != null ) { throw new IllegalStateException ( "contextStrategy was already set" ) ; } if ( contextStrategy == null ) { throw new NullPointerException ( "contextStrategy" ) ; } ContextTrampoline . contextStrategy = contextStrategy ; }
Sets the concrete strategy for accessing and manipulating the context .