org.jbpm.designer.web.profile.impl
Class ProfileServiceImpl
java.lang.Object
org.jbpm.designer.web.profile.impl.ProfileServiceImpl
- All Implemented Interfaces:
- IDiagramProfileService
@ApplicationScoped
public class ProfileServiceImpl
- extends Object
- implements IDiagramProfileService
a service to register profiles.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ProfileServiceImpl
public ProfileServiceImpl()
ProfileServiceImpl
@Inject
public ProfileServiceImpl(@Any
javax.enterprise.inject.Instance<IDiagramProfile> profiles)
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 contextname
- the name of the profile
- Returns:
- the profile with the name in the context of that request
getProfiles
public Collection<IDiagramProfile> getProfiles(javax.servlet.http.HttpServletRequest request)
- Specified by:
getProfiles
in interface IDiagramProfileService
- Parameters:
request
- the context
- Returns:
- the profiles for the given context.
getFactories
public Set<IDiagramProfileFactory> getFactories()
Copyright © 2001-2013 JBoss by Red Hat. All Rights Reserved.