public void onStartServiceEvent ( javax . slee . serviceactivity . ServiceStartedEvent event , ActivityContextInterface aci ) { tracer . info ( "Retreiving www.telestax.com..." ) ; try { HttpClientNIORequestActivity activity = httpClientRA . execute ( new HttpGet ( "http://www.telestax.com" ) , null , System . currentTimeMillis ( ) ) ; httpClientACIF . getActivityContextInterface ( activity ) . attach ( sbbContext . getSbbLocalObject ( ) ) ; } catch ( Exception e ) { tracer . severe ( "failed to retrieve webpage" , e ) ; } }
Event handler methods