コード例 #1
0
 /**
  * Get default InteractionTypeManager as defined in Spring's configuration file.
  *
  * @return the default singleton InteractionTypeManager
  */
 public static InteractionTypeManager getDefault() {
   return (InteractionTypeManager) SpringUtils.getSpringBean("managerInteractionType");
 }
コード例 #2
0
 /**
  * Get default AccountEntryGroupManager as defined in Spring's configuration file.
  *
  * @return the default singleton AccountEntryGroupManager
  */
 public static AccountEntryGroupManager getDefault() {
   return (AccountEntryGroupManager) SpringUtils.getSpringBean("managerAccountEntryGroup");
 }
コード例 #3
0
 /** @deprecated the preferred way to get the default manager is using Spring injection */
 public static AuthenticationManager getDefault() {
   return (AuthenticationManager) SpringUtils.getSpringBean("userDetailsService");
 }
コード例 #4
0
ファイル: TagManager.java プロジェクト: autentia/TNTConcept
 /**
  * Get default TagManager as defined in Spring's configuration file.
  *
  * @return the default singleton TagManager
  */
 public static TagManager getDefault() {
   return (TagManager) SpringUtils.getSpringBean("managerTag");
 }
コード例 #5
0
 /**
  * Get default ProjectRoleDAO as defined in Spring's configuration file.
  *
  * @return the default singleton ProjectRoleDAO
  */
 public static ProjectRoleDAO getDefault() {
   return (ProjectRoleDAO) SpringUtils.getSpringBean("daoProjectRole");
 }