public static void main(String[] args) {
        /***************************************************
         * д
         ***************************************************/
        System.out.println("============================в==========================");
        EventCenter serialEventCenter = new EventCenter();
        EventListener listener1 = new EventListener();
        EventListener listener2 = new EventListener();
        serialEventCenter.addListener(listener1);
        serialEventCenter.addListener(listener2);

        try {
            listener1.addEvent("EVENT_TEST1", new IEventCallBack() {

                @Override
                public void execute(final EventDTO eventDTO) {
                    System.out.println("Response EVENT_TEST1 Wow");
                }
            });
            listener2.addEvent("EVENT_TEST2", new IEventCallBack() {

                @Override
                public void execute(final EventDTO eventDTO) {
                    System.out.println("Response EVENT_TEST2 Wow");
                    BucEventDTO bucEventDTO = (BucEventDTO) eventDTO;
                    System.out.println("loginid=" + bucEventDTO.getLoginId());
                    System.out.println("passwd=" + bucEventDTO.getPasswd());
                }
            });
        } catch (EventException e) {
            e.printStackTrace();
        }

        serialEventCenter.publish("EVENT_TEST1");
        BucEventDTO bucEventDTO = new BucEventDTO();
        bucEventDTO.setLoginId("nuaayangbolin");
        bucEventDTO.setPasswd("1111111111");
        serialEventCenter.publish("EVENT_TEST2", bucEventDTO);
        System.out.println("============================в==========================");

        /******************************************************
         * 
         ******************************************************/
        System.out.println("======================================================");
        EventCenter concurrentEventCenter = new EventCenter();
        concurrentEventCenter.setEventTriggerStrategy(TriggerEventStrategyEnum.CONCURRENT.getValue());
        concurrentEventCenter.addListener(listener1);
        concurrentEventCenter.addListener(listener2);
        concurrentEventCenter.publish("EVENT_TEST1");
        concurrentEventCenter.publish("EVENT_TEST2", bucEventDTO);
    }