@Inject
    public void setHub(IOHubProvider hub) {
        this.hub = hub;
        handler = new JnlpProtocol4Handler(JnlpAgentReceiver.DATABASE, Computer.threadPoolForRemoting, hub.getHub(),
                sslContext, false, true);
    }
@ Inject public void setHub ( IOHubProvider hub ) { this . hub = hub ; handler = new JnlpProtocol4Handler ( JnlpAgentReceiver . DATABASE , Computer . threadPoolForRemoting , hub . getHub ( ) , sslContext , false , true ) ; }
Inject the {@link IOHubProvider}

@param hub the hub provider.