jBPM Designer - Backend 6.0.3-SNAPSHOT

org.jbpm.designer.web.profile.impl
Class ProfileServiceImpl

java.lang.Object
  extended by org.jbpm.designer.web.profile.impl.ProfileServiceImpl
All Implemented Interfaces:
IDiagramProfileService

@ApplicationScoped
public class ProfileServiceImpl
extends Object
implements IDiagramProfileService

a service to register profiles.


Constructor Summary
ProfileServiceImpl()
           
ProfileServiceImpl(javax.enterprise.inject.Instance<IDiagramProfile> profiles)
           
 
Method Summary
 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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

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

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()

jBPM Designer - Backend 6.0.3-SNAPSHOT

Copyright © 2001-2015 JBoss by Red Hat. All Rights Reserved.