com.atlassian.jira.rest.v2.issue.scope
Class RequestScope

java.lang.Object
  extended by com.atlassian.jira.rest.v2.issue.scope.RequestScope
All Implemented Interfaces:
org.springframework.beans.factory.config.Scope

public class RequestScope
extends Object
implements org.springframework.beans.factory.config.Scope

Custom Spring Scope that provided per-request beans.

Since:
v4.2

Constructor Summary
RequestScope()
           
 
Method Summary
 Object get(String name, org.springframework.beans.factory.ObjectFactory objectFactory)
           
 String getConversationId()
           
 void registerDestructionCallback(String name, Runnable callback)
           
 Object remove(String name)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RequestScope

public RequestScope()
Method Detail

get

public Object get(String name,
                  org.springframework.beans.factory.ObjectFactory objectFactory)
Specified by:
get in interface org.springframework.beans.factory.config.Scope

remove

public Object remove(String name)
Specified by:
remove in interface org.springframework.beans.factory.config.Scope

registerDestructionCallback

public void registerDestructionCallback(String name,
                                        Runnable callback)
Specified by:
registerDestructionCallback in interface org.springframework.beans.factory.config.Scope

getConversationId

public String getConversationId()
Specified by:
getConversationId in interface org.springframework.beans.factory.config.Scope


Copyright © 2002-2013 Atlassian. All Rights Reserved.