Class ProfileServiceImpl

    • Constructor Detail

      • ProfileServiceImpl

        public ProfileServiceImpl()
      • ProfileServiceImpl

        @Inject
        public ProfileServiceImpl​(@Any
                                  javax.enterprise.inject.Instance<IDiagramProfile> profiles)
    • Method Detail

      • init

        public void init​(javax.servlet.ServletContext context)
        Initialize the service with a context
        Specified by:
        init in interface IDiagramProfileService
        Parameters:
        context - the servlet context to initialize the profile.
      • findProfile

        public IDiagramProfile findProfile​(javax.servlet.http.HttpServletRequest request,
                                           String name)
        Specified by:
        findProfile in interface IDiagramProfileService
        Parameters:
        request - the context
        name - the name of the profile
        Returns:
        the profile with the name in the context of that request