org.broadleafcommerce.core.web.api.endpoint
Class BaseEndpoint

java.lang.Object
  extended by org.broadleafcommerce.core.web.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, CustomerEndpoint, FulfillmentEndpoint, OrderHistoryEndpoint

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


Field Summary
protected  org.springframework.context.ApplicationContext context
           
protected  org.springframework.context.MessageSource messageSource
           
 
Constructor Summary
BaseEndpoint()
           
 
Method Summary
 org.springframework.context.ApplicationContext getApplicationContext()
           
 org.springframework.context.MessageSource getMessageSource()
           
 void setApplicationContext(org.springframework.context.ApplicationContext applicationContext)
           
 void setMessageSource(org.springframework.context.MessageSource messageSource)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

context

protected org.springframework.context.ApplicationContext context

messageSource

protected org.springframework.context.MessageSource messageSource
Constructor Detail

BaseEndpoint

public BaseEndpoint()
Method Detail

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()


Copyright © 2013. All Rights Reserved.