@ApplicationScoped public class ProfileServiceImpl extends Object implements IDiagramProfileService
| Constructor and Description |
|---|
ProfileServiceImpl() |
ProfileServiceImpl(javax.enterprise.inject.Instance<IDiagramProfile> profiles) |
| Modifier and Type | Method and Description |
|---|---|
IDiagramProfile |
findProfile(javax.servlet.http.HttpServletRequest request,
String name) |
Set<IDiagramProfileFactory> |
getFactories() |
Collection<IDiagramProfile> |
getProfiles(javax.servlet.http.HttpServletRequest request) |
void |
init(javax.servlet.ServletContext context)
Initialize the service with a context
|
public ProfileServiceImpl()
@Inject
public ProfileServiceImpl(@Any
javax.enterprise.inject.Instance<IDiagramProfile> profiles)
public void init(javax.servlet.ServletContext context)
init in interface IDiagramProfileServicecontext - the servlet context to initialize the profile.public IDiagramProfile findProfile(javax.servlet.http.HttpServletRequest request, String name)
findProfile in interface IDiagramProfileServicerequest - the contextname - the name of the profilepublic Collection<IDiagramProfile> getProfiles(javax.servlet.http.HttpServletRequest request)
getProfiles in interface IDiagramProfileServicerequest - the contextpublic Set<IDiagramProfileFactory> getFactories()
Copyright © 2001–2018 JBoss by Red Hat. All rights reserved.