com.hammurapi.common

## Interface MutableContext

- All Superinterfaces:
    Context
  All Known Implementing Classes:
    CompositeContext, SimpleMutableContext, SingletonChainingContext

      public interface MutableContext
      extends Context

  Context which can be modified.

- - ### Field Summary

    - ### Fields inherited from interface com.hammurapi.common.Context

      `INSTANCE`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `bind(String name, Object obj)` Binds named object.
    `<T> void` | `register(Class<? super T> type, T service)` Registers service.
    `Object` | `unbind(String name)` Unbinds named object.
    `<T> void` | `unregister(Class<? super T> type, T service)` Removes service registration.

    - ### Methods inherited from interface com.hammurapi.common.Context

      `lookup, lookup, lookupAll`

- - ### Method Detail

    - #### bind

          void bind(String name,
                  Object obj)

      Binds named object.
      Parameters:
        `name` - Object name.
        `obj` - Object reference. Cannot be null.

    - #### unbind

          Object unbind(String name)

      Unbinds named object.
      Parameters:
        `name` -
      Returns:
        Object previously bound to given name.

    - #### register

          <T> void register(Class<? super T> type,
                          T service)

      Registers service.
      Type Parameters:
        `T` - Service implementation type.
      Parameters:
        `type` - Service type.
        `service` - Service instance.

    - #### unregister

          <T> void unregister(Class<? super T> type,
                            T service)

      Removes service registration.
      Type Parameters:
        `T` -
      Parameters:
        `type` -
        `service` -