Class BaseEndpoint

java.lang.Object
com.broadleafcommerce.rest.api.endpoint.BaseEndpoint
All Implemented Interfaces:
org.springframework.beans.factory.Aware, org.springframework.context.ApplicationContextAware, org.springframework.context.MessageSourceAware
Direct Known Subclasses:
CartEndpoint, CatalogEndpoint, CheckoutEndpoint, ContentEndpoint, CustomerEndpoint, FulfillmentEndpoint, OrderHistoryEndpoint, PageEndpoint, PromotionMessageEndpoint, RatingEndpoint, RelatedProductsEndpoint, WishlistEndpoint

public abstract class BaseEndpoint extends Object implements org.springframework.context.ApplicationContextAware, org.springframework.context.MessageSourceAware
  • Field Details

    • context

      protected org.springframework.context.ApplicationContext context
    • messageSource

      protected org.springframework.context.MessageSource messageSource
  • Constructor Details

    • BaseEndpoint

      public BaseEndpoint()
  • Method Details

    • setApplicationContext

      public void setApplicationContext(org.springframework.context.ApplicationContext applicationContext) throws org.springframework.beans.BeansException
      Specified by:
      setApplicationContext in interface org.springframework.context.ApplicationContextAware
      Throws:
      org.springframework.beans.BeansException
    • setMessageSource

      public void setMessageSource(org.springframework.context.MessageSource messageSource)
      Specified by:
      setMessageSource in interface org.springframework.context.MessageSourceAware
    • getApplicationContext

      public org.springframework.context.ApplicationContext getApplicationContext()
    • getMessageSource

      public org.springframework.context.MessageSource getMessageSource()