Class DefaultCxCmsContainerStrategy.CmsComponentInterceptor

  • All Implemented Interfaces:
    net.sf.cglib.proxy.Callback, net.sf.cglib.proxy.MethodInterceptor
    Enclosing class:
    DefaultCxCmsContainerStrategy

    protected static class DefaultCxCmsContainerStrategy.CmsComponentInterceptor
    extends java.lang.Object
    implements net.sf.cglib.proxy.MethodInterceptor
    A fancy dynamic proxy for "cloning" SimpleCMSComponentModel's. We want to be able to identify each instance of component on storefront. UID of componetn is not unique on storefront so we are "clonign" componetns and add to them another attributes.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.Object intercept​(java.lang.Object object, java.lang.reflect.Method method, java.lang.Object[] args, net.sf.cglib.proxy.MethodProxy methodProxy)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • intercept

        public java.lang.Object intercept​(java.lang.Object object,
                                          java.lang.reflect.Method method,
                                          java.lang.Object[] args,
                                          net.sf.cglib.proxy.MethodProxy methodProxy)
                                   throws java.lang.Throwable
        Specified by:
        intercept in interface net.sf.cglib.proxy.MethodInterceptor
        Throws:
        java.lang.Throwable