com.atlassian.jira.datetime
Class DateTimeFormatterComponentAdapter
java.lang.Object
com.atlassian.jira.config.component.AbstractComponentAdaptor<DateTimeFormatter>
com.atlassian.jira.datetime.DateTimeFormatterComponentAdapter
- All Implemented Interfaces:
- org.picocontainer.ComponentAdapter
public class DateTimeFormatterComponentAdapter
- extends AbstractComponentAdaptor<DateTimeFormatter>
A component adapter that creates DateTimeFormatter proxies. Whenever a method is called on the proxy, it will call
DateTimeFormatterFactory.formatter()
to obtain a real DateTimeFormatter, and will
delegate the call to the real implementation.
- Since:
- v5.0
- See Also:
DateTimeFormatterFactory.formatter()
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DateTimeFormatterComponentAdapter
public DateTimeFormatterComponentAdapter()
getComponentImplementation
public Class<?> getComponentImplementation()
- Specified by:
getComponentImplementation
in interface org.picocontainer.ComponentAdapter
- Specified by:
getComponentImplementation
in class AbstractComponentAdaptor<DateTimeFormatter>
getComponentInstance
public Object getComponentInstance()
throws org.picocontainer.PicoInitializationException,
org.picocontainer.PicoIntrospectionException
- Specified by:
getComponentInstance
in interface org.picocontainer.ComponentAdapter
- Specified by:
getComponentInstance
in class AbstractComponentAdaptor<DateTimeFormatter>
- Throws:
org.picocontainer.PicoInitializationException
org.picocontainer.PicoIntrospectionException
verify
public void verify()
throws org.picocontainer.defaults.UnsatisfiableDependenciesException
- Specified by:
verify
in interface org.picocontainer.ComponentAdapter
- Overrides:
verify
in class AbstractComponentAdaptor<DateTimeFormatter>
- Throws:
org.picocontainer.defaults.UnsatisfiableDependenciesException
getFactoryFromContainer
protected DateTimeFormatterFactory getFactoryFromContainer()
- Returns a DateTimeFormatterFactory instance from the container.
- Returns:
- a DateTimeFormatterFactory
Copyright © 2002-2013 Atlassian. All Rights Reserved.