org.jbpm.designer.web.profile.impl
@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 IDiagramProfileService
context
- the servlet context to initialize the profile.public IDiagramProfile findProfile(javax.servlet.http.HttpServletRequest request, String name)
findProfile
in interface IDiagramProfileService
request
- the contextname
- the name of the profilepublic Collection<IDiagramProfile> getProfiles(javax.servlet.http.HttpServletRequest request)
getProfiles
in interface IDiagramProfileService
request
- the contextpublic Set<IDiagramProfileFactory> getFactories()
Copyright © 2001-2013 JBoss by Red Hat. All Rights Reserved.