Typically if you know the types of the generic you can just do the following:
public LoginExecutor implements Executor<LoginForm>
{
public Result execute(LoginForm request) {...}
}
as the name suggests this approach is used for generic programming. When the type is know and you want to use for a particular type, you just implement using the type and from generic it becomes specific.