パッケージ org.wcardinal.controller

クラス ControllerFacade

java.lang.Object
org.wcardinal.controller.AbstractController
org.wcardinal.controller.ControllerFacade
すべての実装されたインタフェース:
ControllerContext, Facade, Unlockable

@Component @Scope("prototype") public class ControllerFacade extends AbstractController implements Facade
Provides additional functions of controllers for classes which can not extend AbstractController.
 @Controller
 class MyController {
   @Autowired
   ControllerFacade facade;

   void foo(){
     System.out.println( facade.getRemoteAddress() );
   }
 }
 
  • コンストラクタの詳細

    • ControllerFacade

      public ControllerFacade()