Class GsLocalViewComponent

  • All Implemented Interfaces:
    com.avanza.astrix.beans.core.AstrixConfigAware, com.avanza.astrix.beans.core.BeanProxyFilter, com.avanza.astrix.beans.service.ServiceComponent

    public class GsLocalViewComponent
    extends Object
    implements com.avanza.astrix.beans.service.ServiceComponent, com.avanza.astrix.beans.core.AstrixConfigAware, com.avanza.astrix.beans.core.BeanProxyFilter
    Allows publishing a GigaSpace's local-view.
    Author:
    Elias Lindholm (elilin)
    • Method Detail

      • bind

        public <T> com.avanza.astrix.beans.service.BoundServiceBeanInstance<T> bind​(com.avanza.astrix.beans.service.ServiceDefinition<T> serviceDefinition,
                                                                                    com.avanza.astrix.beans.service.ServiceProperties serviceProperties)
        Specified by:
        bind in interface com.avanza.astrix.beans.service.ServiceComponent
      • applyBeanProxy

        public boolean applyBeanProxy​(com.avanza.astrix.beans.core.BeanProxy beanProxy)
        Specified by:
        applyBeanProxy in interface com.avanza.astrix.beans.core.BeanProxyFilter
      • parseServiceProviderUri

        public com.avanza.astrix.beans.service.ServiceProperties parseServiceProviderUri​(String serviceProviderUri)
        Specified by:
        parseServiceProviderUri in interface com.avanza.astrix.beans.service.ServiceComponent
      • createServiceProperties

        public <T> com.avanza.astrix.beans.service.ServiceProperties createServiceProperties​(com.avanza.astrix.beans.service.ServiceDefinition<T> definition)
        Specified by:
        createServiceProperties in interface com.avanza.astrix.beans.service.ServiceComponent
      • getName

        public String getName()
        Specified by:
        getName in interface com.avanza.astrix.beans.service.ServiceComponent
      • canBindType

        public boolean canBindType​(Class<?> type)
        Specified by:
        canBindType in interface com.avanza.astrix.beans.service.ServiceComponent
      • exportService

        public <T> void exportService​(Class<T> providedApi,
                                      T provider,
                                      com.avanza.astrix.beans.service.ServiceDefinition<T> serviceDefintition)
        Specified by:
        exportService in interface com.avanza.astrix.beans.service.ServiceComponent
      • requiresProviderInstance

        public boolean requiresProviderInstance()
        Specified by:
        requiresProviderInstance in interface com.avanza.astrix.beans.service.ServiceComponent
      • setConfig

        public void setConfig​(com.avanza.astrix.config.DynamicConfig config)
        Specified by:
        setConfig in interface com.avanza.astrix.beans.core.AstrixConfigAware