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

java.lang.Object
  extended by org.springframework.beans.factory.config.AbstractFactoryBean
      extended by com.atlassian.jira.rest.v2.issue.scope.ContextI18nFactoryBean
All Implemented Interfaces:
org.springframework.beans.factory.BeanClassLoaderAware, org.springframework.beans.factory.BeanFactoryAware, org.springframework.beans.factory.DisposableBean, org.springframework.beans.factory.FactoryBean, org.springframework.beans.factory.InitializingBean

public class ContextI18nFactoryBean
extends org.springframework.beans.factory.config.AbstractFactoryBean

This factory bean creates ContextI18n instances.

Since:
v4.2

Field Summary
 
Fields inherited from class org.springframework.beans.factory.config.AbstractFactoryBean
logger
 
Constructor Summary
ContextI18nFactoryBean(JiraAuthenticationContext authContext)
          Creates a new ContextI18nFactoryBean.
 
Method Summary
protected  ContextI18n createInstance()
          Creates a new ContextI18n instance that delegates to the I18nHelper obtained from the JiraAuthenticationContext.
 Class<ContextI18n> getObjectType()
          Returns ContextI18n.class
 
Methods inherited from class org.springframework.beans.factory.config.AbstractFactoryBean
afterPropertiesSet, destroy, destroyInstance, getBeanFactory, getBeanTypeConverter, getEarlySingletonInterfaces, getObject, isSingleton, setBeanClassLoader, setBeanFactory, setSingleton
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ContextI18nFactoryBean

public ContextI18nFactoryBean(JiraAuthenticationContext authContext)
Creates a new ContextI18nFactoryBean.

Parameters:
authContext - a JiraAuthenticationContext
Method Detail

createInstance

protected ContextI18n createInstance()
Creates a new ContextI18n instance that delegates to the I18nHelper obtained from the JiraAuthenticationContext.

Specified by:
createInstance in class org.springframework.beans.factory.config.AbstractFactoryBean
Returns:
a new ContextI18n

getObjectType

public Class<ContextI18n> getObjectType()
Returns ContextI18n.class

Specified by:
getObjectType in interface org.springframework.beans.factory.FactoryBean
Specified by:
getObjectType in class org.springframework.beans.factory.config.AbstractFactoryBean
Returns:
ContextI18n.class


Copyright © 2002-2012 Atlassian. All Rights Reserved.