Such as Java
@ Named (" userInfoManagedBean ")
@ RequestScoped
Public class UserInfoManagedBean {
,,,,,,,
Public String getUser () throws the Exception {
}
}
XHTML
ActionListener:
Public class BaseActionListener implements ActionListener {
@ Override
Public void processAction (an ActionEvent an ActionEvent) {
//here I want to obtain userInfoManagedBean class name
}
}