void function ( OutboundMessage arg0 ) { getAllowed ( ) . addAll ( getCandidates ( ) ) ; }
place for custom routing performed by specialized subclass . a `` positive '' approach is taken . method has to copy references to gateways from candidates list to allowed . so , default behavior is to copy all references . another possibility is to take `` negative '' approach , where method should delete unwanted gateways from list . this approach was found difficult to use at this time . concode_field_sep ArrayList<AGateway> candidates concode_elem_sep ArrayList<AGateway> allowed concode_field_sep Collection<AGateway> route concode_elem_sep void beginRouting concode_elem_sep ArrayList<AGateway> getCandidates concode_elem_sep void preroute concode_elem_sep ArrayList<AGateway> getAllowed concode_elem_sep void finishRouting