Class ComponentAccessor<T>

java.lang.Object
org.infinispan.factories.impl.ComponentAccessor<T>

public class ComponentAccessor<T> extends Object
Component lifecycle management
Since:
10.0
Author:
Dan Berindei
  • Constructor Details

    • ComponentAccessor

      public ComponentAccessor(String className, Integer scopeOrdinal, boolean survivesRestarts, String superAccessorName, List<String> eagerDependencies)
  • Method Details

    • newInstance

      protected T newInstance()
    • wire

      protected void wire(T instance, WireContext context, boolean start)
    • start

      protected void start(T instance) throws Exception
      Throws:
      Exception
    • stop

      protected void stop(T instance) throws Exception
      Throws:
      Exception
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • isGlobalScope

      public boolean isGlobalScope()
      Temporary, for ComponentRegistry.getLocalComponent