final String cmd = request.getCommand();
if (cmd.equals(WireEvents.ON_WIRE)) {
// create wire and add it here
WireEvent evt = WireEvent.getOnWireEvent(request);
Events.postEvent(evt);
} else if (cmd.equals(WireEvents.ON_UNWIRE)) {
WireEvent evt = WireEvent.getUnWireEvent(request);
Events.postEvent(evt);
} else
super.service(request, everError);
}