Class BasePathFactoryBean

java.lang.Object
com.aspectran.core.support.BasePathFactoryBean
All Implemented Interfaces:
FactoryBean<String>, ApplicationAdapterAware, Aware

@AvoidAdvice public class BasePathFactoryBean extends Object implements ApplicationAdapterAware, FactoryBean<String>
BasePathFactoryBean that returns the base path where the root application is running. This can be used to reference the base path by declaring it as a bean in the Aspectran configuration metadata.

Created: 2017. 1. 29.

  • Constructor Details

    • BasePathFactoryBean

      public BasePathFactoryBean()
  • Method Details

    • setApplicationAdapter

      public void setApplicationAdapter(ApplicationAdapter applicationAdapter)
      Specified by:
      setApplicationAdapter in interface ApplicationAdapterAware
    • getObject

      public String getObject()
      Description copied from interface: FactoryBean
      Return an instance (possibly shared or independent) of the object managed by this factory. As with a BeanFactory, this allows support for both the Singleton and Prototype design pattern.
      Specified by:
      getObject in interface FactoryBean<String>
      Returns:
      an instance of the bean (can be null)