Class ServerStartedInterceptor

java.lang.Object
org.spincast.core.config.ServerStartedInterceptor
All Implemented Interfaces:
org.aopalliance.aop.Advice, org.aopalliance.intercept.Interceptor, org.aopalliance.intercept.MethodInterceptor

public class ServerStartedInterceptor extends Object implements org.aopalliance.intercept.MethodInterceptor
Interceptor that will call the ServerStartedListener listeners once the server is started.
  • Constructor Details

    • ServerStartedInterceptor

      public ServerStartedInterceptor(com.google.inject.Provider<ServerUtils> serverUtilsProvider)
  • Method Details

    • getServerUtils

      protected ServerUtils getServerUtils()
    • invoke

      public Object invoke(org.aopalliance.intercept.MethodInvocation invocation) throws Throwable
      Specified by:
      invoke in interface org.aopalliance.intercept.MethodInterceptor
      Throws:
      Throwable