Class RequestMenuBuilder<T extends Menu,E extends BuildMenuEvent<T>>
java.lang.Object
com.foreach.across.modules.web.menu.RequestMenuBuilder<T,E>
- All Implemented Interfaces:
MenuBuilder<T,
E>
@Service
@Scope(value="request",
proxyMode=TARGET_CLASS)
public class RequestMenuBuilder<T extends Menu,E extends BuildMenuEvent<T>>
extends Object
implements MenuBuilder<T,E>
Builds a menu and assigns the request path to the selected path.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
buildEvent
(T menu) protected E
createEvent
(T menu) protected void
setContext
(Menu menu)
-
Constructor Details
-
RequestMenuBuilder
public RequestMenuBuilder()
-
-
Method Details
-
build
- Specified by:
build
in interfaceMenuBuilder<T extends Menu,
E extends BuildMenuEvent<T>>
-
createEvent
-
buildEvent
- Specified by:
buildEvent
in interfaceMenuBuilder<T extends Menu,
E extends BuildMenuEvent<T>>
-