Interface IValueLifecycleHandler

    • Method Detail

      • instantiate

        com.spencerwi.either.Either<Exception,​Value> instantiate​(List<Value> args)
        Creates an instance of the module based on the given arguments
        Parameters:
        args - the arguments to be used for the creation
        Returns:
        either an exception or the value just created
      • destroy

        void destroy​(Value value)
        Destruction of the initially created value. This serves as a clena up handle
        Parameters:
        value - the value to destroy