Interface CoreHandler

All Superinterfaces:
CoreDeployment, Receiver<Request>
All Known Implementing Classes:
BusForwarder, BusRouter, MultiHandler

public interface CoreHandler extends Receiver<Request>, CoreDeployment
A simplified handler that may be deployed directly.

Supports DeploymentAware and ListenerAware.

  • Method Summary

    Modifier and Type
    Method
    Description
    default String
     

    Methods inherited from interface com.codingchili.core.listener.CoreDeployment

    init, start, stop

    Methods inherited from interface com.codingchili.core.listener.Receiver

    handle
  • Method Details

    • address

      default String address()
      Returns:
      the address of the handler. If not implemented the @Address annotation will be used, if missing an error is thrown.

      Could potentially lead to Runtime errors but is allowed here as this is called during deployment. Reconsider this decision later.