├── .DS_Store ├── .classpath ├── .gitattributes ├── .gitignore ├── .idea ├── .name ├── artifacts │ ├── nvwa_zkadmin_war.xml │ └── nvwa_zkadmin_war_exploded.xml ├── compiler.xml ├── dictionaries │ └── huxiao.xml ├── encodings.xml ├── libraries │ ├── Maven__aopalliance_aopalliance_1_0.xml │ ├── Maven__asm_asm_3_1.xml │ ├── Maven__backport_util_concurrent_backport_util_concurrent_3_1.xml │ ├── Maven__cglib_cglib_2_2.xml │ ├── Maven__com_alibaba_fastjson_1_2_5.xml │ ├── Maven__com_alibaba_rocketmq_rocketmq_client_3_2_6.xml │ ├── Maven__com_alibaba_rocketmq_rocketmq_common_3_2_5.xml │ ├── Maven__com_alibaba_rocketmq_rocketmq_remoting_3_2_5.xml │ ├── Maven__com_aliyun_openservices_ons_api_1_1_11.xml │ ├── Maven__com_aliyun_openservices_ons_client_1_1_11.xml │ ├── Maven__com_google_code_gson_gson_2_2_3.xml │ ├── Maven__com_google_guava_guava_15_0.xml │ ├── Maven__com_ibm_icu_icu4j_2_6_1.xml │ ├── Maven__com_jcraft_jsch_0_1_42.xml │ ├── Maven__com_jcraft_jzlib_1_0_7.xml │ ├── Maven__com_sftp_com_sftp_1_0_0.xml │ ├── Maven__commons_beanutils_commons_beanutils_1_8_0.xml │ ├── Maven__commons_beanutils_commons_beanutils_1_8_3.xml │ ├── Maven__commons_codec_commons_codec_1_4.xml │ ├── Maven__commons_codec_commons_codec_1_6.xml │ ├── Maven__commons_collections_commons_collections_3_2.xml │ ├── Maven__commons_dbcp_commons_dbcp_1_4.xml │ ├── Maven__commons_dbutils_commons_dbutils_1_3.xml │ ├── Maven__commons_io_commons_io_1_3_1.xml │ ├── Maven__commons_io_commons_io_2_4.xml │ ├── Maven__commons_lang_commons_lang_2_6.xml │ ├── Maven__commons_logging_commons_logging_1_0_4.xml │ ├── Maven__commons_logging_commons_logging_1_1.xml │ ├── Maven__commons_logging_commons_logging_1_1_1.xml │ ├── Maven__commons_logging_commons_logging_1_1_3.xml │ ├── Maven__commons_net_commons_net_3_2.xml │ ├── Maven__commons_pool_commons_pool_1_5_4.xml │ ├── Maven__commons_pool_commons_pool_1_5_5.xml │ ├── Maven__dom4j_dom4j_1_6_1.xml │ ├── Maven__io_netty_netty_3_7_0_Final.xml │ ├── Maven__io_netty_netty_all_4_0_24_Final.xml │ ├── Maven__javassist_javassist_3_11_0_GA.xml │ ├── Maven__javax_servlet_jstl_1_2.xml │ ├── Maven__javax_servlet_servlet_api_2_5.xml │ ├── Maven__jaxen_jaxen_1_1_1.xml │ ├── Maven__jboss_javassist_3_7_ga.xml │ ├── Maven__jdom_jdom_1_0.xml │ ├── Maven__jline_jline_0_9_94.xml │ ├── Maven__junit_junit_4_4.xml │ ├── Maven__junit_junit_4_7.xml │ ├── Maven__junit_junit_4_8_2.xml │ ├── Maven__log4j_log4j_1_2_16.xml │ ├── Maven__log4j_log4j_1_2_17.xml │ ├── Maven__net_sf_ehcache_ehcache_1_5_0.xml │ ├── Maven__net_sf_jsr107cache_jsr107cache_1_0.xml │ ├── Maven__ognl_ognl_2_6_9.xml │ ├── Maven__ognl_ognl_3_0_1.xml │ ├── Maven__org_apache_commons_commons_pool2_2_0.xml │ ├── Maven__org_apache_curator_curator_client_2_3_0.xml │ ├── Maven__org_apache_curator_curator_framework_2_3_0.xml │ ├── Maven__org_apache_curator_curator_recipes_2_3_0.xml │ ├── Maven__org_apache_ftpserver_ftplet_api_1_0_6.xml │ ├── Maven__org_apache_ftpserver_ftpserver_core_1_0_6.xml │ ├── Maven__org_apache_httpcomponents_httpclient_4_2_1.xml │ ├── Maven__org_apache_httpcomponents_httpcore_4_2_1.xml │ ├── Maven__org_apache_mina_mina_core_2_0_1.xml │ ├── Maven__org_apache_mina_mina_core_2_0_4.xml │ ├── Maven__org_apache_mina_mina_core_bundle_2_0_4.xml │ ├── Maven__org_apache_mina_mina_integration_beans_bundle_2_0_4.xml │ ├── Maven__org_apache_mina_mina_integration_jmx_2_0_4.xml │ ├── Maven__org_apache_mina_mina_integration_ognl_bundle_2_0_4.xml │ ├── Maven__org_apache_poi_ooxml_schemas_1_0.xml │ ├── Maven__org_apache_poi_poi_3_5_FINAL.xml │ ├── Maven__org_apache_poi_poi_ooxml_3_5_FINAL.xml │ ├── Maven__org_apache_shiro_shiro_core_1_1_0.xml │ ├── Maven__org_apache_shiro_shiro_spring_1_1_0.xml │ ├── Maven__org_apache_shiro_shiro_web_1_1_0.xml │ ├── Maven__org_apache_tomcat_annotations_api_6_0_16.xml │ ├── Maven__org_apache_tomcat_catalina_6_0_16.xml │ ├── Maven__org_apache_tomcat_coyote_6_0_16.xml │ ├── Maven__org_apache_tomcat_el_api_6_0_16.xml │ ├── Maven__org_apache_tomcat_extras_juli_6_0_16.xml │ ├── Maven__org_apache_tomcat_extras_juli_adapters_6_0_16.xml │ ├── Maven__org_apache_tomcat_jasper_6_0_16.xml │ ├── Maven__org_apache_tomcat_jasper_el_6_0_16.xml │ ├── Maven__org_apache_tomcat_jasper_jdt_6_0_16.xml │ ├── Maven__org_apache_tomcat_jsp_api_6_0_16.xml │ ├── Maven__org_apache_tomcat_juli_6_0_16.xml │ ├── Maven__org_apache_tomcat_servlet_api_6_0_16.xml │ ├── Maven__org_apache_xmlbeans_xmlbeans_2_3_0.xml │ ├── Maven__org_apache_zookeeper_zookeeper_3_4_6.xml │ ├── Maven__org_aspectj_aspectjweaver_1_6_6.xml │ ├── Maven__org_bigmouth_nvwa_network_1_0_0.xml │ ├── Maven__org_bouncycastle_bcprov_jdk16_1_46.xml │ ├── Maven__org_easymock_easymock_2_4.xml │ ├── Maven__org_mongodb_mongo_java_driver_2_11_4.xml │ ├── Maven__org_mybatis_mybatis_3_1_0_RELEASE.xml │ ├── Maven__org_mybatis_mybatis_spring_1_1_0.xml │ ├── Maven__org_openengsb_wrapped_com_jcraft_jsch_all_1_0_0_RELEASE.xml │ ├── Maven__org_slf4j_slf4j_api_1_5_6.xml │ ├── Maven__org_slf4j_slf4j_api_1_7_1.xml │ ├── Maven__org_slf4j_slf4j_log4j12_1_5_6.xml │ ├── Maven__org_slf4j_slf4j_log4j12_1_7_1.xml │ ├── Maven__org_springframework_batch_spring_batch_infrastructure_3_0_7_RELEASE.xml │ ├── Maven__org_springframework_retry_spring_retry_1_1_0_RELEASE.xml │ ├── Maven__org_springframework_spring_2_5.xml │ ├── Maven__org_springframework_spring_aop_3_2_9_RELEASE.xml │ ├── Maven__org_springframework_spring_beans_3_2_9_RELEASE.xml │ ├── Maven__org_springframework_spring_context_3_2_9_RELEASE.xml │ ├── Maven__org_springframework_spring_core_3_2_9_RELEASE.xml │ ├── Maven__org_springframework_spring_expression_3_2_9_RELEASE.xml │ ├── Maven__org_springframework_spring_jdbc_3_2_9_RELEASE.xml │ ├── Maven__org_springframework_spring_orm_3_2_9_RELEASE.xml │ ├── Maven__org_springframework_spring_test_3_2_9_RELEASE.xml │ ├── Maven__org_springframework_spring_tx_3_2_9_RELEASE.xml │ ├── Maven__org_springframework_spring_web_3_2_9_RELEASE.xml │ ├── Maven__org_springframework_spring_webmvc_3_2_9_RELEASE.xml │ ├── Maven__org_tuckey_urlrewritefilter_4_0_3.xml │ ├── Maven__postgresql_postgresql_9_1_901_1_jdbc4.xml │ ├── Maven__redis_clients_jedis_2_0_0.xml │ ├── Maven__redis_clients_jedis_2_6_0.xml │ ├── Maven__stax_stax_api_1_0_1.xml │ ├── Maven__xalan_xalan_2_6_0.xml │ ├── Maven__xerces_xercesImpl_2_6_2.xml │ ├── Maven__xerces_xmlParserAPIs_2_6_2.xml │ ├── Maven__xml_apis_xml_apis_1_0_b2.xml │ └── Maven__xom_xom_1_0.xml ├── misc.xml ├── modules.xml ├── vcs.xml └── workspace.xml ├── .project ├── .settings ├── org.eclipse.jdt.core.prefs ├── org.eclipse.m2e.core.prefs └── org.maven.ide.eclipse.prefs ├── README.md ├── build.cmd ├── nvwa-asyncweb ├── .DS_Store ├── .classpath ├── .gitignore ├── .project ├── .settings │ ├── org.eclipse.core.resources.prefs │ ├── org.eclipse.jdt.core.prefs │ ├── org.eclipse.m2e.core.prefs │ ├── org.eclipse.wst.common.component │ ├── org.eclipse.wst.common.project.facet.core.xml │ ├── org.eclipse.wst.validation.prefs │ └── org.maven.ide.eclipse.prefs ├── pom.xml └── src │ ├── main │ └── java │ │ └── org │ │ └── apache │ │ └── asyncweb │ │ └── common │ │ ├── Cookie.java │ │ ├── CookieComparator.java │ │ ├── DefaultCookie.java │ │ ├── DefaultHttpMessage.java │ │ ├── DefaultHttpRequest.java │ │ ├── DefaultHttpResponse.java │ │ ├── HttpDateFormat.java │ │ ├── HttpHeaderConstants.java │ │ ├── HttpHeaderNameComparator.java │ │ ├── HttpMessage.java │ │ ├── HttpMethod.java │ │ ├── HttpRequest.java │ │ ├── HttpResponse.java │ │ ├── HttpResponseStatus.java │ │ ├── HttpVersion.java │ │ ├── MutableCookie.java │ │ ├── MutableHttpMessage.java │ │ ├── MutableHttpRequest.java │ │ ├── MutableHttpResponse.java │ │ └── codec │ │ ├── ChunkedBodyDecodingState.java │ │ ├── DateParseException.java │ │ ├── DateUtil.java │ │ ├── HttpCodecFactory.java │ │ ├── HttpCodecUtils.java │ │ ├── HttpHeaderDecodingState.java │ │ ├── HttpRequestDecoder.java │ │ ├── HttpRequestDecoderException.java │ │ ├── HttpRequestDecodingStateMachine.java │ │ ├── HttpRequestEncoder.java │ │ ├── HttpRequestLineDecodingState.java │ │ ├── HttpResponseDecoder.java │ │ ├── HttpResponseDecodingState.java │ │ ├── HttpResponseEncoder.java │ │ ├── HttpResponseLineDecodingState.java │ │ └── HttpVersionDecodingState.java │ └── test │ ├── catalina │ ├── conf │ │ └── web.xml │ └── webapps │ │ └── ROOT │ │ ├── cookie.jsp │ │ ├── helloworld.jsp │ │ └── redirect.jsp │ └── java │ └── org │ └── apache │ └── asyncweb │ └── common │ ├── DefaultCookieTest.java │ ├── DefaultHttpRequestTest.java │ ├── HttpResponseDecoderTest.java │ └── integration │ ├── AvailablePortFinder.java │ ├── ResponseOutput.java │ ├── SimpleHttpTest.java │ └── TomcatTest.java ├── nvwa-authority ├── .DS_Store ├── .classpath ├── .gitignore ├── .project ├── .settings │ ├── org.eclipse.core.resources.prefs │ ├── org.eclipse.jdt.core.prefs │ ├── org.eclipse.jdt.ui.prefs │ ├── org.eclipse.m2e.core.prefs │ ├── org.eclipse.wst.common.component │ ├── org.eclipse.wst.common.project.facet.core.xml │ ├── org.eclipse.wst.validation.prefs │ └── org.maven.ide.eclipse.prefs ├── pom.xml └── src │ └── main │ └── java │ └── org │ └── bigmouth │ └── nvwa │ └── authority │ ├── ChainDefinitionSectionMetaSource.java │ ├── NvwaAuthorityFilter.java │ ├── NvwaCredentialsMatcher.java │ ├── applicationContext-shiro-web.xml │ ├── creates.sql │ ├── dao │ ├── ResourceDao.java │ ├── RoleDao.java │ └── UserDao.java │ ├── entity │ ├── Resource.java │ ├── Role.java │ ├── User.java │ └── UserSeletive.java │ ├── interceptor │ └── AuthorityInterceptor.java │ ├── mapper │ ├── resource.mapper.xml │ ├── role.mapper.xml │ └── user.mapper.xml │ ├── realm │ └── NvwaRealm.java │ ├── service │ ├── UserService.java │ └── UserServiceImpl.java │ └── web.xml ├── nvwa-cache ├── .DS_Store ├── .classpath ├── .gitignore ├── .project ├── .settings │ ├── org.eclipse.core.resources.prefs │ ├── org.eclipse.jdt.core.prefs │ ├── org.eclipse.m2e.core.prefs │ ├── org.eclipse.wst.common.component │ ├── org.eclipse.wst.common.project.facet.core.xml │ ├── org.eclipse.wst.validation.prefs │ └── org.maven.ide.eclipse.prefs ├── pom.xml └── src │ └── main │ └── java │ └── org │ └── bigmouth │ └── nvwa │ └── cache │ ├── CacheConstant.java │ ├── CacheServiceException.java │ ├── ConfigNodeBuilder.java │ ├── DataExtractor.java │ ├── FetchService.java │ ├── KeepFetchService.java │ ├── KeepKeyGenerator.java │ ├── KeyGenerator.java │ ├── KeyKeeper.java │ ├── KeyUtils.java │ ├── MemClientBuilder.java │ ├── Node.java │ ├── NodeBuilder.java │ ├── NodeManager.java │ ├── OriginalClientAware.java │ ├── UpdateService.java │ ├── factory │ └── AutoFlushCacheFactory.java │ ├── inbound │ ├── InMemFetchService.java │ └── ScalableFetchService.java │ ├── local │ └── EhCacheFetchService.java │ ├── support │ ├── ConfigNodeBuilder.java │ ├── DefaultNode.java │ └── DummyNodeBuilder.java │ └── xmc │ ├── KeepXmcFetchService.java │ ├── XmcFetchService.java │ ├── XmcMemClientBuilder.java │ ├── XmcMemcachedException.java │ ├── XmcNodeManager.java │ └── XmcUpdateService.java ├── nvwa-cluster ├── .DS_Store ├── .classpath ├── .gitignore ├── .project ├── .settings │ ├── org.eclipse.core.resources.prefs │ ├── org.eclipse.jdt.core.prefs │ ├── org.eclipse.m2e.core.prefs │ ├── org.eclipse.wst.common.component │ ├── org.eclipse.wst.common.project.facet.core.xml │ ├── org.eclipse.wst.validation.prefs │ └── org.maven.ide.eclipse.prefs ├── pom.xml └── src │ └── main │ └── java │ └── org │ └── bigmouth │ └── nvwa │ └── cluster │ ├── AccessSender.java │ ├── NameCodeDetector.java │ ├── NameCodeUpdater.java │ ├── ServiceLogicNodeDecetor.java │ ├── ServiceLogicNodeHolder.java │ └── node │ ├── DataChangeListener.java │ ├── DataDetector.java │ ├── IDataDetector.java │ ├── NoSuchPathException.java │ ├── Updatable.java │ ├── Wrapper.java │ ├── ZooKeeperCuratorWrapper.java │ └── ZooKeeperWrapper.java ├── nvwa-codec-core ├── .DS_Store ├── .classpath ├── .gitignore ├── .project ├── .settings │ ├── org.eclipse.core.resources.prefs │ ├── org.eclipse.jdt.core.prefs │ ├── org.eclipse.m2e.core.prefs │ ├── org.eclipse.wst.common.component │ ├── org.eclipse.wst.common.project.facet.core.xml │ ├── org.eclipse.wst.validation.prefs │ └── org.maven.ide.eclipse.prefs ├── pom.xml └── src │ ├── main │ └── java │ │ └── org │ │ └── bigmouth │ │ └── nvwa │ │ └── codec │ │ ├── Codec.java │ │ ├── CodecProvider.java │ │ ├── byteorder │ │ ├── ByteOrder.java │ │ ├── NumberCodec.java │ │ ├── NumberCodecFactory.java │ │ └── NumberCodecUtils.java │ │ ├── compress │ │ ├── CompressSegment.java │ │ ├── CompressSegmentFactory.java │ │ └── SeparateFileAdapter.java │ │ ├── error │ │ └── IllegalTLVContentHandler.java │ │ ├── jms │ │ ├── MessageDecoder.java │ │ ├── MessageDecoderImpl.java │ │ ├── MessageEncoder.java │ │ ├── MessageEncoderImpl.java │ │ └── bean │ │ │ ├── TLVArgumentsBean.java │ │ │ ├── TLVMessageBean.java │ │ │ └── TLVSqlBean.java │ │ └── tlv │ │ ├── TLVCodecProviders.java │ │ ├── TLVConfig.java │ │ ├── TLVDecoder.java │ │ ├── TLVDecoderProvider.java │ │ ├── TLVDecoderProviderImpl.java │ │ ├── TLVEncoder.java │ │ ├── TLVEncoderProvider.java │ │ ├── TLVEncoderProviderImpl.java │ │ ├── TLVUtils.java │ │ ├── annotation │ │ ├── TLVArrayAttribute.java │ │ └── TLVAttribute.java │ │ ├── decoders │ │ ├── AbstractTLVDecoder.java │ │ ├── IllegalTLVLengthException.java │ │ ├── TLVBooleanArrayDecoder.java │ │ ├── TLVBooleanDecoder.java │ │ ├── TLVByteArrayDecoder.java │ │ ├── TLVIntArrayDecoder.java │ │ ├── TLVIntDecoder.java │ │ ├── TLVIntegerArrayDecoder.java │ │ ├── TLVLongArrayDecoder.java │ │ ├── TLVObjectArrayDecoder.java │ │ ├── TLVObjectDecoder.java │ │ ├── TLVShortArrayDecoder.java │ │ ├── TLVStringArrayDecoder.java │ │ ├── TLVStringDecoder.java │ │ ├── TLVbArrayDecoder.java │ │ ├── TLVboolArrayDecoder.java │ │ ├── TLVbyteDecoder.java │ │ ├── TLVlArrayDecoder.java │ │ ├── TLVlongDecoder.java │ │ ├── TLVsArrayDecoder.java │ │ └── TLVshortDecoder.java │ │ └── encoders │ │ ├── TLVBooleanArrayEncoder.java │ │ ├── TLVBooleanEncoder.java │ │ ├── TLVByteArrayEncoder.java │ │ ├── TLVByteEncoder.java │ │ ├── TLVFieldNameFilter.java │ │ ├── TLVIntArrayEncoder.java │ │ ├── TLVIntEncoder.java │ │ ├── TLVLongArrayEncoder.java │ │ ├── TLVLongEncoder.java │ │ ├── TLVObjectArrayEncoder.java │ │ ├── TLVObjectEncoder.java │ │ ├── TLVShortArrayEncoder.java │ │ ├── TLVShortEncoder.java │ │ └── TLVStringEncoder.java │ └── test │ ├── java │ └── org │ │ └── bigmouth │ │ └── nvwa │ │ └── codec │ │ ├── BizObject.java │ │ ├── TestBean.java │ │ ├── TlvDecodeTest.java │ │ ├── TlvTest.java │ │ ├── byteorder │ │ └── NumberCodecTest.java │ │ ├── jms │ │ └── MessageEncoderTest.java │ │ └── tlv │ │ ├── TestTlvCodec.java │ │ ├── Utf16beObject.java │ │ ├── bean │ │ ├── IgnoreNumberValueBean.java │ │ └── NumberValueBean.java │ │ ├── decoders │ │ ├── Bean.java │ │ ├── TLVObjectArrayDecoderTest.java │ │ ├── TLVObjectDecoderTest.java │ │ ├── TLVStringArrayDecoderTest.java │ │ └── bean │ │ │ └── Bean1.java │ │ └── encoders │ │ └── IgnoreNumberValueTest.java │ └── resources │ └── log4j.properties ├── nvwa-contentstore ├── .DS_Store ├── .classpath ├── .gitignore ├── .project ├── .settings │ ├── org.eclipse.core.resources.prefs │ ├── org.eclipse.jdt.core.prefs │ ├── org.eclipse.m2e.core.prefs │ ├── org.eclipse.wst.common.component │ ├── org.eclipse.wst.common.project.facet.core.xml │ ├── org.eclipse.wst.validation.prefs │ └── org.maven.ide.eclipse.prefs ├── pom.xml └── src │ └── main │ └── java │ └── org │ └── bigmouth │ └── nvwa │ └── contentstore │ ├── ContentStore.java │ ├── file │ └── FileContentStore.java │ ├── impl │ ├── ContentStoreUtils.java │ ├── DefaultContentStore.java │ └── LocalCachedContentStore.java │ ├── redis │ ├── AbstractRedisContentStore.java │ ├── RedisContentStore.java │ ├── RedisOperationException.java │ ├── RedisTypeContentStore.java │ ├── codec │ │ ├── BeanCodecFactory.java │ │ ├── BeanDecodeException.java │ │ ├── BeanDecoder.java │ │ ├── BeanEncodeException.java │ │ ├── BeanEncoder.java │ │ ├── serial │ │ │ └── SerialCodecFactory.java │ │ └── tlv │ │ │ ├── TlvBeanCodecFactory.java │ │ │ ├── TlvBeanDecoder.java │ │ │ └── TlvBeanEncoder.java │ └── jedis │ │ ├── BinaryClientPoolFactory.java │ │ ├── DefaultBinaryClientPool.java │ │ ├── DefaultBinaryClientPoolFactory.java │ │ └── JedisContentStore.java │ └── xmc │ └── NioTokyotyrantContentStore.java ├── nvwa-distributed ├── .DS_Store ├── .classpath ├── .gitignore ├── .project ├── .settings │ ├── org.eclipse.core.resources.prefs │ ├── org.eclipse.jdt.core.prefs │ ├── org.eclipse.m2e.core.prefs │ ├── org.eclipse.wst.common.component │ ├── org.eclipse.wst.common.project.facet.core.xml │ ├── org.eclipse.wst.validation.prefs │ └── org.maven.ide.eclipse.prefs ├── bin │ └── org │ │ └── bigmouth │ │ └── nvwa │ │ └── distributed │ │ ├── Endpoint.class │ │ ├── EndpointKeyHost.class │ │ ├── EndpointRegistrar.class │ │ ├── jmx │ │ └── EndpointRegistrarMBean.class │ │ ├── monitor │ │ ├── ChangeListener.class │ │ ├── ChangeMonitor.class │ │ ├── ChildrenChange.class │ │ ├── ChildrenChangeEvent$EventType.class │ │ ├── ChildrenChangeEvent.class │ │ ├── ChildrenChangeListener.class │ │ ├── ChildrenMonitor.class │ │ ├── DataChangeEvent.class │ │ ├── DataChangeListener.class │ │ ├── DataDetector.class │ │ ├── NoSuchPathException.class │ │ ├── SubPathChangeEvent$SubEventType.class │ │ ├── SubPathChangeEvent.class │ │ ├── SubPathChangeListener.class │ │ ├── Updatable.class │ │ └── zk │ │ │ ├── CuratorChangeMonitor.class │ │ │ ├── CuratorChildrenMonitor.class │ │ │ └── NativeChangeMonitor.class │ │ └── notify │ │ ├── Notifier.class │ │ └── zk │ │ └── CuratorNotifier.class ├── pom.xml └── src │ └── main │ └── java │ └── org │ └── bigmouth │ └── nvwa │ └── distributed │ ├── Endpoint.java │ ├── EndpointKeyHost.java │ ├── EndpointRegistrar.java │ ├── jmx │ └── EndpointRegistrarMBean.java │ ├── monitor │ ├── ChangeListener.java │ ├── ChangeMonitor.java │ ├── ChildrenChange.java │ ├── ChildrenChangeEvent.java │ ├── ChildrenChangeListener.java │ ├── ChildrenMonitor.java │ ├── DataChangeEvent.java │ ├── DataChangeListener.java │ ├── DataDetector.java │ ├── NoSuchPathException.java │ ├── SubPathChangeEvent.java │ ├── SubPathChangeListener.java │ ├── Updatable.java │ └── zk │ │ ├── CuratorChangeMonitor.java │ │ ├── CuratorChildrenMonitor.java │ │ └── NativeChangeMonitor.java │ └── notify │ ├── Notifier.java │ └── zk │ └── CuratorNotifier.java ├── nvwa-dpl ├── .DS_Store ├── .classpath ├── .gitignore ├── .project ├── .settings │ ├── org.eclipse.core.resources.prefs │ ├── org.eclipse.jdt.core.prefs │ ├── org.eclipse.m2e.core.prefs │ ├── org.eclipse.wst.common.component │ ├── org.eclipse.wst.common.project.facet.core.xml │ ├── org.eclipse.wst.validation.prefs │ └── org.maven.ide.eclipse.prefs ├── pom.xml └── src │ ├── main │ ├── java │ │ └── org │ │ │ └── bigmouth │ │ │ └── nvwa │ │ │ └── dpl │ │ │ ├── ClassLoaderHolder.java │ │ │ ├── Config.java │ │ │ ├── DefaultPlugInServiceBus.java │ │ │ ├── DefaultPlugInServiceController.java │ │ │ ├── GenericLifeCycle.java │ │ │ ├── ImmutableConfig.java │ │ │ ├── LifeCycle.java │ │ │ ├── MutableLifeCycle.java │ │ │ ├── PlugInServiceBus.java │ │ │ ├── PlugInServiceController.java │ │ │ ├── VarArgsClosure.java │ │ │ ├── VarArgsFunctor.java │ │ │ ├── event │ │ │ ├── ActivedEvent.java │ │ │ ├── AfterExecutionFiredEvent.java │ │ │ ├── BeforeExecutionFiredEvent.java │ │ │ ├── ConfigChangedEvent.java │ │ │ ├── CreatedEvent.java │ │ │ ├── DeActivedEvent.java │ │ │ ├── DestroyedEvent.java │ │ │ ├── EventCategory.java │ │ │ ├── ExecutionEvent.java │ │ │ ├── ExecutionFailedEvent.java │ │ │ ├── LifeCycleEvent.java │ │ │ ├── StatusChangedEvent.java │ │ │ └── listener │ │ │ │ ├── LifeCycleListener.java │ │ │ │ ├── LifeCycleListenerAdapter.java │ │ │ │ ├── LoggingPlugInListener.java │ │ │ │ ├── LoggingServiceListener.java │ │ │ │ ├── PlugInListener.java │ │ │ │ ├── PlugInListenerAdapter.java │ │ │ │ ├── ReviseContextClassLoaderListener.java │ │ │ │ ├── ReviseContextClassLoaderPlugInListener.java │ │ │ │ ├── ReviseContextClassLoaderServiceListener.java │ │ │ │ ├── ReviseContextClassLoaderSupport.java │ │ │ │ ├── RuntimeObjectHolder.java │ │ │ │ ├── RuntimeObjectServiceListener.java │ │ │ │ ├── ServiceListener.java │ │ │ │ └── ServiceListenerAdapter.java │ │ │ ├── factory │ │ │ ├── AbsSpringStylePlugInFactory.java │ │ │ ├── AbstractPlugInDiscover.java │ │ │ ├── AnnotationPlugInDiscover.java │ │ │ ├── DefaultPlugInDiscover.java │ │ │ ├── GenericSpringStylePlugInFactory.java │ │ │ ├── PlugInDiscover.java │ │ │ ├── PlugInFactory.java │ │ │ ├── ResourceSearchSupport.java │ │ │ ├── SpringStylePlugInDiscover.java │ │ │ └── annotation │ │ │ │ ├── PlugIn.java │ │ │ │ ├── Service.java │ │ │ │ └── ThreadModel.java │ │ │ ├── hotswap │ │ │ ├── ClassFilter.java │ │ │ ├── DirChangeEvent.java │ │ │ ├── DirChangeListener.java │ │ │ ├── PlugInClassLoader.java │ │ │ ├── PlugInClassLoaderInitException.java │ │ │ ├── PlugInDirMonitor.java │ │ │ ├── PlugInResourceHandler.java │ │ │ └── ResourceFilter.java │ │ │ ├── jmx │ │ │ ├── DplMBeanExport.java │ │ │ ├── DplMBeanOperationException.java │ │ │ ├── PlugInMBean.java │ │ │ ├── ServiceMBean.java │ │ │ └── ServiceStatisticsMBean.java │ │ │ ├── plugin │ │ │ ├── GenericPlugIn.java │ │ │ ├── ImmutablePlugInConfig.java │ │ │ ├── MutablePlugIn.java │ │ │ ├── PlugIn.java │ │ │ ├── PlugInConfig.java │ │ │ └── SpringSytlePlugIn.java │ │ │ ├── service │ │ │ ├── AbstractMethodServiceSupport.java │ │ │ ├── AbstractService.java │ │ │ ├── AsyncServiceClosure.java │ │ │ ├── DefaultFunctionalService.java │ │ │ ├── DefaultProceduralService.java │ │ │ ├── FunctionalService.java │ │ │ ├── IllegalMethodException.java │ │ │ ├── ImmutableServiceConfig.java │ │ │ ├── MethodInvocationException.java │ │ │ ├── MethodServiceClosure.java │ │ │ ├── MethodServiceFunctor.java │ │ │ ├── MutableService.java │ │ │ ├── NoSuchMethodException.java │ │ │ ├── ProceduralService.java │ │ │ ├── Service.java │ │ │ ├── ServiceClosure.java │ │ │ ├── ServiceConfig.java │ │ │ ├── ServiceFunctor.java │ │ │ └── ServiceStatistics.java │ │ │ ├── status │ │ │ ├── FileSystemStatusHolder.java │ │ │ ├── ImmutableStatus.java │ │ │ ├── MutableStatus.java │ │ │ ├── PlugInStatusListener.java │ │ │ ├── ServiceStatusListener.java │ │ │ ├── Status.java │ │ │ ├── StatusHolder.java │ │ │ ├── StatusHolderFactory.java │ │ │ ├── StatusHolderSingleton.java │ │ │ ├── StatusListener.java │ │ │ └── StatusSource.java │ │ │ └── utils │ │ │ └── RuntimeUtils.java │ └── resources │ │ └── log4j.properties │ └── test │ ├── java │ └── com │ │ └── skymobi │ │ └── market │ │ └── commons │ │ └── dpl │ │ ├── DplServer.java │ │ ├── ServiceInvokeTest.java │ │ ├── applicationContext-dpl-test.xml │ │ └── hotswap │ │ ├── ClassLoaderSearchTest.java │ │ └── skymarket-servicelogic-plugin-app.jar │ └── resources │ └── log4j.properties ├── nvwa-jmx ├── .DS_Store ├── .classpath ├── .gitignore ├── .project ├── .settings │ ├── org.eclipse.core.resources.prefs │ ├── org.eclipse.jdt.core.prefs │ ├── org.eclipse.m2e.core.prefs │ ├── org.eclipse.wst.common.component │ ├── org.eclipse.wst.common.project.facet.core.xml │ ├── org.eclipse.wst.validation.prefs │ └── org.maven.ide.eclipse.prefs ├── pom.xml └── src │ ├── main │ └── java │ │ └── org │ │ └── bigmouth │ │ └── nvwa │ │ └── jmx │ │ ├── MBeanExportSupport.java │ │ ├── MBeanOperationException.java │ │ ├── annotation │ │ └── MBeanAttribute.java │ │ └── model │ │ └── GenericModelMBean.java │ └── test │ └── resources │ └── log4j.properties ├── nvwa-log ├── .DS_Store ├── .classpath ├── .gitignore ├── .project ├── .settings │ ├── org.eclipse.core.resources.prefs │ ├── org.eclipse.jdt.core.prefs │ ├── org.eclipse.m2e.core.prefs │ ├── org.eclipse.wst.common.component │ ├── org.eclipse.wst.common.project.facet.core.xml │ ├── org.eclipse.wst.validation.prefs │ └── org.maven.ide.eclipse.prefs ├── pom.xml └── src │ └── main │ └── java │ └── org │ └── bigmouth │ └── nvwa │ └── log │ ├── MultiRecordSupport.java │ ├── RecordClosure.java │ └── rdb │ ├── AnnoRecordControllerFactory.java │ ├── Column.java │ ├── LogAppender.java │ ├── PlugInManageRecordControllerFactory.java │ ├── RecordController.java │ ├── RecordControllerFactory.java │ ├── RecordDispatcher.java │ ├── annotation │ ├── RdbColumn.java │ └── RdbRecord.java │ └── jmx │ ├── LogAppenderMBean.java │ ├── LogMBeanExport.java │ ├── LogMBeanOperationException.java │ ├── MBeanRegisterRecordControllerFactory.java │ └── RecordControllerMBean.java ├── nvwa-log4mongo ├── .DS_Store ├── .classpath ├── .gitignore ├── .project ├── .settings │ ├── org.eclipse.core.resources.prefs │ ├── org.eclipse.jdt.core.prefs │ ├── org.eclipse.m2e.core.prefs │ ├── org.eclipse.wst.common.component │ ├── org.eclipse.wst.common.project.facet.core.xml │ ├── org.eclipse.wst.validation.prefs │ └── org.maven.ide.eclipse.prefs ├── bin │ └── org │ │ └── log4mongo │ │ ├── BsonAppender.class │ │ ├── ExtendedMongoDbAppender.class │ │ ├── LoggingEventBsonifier.class │ │ ├── LoggingEventBsonifierImpl.class │ │ ├── MongoDbAppender.class │ │ ├── MongoDbPatternLayout.class │ │ ├── MongoDbPatternLayoutAppender.class │ │ └── contrib │ │ ├── HostInfoPatternLayout.class │ │ ├── HostInfoPatternParser$HostPatternConverter.class │ │ ├── HostInfoPatternParser$IPAddressPatternConverter.class │ │ ├── HostInfoPatternParser$VMNamePatternConverter.class │ │ └── HostInfoPatternParser.class ├── pom.xml └── src │ └── main │ └── java │ └── org │ └── bigmouth │ └── nvwa │ └── log4mongo │ ├── BsonAppender.java │ ├── ExtendedMongoDbAppender.java │ ├── LoggingEventBsonifier.java │ ├── LoggingEventBsonifierImpl.java │ ├── MongoDbAppender.java │ ├── MongoDbPatternLayout.java │ ├── MongoDbPatternLayoutAppender.java │ └── contrib │ ├── HostInfoPatternLayout.java │ └── HostInfoPatternParser.java ├── nvwa-mq ├── .DS_Store ├── .classpath ├── .gitignore ├── .project ├── .settings │ ├── org.eclipse.core.resources.prefs │ ├── org.eclipse.jdt.core.prefs │ ├── org.eclipse.m2e.core.prefs │ ├── org.eclipse.wst.common.component │ ├── org.eclipse.wst.common.project.facet.core.xml │ ├── org.eclipse.wst.validation.prefs │ └── org.maven.ide.eclipse.prefs ├── pom.xml └── src │ └── main │ └── java │ └── org │ └── bigmouth │ └── nvwa │ └── mq │ ├── ConsumeStatus.java │ ├── Consumer.java │ ├── DelayTimeLevel.java │ ├── Message.java │ ├── MessageHelper.java │ ├── MessageListener.java │ ├── Producer.java │ ├── ProducerFactory.java │ ├── SendException.java │ ├── SendResult.java │ ├── Type.java │ ├── alions │ ├── AlionsConsumer.java │ └── AlionsProducer.java │ └── rocketmq │ ├── RocketMQConsumer.java │ └── RocketMQProducer.java ├── nvwa-mybatis ├── .DS_Store ├── .classpath ├── .gitignore ├── .project ├── .settings │ ├── org.eclipse.core.resources.prefs │ ├── org.eclipse.jdt.core.prefs │ ├── org.eclipse.jdt.ui.prefs │ ├── org.eclipse.m2e.core.prefs │ ├── org.eclipse.wst.common.component │ ├── org.eclipse.wst.common.project.facet.core.xml │ ├── org.eclipse.wst.validation.prefs │ └── org.maven.ide.eclipse.prefs ├── pom.xml └── src │ ├── main │ └── java │ │ └── org │ │ ├── apache │ │ └── ibatis │ │ │ ├── annotations │ │ │ ├── Arg.java │ │ │ ├── CacheNamespace.java │ │ │ ├── CacheNamespaceRef.java │ │ │ ├── Case.java │ │ │ ├── ConstructorArgs.java │ │ │ ├── Delete.java │ │ │ ├── DeleteProvider.java │ │ │ ├── Insert.java │ │ │ ├── InsertProvider.java │ │ │ ├── Many.java │ │ │ ├── MapKey.java │ │ │ ├── One.java │ │ │ ├── Options.java │ │ │ ├── Param.java │ │ │ ├── Result.java │ │ │ ├── ResultMap.java │ │ │ ├── Results.java │ │ │ ├── Select.java │ │ │ ├── SelectKey.java │ │ │ ├── SelectProvider.java │ │ │ ├── TypeDiscriminator.java │ │ │ ├── Update.java │ │ │ ├── UpdateProvider.java │ │ │ └── package-info.java │ │ │ ├── binding │ │ │ ├── BindingException.java │ │ │ ├── MapperMethod.java │ │ │ ├── MapperProxy.java │ │ │ ├── MapperRegistry.java │ │ │ └── package-info.java │ │ │ ├── builder │ │ │ ├── BaseBuilder.java │ │ │ ├── BuilderException.java │ │ │ ├── CacheRefResolver.java │ │ │ ├── IncompleteElementException.java │ │ │ ├── MapperBuilderAssistant.java │ │ │ ├── ResultMapResolver.java │ │ │ ├── SqlSourceBuilder.java │ │ │ ├── StaticSqlSource.java │ │ │ ├── annotation │ │ │ │ ├── MapperAnnotationBuilder.java │ │ │ │ ├── ProviderSqlSource.java │ │ │ │ └── package-info.java │ │ │ ├── package-info.java │ │ │ └── xml │ │ │ │ ├── XMLConfigBuilder.java │ │ │ │ ├── XMLMapperBuilder.java │ │ │ │ ├── XMLMapperEntityResolver.java │ │ │ │ ├── XMLStatementBuilder.java │ │ │ │ ├── dynamic │ │ │ │ ├── ChooseSqlNode.java │ │ │ │ ├── DynamicContext.java │ │ │ │ ├── DynamicSqlSource.java │ │ │ │ ├── ExpressionEvaluator.java │ │ │ │ ├── ForEachSqlNode.java │ │ │ │ ├── IfSqlNode.java │ │ │ │ ├── MixedSqlNode.java │ │ │ │ ├── OgnlCache.java │ │ │ │ ├── SetSqlNode.java │ │ │ │ ├── SqlNode.java │ │ │ │ ├── TextSqlNode.java │ │ │ │ ├── TrimSqlNode.java │ │ │ │ ├── WhereSqlNode.java │ │ │ │ └── package-info.java │ │ │ │ ├── mybatis-3-config.dtd │ │ │ │ ├── mybatis-3-mapper.dtd │ │ │ │ └── package-info.java │ │ │ ├── cache │ │ │ ├── Cache.java │ │ │ ├── CacheException.java │ │ │ ├── CacheKey.java │ │ │ ├── NullCacheKey.java │ │ │ ├── TransactionalCacheManager.java │ │ │ ├── decorators │ │ │ │ ├── FifoCache.java │ │ │ │ ├── LoggingCache.java │ │ │ │ ├── LruCache.java │ │ │ │ ├── ScheduledCache.java │ │ │ │ ├── SerializedCache.java │ │ │ │ ├── SoftCache.java │ │ │ │ ├── SynchronizedCache.java │ │ │ │ ├── TransactionalCache.java │ │ │ │ ├── WeakCache.java │ │ │ │ └── package-info.java │ │ │ ├── impl │ │ │ │ ├── PerpetualCache.java │ │ │ │ └── package-info.java │ │ │ └── package-info.java │ │ │ ├── datasource │ │ │ ├── DataSourceException.java │ │ │ ├── DataSourceFactory.java │ │ │ ├── jndi │ │ │ │ ├── JndiDataSourceFactory.java │ │ │ │ └── package-info.java │ │ │ ├── package-info.java │ │ │ ├── pooled │ │ │ │ ├── PoolState.java │ │ │ │ ├── PooledConnection.java │ │ │ │ ├── PooledDataSource.java │ │ │ │ ├── PooledDataSourceFactory.java │ │ │ │ └── package-info.java │ │ │ └── unpooled │ │ │ │ ├── UnpooledDataSource.java │ │ │ │ ├── UnpooledDataSourceFactory.java │ │ │ │ └── package-info.java │ │ │ ├── exceptions │ │ │ ├── ExceptionFactory.java │ │ │ ├── IbatisException.java │ │ │ ├── PersistenceException.java │ │ │ ├── TooManyResultsException.java │ │ │ └── package-info.java │ │ │ ├── executor │ │ │ ├── BaseExecutor.java │ │ │ ├── BatchExecutor.java │ │ │ ├── BatchExecutorException.java │ │ │ ├── BatchResult.java │ │ │ ├── CachingExecutor.java │ │ │ ├── ErrorContext.java │ │ │ ├── ExecutionPlaceholder.java │ │ │ ├── Executor.java │ │ │ ├── ExecutorException.java │ │ │ ├── ReuseExecutor.java │ │ │ ├── SimpleExecutor.java │ │ │ ├── keygen │ │ │ │ ├── Jdbc3KeyGenerator.java │ │ │ │ ├── KeyGenerator.java │ │ │ │ ├── NoKeyGenerator.java │ │ │ │ ├── SelectKeyGenerator.java │ │ │ │ └── package-info.java │ │ │ ├── loader │ │ │ │ ├── ResultLoader.java │ │ │ │ ├── ResultLoaderMap.java │ │ │ │ ├── ResultObjectProxy.java │ │ │ │ ├── SerialStateHolder.java │ │ │ │ ├── WriteReplaceInterface.java │ │ │ │ └── package-info.java │ │ │ ├── package-info.java │ │ │ ├── parameter │ │ │ │ ├── DefaultParameterHandler.java │ │ │ │ ├── ParameterHandler.java │ │ │ │ └── package-info.java │ │ │ ├── result │ │ │ │ ├── DefaultMapResultHandler.java │ │ │ │ ├── DefaultResultContext.java │ │ │ │ ├── DefaultResultHandler.java │ │ │ │ └── package-info.java │ │ │ ├── resultset │ │ │ │ ├── FastResultSetHandler.java │ │ │ │ ├── NestedResultSetHandler.java │ │ │ │ ├── ResultSetHandler.java │ │ │ │ └── package-info.java │ │ │ └── statement │ │ │ │ ├── BaseStatementHandler.java │ │ │ │ ├── CallableStatementHandler.java │ │ │ │ ├── PreparedStatementHandler.java │ │ │ │ ├── RoutingStatementHandler.java │ │ │ │ ├── SimpleStatementHandler.java │ │ │ │ ├── StatementHandler.java │ │ │ │ └── package-info.java │ │ │ ├── io │ │ │ ├── ClassLoaderWrapper.java │ │ │ ├── DefaultVFS.java │ │ │ ├── ExternalResources.java │ │ │ ├── JBoss6VFS.java │ │ │ ├── ResolverUtil.java │ │ │ ├── Resources.java │ │ │ ├── VFS.java │ │ │ └── package-info.java │ │ │ ├── jdbc │ │ │ ├── DataSourceUtils.java │ │ │ ├── Null.java │ │ │ ├── RuntimeSqlException.java │ │ │ ├── ScriptRunner.java │ │ │ ├── SelectBuilder.java │ │ │ ├── SqlBuilder.java │ │ │ ├── SqlRunner.java │ │ │ └── package-info.java │ │ │ ├── logging │ │ │ ├── Log.java │ │ │ ├── LogException.java │ │ │ ├── LogFactory.java │ │ │ ├── commons │ │ │ │ ├── JakartaCommonsLoggingImpl.java │ │ │ │ └── package-info.java │ │ │ ├── jdbc │ │ │ │ ├── BaseJdbcLogger.java │ │ │ │ ├── ConnectionLogger.java │ │ │ │ ├── PreparedStatementLogger.java │ │ │ │ ├── ResultSetLogger.java │ │ │ │ ├── StatementLogger.java │ │ │ │ └── package-info.java │ │ │ ├── jdk14 │ │ │ │ ├── Jdk14LoggingImpl.java │ │ │ │ └── package-info.java │ │ │ ├── log4j │ │ │ │ ├── Log4jImpl.java │ │ │ │ └── package-info.java │ │ │ ├── nologging │ │ │ │ ├── NoLoggingImpl.java │ │ │ │ └── package-info.java │ │ │ ├── package-info.java │ │ │ ├── slf4j │ │ │ │ ├── Slf4jImpl.java │ │ │ │ └── package-info.java │ │ │ └── stdout │ │ │ │ ├── StdOutImpl.java │ │ │ │ └── package-info.java │ │ │ ├── mapping │ │ │ ├── BoundSql.java │ │ │ ├── CacheBuilder.java │ │ │ ├── DatabaseIdProvider.java │ │ │ ├── DefaultDatabaseIdProvider.java │ │ │ ├── Discriminator.java │ │ │ ├── Environment.java │ │ │ ├── MappedStatement.java │ │ │ ├── ParameterMap.java │ │ │ ├── ParameterMapping.java │ │ │ ├── ParameterMode.java │ │ │ ├── ResultFlag.java │ │ │ ├── ResultMap.java │ │ │ ├── ResultMapping.java │ │ │ ├── ResultSetType.java │ │ │ ├── SqlCommandType.java │ │ │ ├── SqlMapperException.java │ │ │ ├── SqlSource.java │ │ │ ├── StatementType.java │ │ │ ├── VendorDatabaseIdProvider.java │ │ │ └── package-info.java │ │ │ ├── metadata │ │ │ ├── Column.java │ │ │ ├── Database.java │ │ │ ├── DatabaseFactory.java │ │ │ ├── Table.java │ │ │ └── package-info.java │ │ │ ├── package-info.java │ │ │ ├── parsing │ │ │ ├── GenericTokenParser.java │ │ │ ├── ParsingException.java │ │ │ ├── PropertyParser.java │ │ │ ├── TokenHandler.java │ │ │ ├── XNode.java │ │ │ ├── XPathParser.java │ │ │ └── package-info.java │ │ │ ├── plugin │ │ │ ├── Interceptor.java │ │ │ ├── InterceptorChain.java │ │ │ ├── Intercepts.java │ │ │ ├── Invocation.java │ │ │ ├── Plugin.java │ │ │ ├── PluginException.java │ │ │ ├── Signature.java │ │ │ └── package-info.java │ │ │ ├── reflection │ │ │ ├── ExceptionUtil.java │ │ │ ├── MetaClass.java │ │ │ ├── MetaObject.java │ │ │ ├── ReflectionException.java │ │ │ ├── Reflector.java │ │ │ ├── factory │ │ │ │ ├── DefaultObjectFactory.java │ │ │ │ ├── ObjectFactory.java │ │ │ │ └── package-info.java │ │ │ ├── invoker │ │ │ │ ├── GetFieldInvoker.java │ │ │ │ ├── Invoker.java │ │ │ │ ├── MethodInvoker.java │ │ │ │ ├── SetFieldInvoker.java │ │ │ │ └── package-info.java │ │ │ ├── package-info.java │ │ │ ├── property │ │ │ │ ├── PropertyCopier.java │ │ │ │ ├── PropertyNamer.java │ │ │ │ ├── PropertyTokenizer.java │ │ │ │ └── package-info.java │ │ │ └── wrapper │ │ │ │ ├── BaseWrapper.java │ │ │ │ ├── BeanWrapper.java │ │ │ │ ├── CollectionWrapper.java │ │ │ │ ├── DefaultObjectWrapperFactory.java │ │ │ │ ├── MapWrapper.java │ │ │ │ ├── ObjectWrapper.java │ │ │ │ ├── ObjectWrapperFactory.java │ │ │ │ └── package-info.java │ │ │ ├── session │ │ │ ├── AutoMappingBehavior.java │ │ │ ├── Configuration.java │ │ │ ├── ExecutorType.java │ │ │ ├── LocalCacheScope.java │ │ │ ├── ResultContext.java │ │ │ ├── ResultHandler.java │ │ │ ├── RowBounds.java │ │ │ ├── SqlSession.java │ │ │ ├── SqlSessionException.java │ │ │ ├── SqlSessionFactory.java │ │ │ ├── SqlSessionFactoryBuilder.java │ │ │ ├── SqlSessionManager.java │ │ │ ├── TransactionIsolationLevel.java │ │ │ ├── defaults │ │ │ │ ├── DefaultSqlSession.java │ │ │ │ ├── DefaultSqlSessionFactory.java │ │ │ │ └── package-info.java │ │ │ └── package-info.java │ │ │ ├── transaction │ │ │ ├── Transaction.java │ │ │ ├── TransactionException.java │ │ │ ├── TransactionFactory.java │ │ │ ├── jdbc │ │ │ │ ├── JdbcTransaction.java │ │ │ │ ├── JdbcTransactionFactory.java │ │ │ │ └── package-info.java │ │ │ ├── managed │ │ │ │ ├── ManagedTransaction.java │ │ │ │ ├── ManagedTransactionFactory.java │ │ │ │ └── package-info.java │ │ │ └── package-info.java │ │ │ └── type │ │ │ ├── Alias.java │ │ │ ├── ArrayTypeHandler.java │ │ │ ├── BaseTypeHandler.java │ │ │ ├── BigDecimalTypeHandler.java │ │ │ ├── BigIntegerTypeHandler.java │ │ │ ├── BlobTypeHandler.java │ │ │ ├── BooleanTypeHandler.java │ │ │ ├── ByteArrayTypeHandler.java │ │ │ ├── ByteTypeHandler.java │ │ │ ├── CharacterTypeHandler.java │ │ │ ├── ClobTypeHandler.java │ │ │ ├── DateOnlyTypeHandler.java │ │ │ ├── DateTypeHandler.java │ │ │ ├── DoubleTypeHandler.java │ │ │ ├── EnumOrdinalTypeHandler.java │ │ │ ├── EnumTypeHandler.java │ │ │ ├── FloatTypeHandler.java │ │ │ ├── IntegerTypeHandler.java │ │ │ ├── JdbcType.java │ │ │ ├── LongTypeHandler.java │ │ │ ├── MappedJdbcTypes.java │ │ │ ├── MappedTypes.java │ │ │ ├── NClobTypeHandler.java │ │ │ ├── NStringTypeHandler.java │ │ │ ├── ObjectTypeHandler.java │ │ │ ├── ShortTypeHandler.java │ │ │ ├── SimpleTypeRegistry.java │ │ │ ├── SqlDateTypeHandler.java │ │ │ ├── SqlTimeTypeHandler.java │ │ │ ├── SqlTimestampTypeHandler.java │ │ │ ├── StringTypeHandler.java │ │ │ ├── TimeOnlyTypeHandler.java │ │ │ ├── TypeAliasRegistry.java │ │ │ ├── TypeException.java │ │ │ ├── TypeHandler.java │ │ │ ├── TypeHandlerRegistry.java │ │ │ ├── TypeReference.java │ │ │ ├── UnknownTypeHandler.java │ │ │ └── package-info.java │ │ ├── bigmouth │ │ └── nvwa │ │ │ └── mybatis │ │ │ ├── DbTypes.java │ │ │ ├── SpObserver.java │ │ │ ├── escape │ │ │ ├── DefaultEscapeFactory.java │ │ │ ├── Escape.java │ │ │ ├── EscapeFactory.java │ │ │ ├── OracleEscape.java │ │ │ └── PostgreSQLEscape.java │ │ │ ├── exception │ │ │ ├── MyBatisException.java │ │ │ ├── NullColumnException.java │ │ │ └── NullSQLStatementException.java │ │ │ ├── generator │ │ │ ├── Dao.java │ │ │ └── Service.java │ │ │ ├── page │ │ │ ├── DefaultPaggingDialect.java │ │ │ ├── DefaultPaggingDialectFactory.java │ │ │ ├── PageInfo.java │ │ │ ├── PaggingDialect.java │ │ │ ├── PaggingDialectFactory.java │ │ │ ├── PaginationInterceptor.java │ │ │ ├── mysql │ │ │ │ └── MySqlPaggingDialect.java │ │ │ ├── oracle │ │ │ │ └── OraclePaggingDialect.java │ │ │ └── postgre │ │ │ │ └── PostgreSqlPaggingDialect.java │ │ │ └── support │ │ │ ├── IMyBatisDao.java │ │ │ ├── IMyBatisService.java │ │ │ ├── MyBatisDaoSupport.java │ │ │ └── MyBatisServiceSupport.java │ │ └── mybatis │ │ └── spring │ │ ├── MyBatisExceptionTranslator.java │ │ ├── MyBatisSystemException.java │ │ ├── SqlSessionFactoryBean.java │ │ ├── SqlSessionHolder.java │ │ ├── SqlSessionTemplate.java │ │ ├── SqlSessionUtils.java │ │ ├── batch │ │ ├── MyBatisBatchItemWriter.java │ │ ├── MyBatisPagingItemReader.java │ │ └── package-info.java │ │ ├── mapper │ │ ├── MapperFactoryBean.java │ │ ├── MapperScannerConfigurer.java │ │ └── package-info.java │ │ ├── package-info.java │ │ ├── support │ │ ├── SqlSessionDaoSupport.java │ │ └── package-info.java │ │ └── transaction │ │ ├── SpringManagedTransaction.java │ │ ├── SpringManagedTransactionFactory.java │ │ └── package-info.java │ └── test │ ├── java │ └── org │ │ └── bigmouth │ │ └── nvwa │ │ └── mybatis │ │ └── test │ │ ├── Pair.java │ │ ├── PairDao.java │ │ ├── PairMain.java │ │ └── PairService.java │ └── resources │ ├── applicationContext-mybatis.xml │ ├── applicationContext.xml │ ├── config │ ├── mybatis.cfg.xml │ └── mybatis │ │ └── pair.mapper.xml │ └── log4j.properties ├── nvwa-mybatis3 ├── .classpath ├── .gitignore ├── .project ├── .settings │ ├── org.eclipse.core.resources.prefs │ ├── org.eclipse.jdt.core.prefs │ ├── org.eclipse.jdt.ui.prefs │ ├── org.eclipse.m2e.core.prefs │ ├── org.eclipse.wst.common.component │ ├── org.eclipse.wst.common.project.facet.core.xml │ ├── org.eclipse.wst.validation.prefs │ └── org.maven.ide.eclipse.prefs ├── libs │ ├── 1.1.0 │ │ ├── _maven.repositories │ │ ├── mybatis-spring-1.1.0.jar │ │ ├── mybatis-spring-1.1.0.jar.sha1 │ │ ├── mybatis-spring-1.1.0.pom │ │ └── mybatis-spring-1.1.0.pom.sha1 │ └── 3.1.0-RELEASE │ │ ├── _maven.repositories │ │ ├── m2e-lastUpdated.properties │ │ ├── mybatis-3.1.0-RELEASE.jar │ │ ├── mybatis-3.1.0-RELEASE.jar.sha1 │ │ ├── mybatis-3.1.0-RELEASE.pom │ │ └── mybatis-3.1.0-RELEASE.pom.sha1 ├── pom.xml └── src │ ├── main │ └── java │ │ └── org │ │ └── bigmouth │ │ └── nvwa │ │ └── mybatis │ │ ├── DbTypes.java │ │ ├── SpObserver.java │ │ ├── escape │ │ ├── DefaultEscapeFactory.java │ │ ├── Escape.java │ │ ├── EscapeFactory.java │ │ ├── OracleEscape.java │ │ └── PostgreSQLEscape.java │ │ ├── exception │ │ ├── MyBatisException.java │ │ ├── NullColumnException.java │ │ └── NullSQLStatementException.java │ │ ├── generator │ │ ├── Dao.java │ │ └── Service.java │ │ ├── page │ │ ├── DefaultPaggingDialect.java │ │ ├── DefaultPaggingDialectFactory.java │ │ ├── PageInfo.java │ │ ├── PaggingDialect.java │ │ ├── PaggingDialectFactory.java │ │ ├── PaginationInterceptor.java │ │ ├── mysql │ │ │ └── MySqlPaggingDialect.java │ │ ├── oracle │ │ │ └── OraclePaggingDialect.java │ │ └── postgre │ │ │ └── PostgreSqlPaggingDialect.java │ │ └── support │ │ ├── IMyBatisDao.java │ │ ├── IMyBatisService.java │ │ ├── MyBatisDaoSupport.java │ │ └── MyBatisServiceSupport.java │ └── test │ ├── java │ └── org │ │ └── bigmouth │ │ └── nvwa │ │ └── mybatis │ │ └── test │ │ ├── Pair.java │ │ ├── PairDao.java │ │ ├── PairMain.java │ │ └── PairService.java │ └── resources │ ├── applicationContext-mybatis.xml │ ├── applicationContext.xml │ ├── config │ ├── mybatis.cfg.xml │ └── mybatis │ │ └── pair.mapper.xml │ └── log4j.properties ├── nvwa-network ├── .classpath ├── .gitignore ├── .project ├── .settings │ ├── org.eclipse.core.resources.prefs │ ├── org.eclipse.jdt.core.prefs │ ├── org.eclipse.jdt.ui.prefs │ ├── org.eclipse.m2e.core.prefs │ ├── org.eclipse.wst.common.component │ ├── org.eclipse.wst.common.project.facet.core.xml │ ├── org.eclipse.wst.validation.prefs │ └── org.maven.ide.eclipse.prefs ├── pom.xml └── src │ └── main │ └── java │ └── org │ └── bigmouth │ └── nvwa │ └── network │ ├── ftp │ ├── FTPClient.java │ ├── FTPClientSupport.java │ ├── client │ │ ├── SSHFTPClient.java │ │ └── SimpleFTPClient.java │ └── server │ │ └── FTPServer.java │ └── http │ ├── HttpClientHelper.java │ ├── HttpServletRequestHelper.java │ ├── HttpServletRequestLog.java │ ├── HttpServletRequestLogger.java │ ├── HttpServletResponseHelper.java │ ├── KvResolver.java │ ├── Response.java │ ├── response │ ├── JsonResponse.java │ ├── JsonResponseSupport.java │ └── ResponseWrapper.java │ ├── security │ ├── XSSHttpRequestWrapper.java │ ├── XSSSecurityCon.java │ ├── XSSSecurityConfig.java │ ├── XSSSecurityFilter.java │ ├── XSSSecurityManager.java │ └── xss_security_config.xml │ └── utils │ ├── HttpException.java │ ├── HttpHelper.java │ ├── HttpRequest.java │ ├── HttpResponse.java │ ├── HttpUtils.java │ ├── Method.java │ └── UnexpectStatusCodeException.java ├── nvwa-office ├── .classpath ├── .gitignore ├── .project ├── .settings │ ├── org.eclipse.core.resources.prefs │ ├── org.eclipse.jdt.core.prefs │ └── org.eclipse.m2e.core.prefs ├── pom.xml └── src │ └── main │ └── java │ └── org │ └── bigmouth │ └── nvwa │ └── office │ └── excel │ ├── Cell.java │ ├── ColumnWidth.java │ ├── Excel.java │ ├── ExcelHelper.java │ ├── Row.java │ └── Sheet.java ├── nvwa-pay ├── .DS_Store ├── .classpath ├── .gitignore ├── .project ├── .settings │ ├── org.eclipse.core.resources.prefs │ ├── org.eclipse.jdt.core.prefs │ ├── org.eclipse.jdt.ui.prefs │ ├── org.eclipse.m2e.core.prefs │ └── org.maven.ide.eclipse.prefs ├── pom.xml ├── src │ ├── .DS_Store │ ├── main │ │ ├── .DS_Store │ │ └── java │ │ │ ├── .DS_Store │ │ │ ├── log4j.properties │ │ │ └── org │ │ │ ├── .DS_Store │ │ │ └── bigmouth │ │ │ ├── .DS_Store │ │ │ └── nvwa │ │ │ ├── .DS_Store │ │ │ └── pay │ │ │ ├── .DS_Store │ │ │ ├── AlipayDefaults.java │ │ │ ├── PayDefaults.java │ │ │ ├── PayProvider.java │ │ │ ├── ability │ │ │ ├── Fail.java │ │ │ ├── FromXMLWrapper.java │ │ │ ├── Success.java │ │ │ └── ToXMLWrapper.java │ │ │ ├── annotation │ │ │ └── NotNull.java │ │ │ ├── config │ │ │ ├── PayConfig.java │ │ │ ├── PayConfigException.java │ │ │ ├── PayConfigService.java │ │ │ └── wx │ │ │ │ ├── WxFeeType.java │ │ │ │ ├── WxPayConfig.java │ │ │ │ ├── WxPayConfigService.java │ │ │ │ └── WxTradeType.java │ │ │ ├── exceptions │ │ │ └── PayException.java │ │ │ ├── service │ │ │ ├── .DS_Store │ │ │ ├── callback │ │ │ │ ├── Callback.java │ │ │ │ ├── CallbackAnalysisException.java │ │ │ │ ├── CallbackException.java │ │ │ │ ├── CallbackRequest.java │ │ │ │ ├── CallbackResponse.java │ │ │ │ ├── CallbackSupport.java │ │ │ │ ├── alipay │ │ │ │ │ ├── AlipayCallback.java │ │ │ │ │ ├── AlipayCallbackArgument.java │ │ │ │ │ ├── AlipayCallbackRequest.java │ │ │ │ │ └── AlipayCallbackResponse.java │ │ │ │ └── wx │ │ │ │ │ ├── WxCallback.java │ │ │ │ │ ├── WxCallbackArgument.java │ │ │ │ │ ├── WxCallbackRequest.java │ │ │ │ │ └── WxCallbackResponse.java │ │ │ ├── pay │ │ │ │ ├── Pay.java │ │ │ │ ├── PayRequest.java │ │ │ │ ├── PayResponse.java │ │ │ │ └── alipay │ │ │ │ │ ├── AlipayPay.java │ │ │ │ │ └── AlipayPayRequest.java │ │ │ ├── prepay │ │ │ │ ├── .DS_Store │ │ │ │ ├── AbstractPrepay.java │ │ │ │ ├── Prepay.java │ │ │ │ ├── PrepayInsideRequest.java │ │ │ │ ├── PrepayInsideResponse.java │ │ │ │ ├── PrepayRequest.java │ │ │ │ ├── PrepayResponse.java │ │ │ │ └── wx │ │ │ │ │ ├── WxPrepayInsideRequest.java │ │ │ │ │ ├── WxPrepayInsideResponse.java │ │ │ │ │ ├── WxPrepayResponse.java │ │ │ │ │ └── WxPrepayServiceImpl.java │ │ │ └── refound │ │ │ │ └── Refound.java │ │ │ └── utils │ │ │ └── PayId.java │ └── test │ │ └── java │ │ └── org │ │ └── bigmouth │ │ └── nvwa │ │ └── pay │ │ └── test │ │ └── AlipayTest.java └── target │ ├── classes │ ├── log4j.properties │ └── org │ │ └── bigmouth │ │ └── nvwa │ │ └── pay │ │ ├── AlipayDefaults$Charset.class │ │ ├── AlipayDefaults$PaymentType.class │ │ ├── AlipayDefaults$Paymethod.class │ │ ├── AlipayDefaults$RefundStatus.class │ │ ├── AlipayDefaults$Service.class │ │ ├── AlipayDefaults$TradeStatus.class │ │ ├── AlipayDefaults.class │ │ ├── PayDefaults$DigestType.class │ │ ├── PayDefaults.class │ │ ├── PayProvider.class │ │ ├── ability │ │ ├── Fail.class │ │ ├── FromXMLWrapper.class │ │ ├── Success.class │ │ └── ToXMLWrapper.class │ │ ├── annotation │ │ └── NotNull.class │ │ ├── config │ │ ├── PayConfig.class │ │ ├── PayConfigException.class │ │ ├── PayConfigService.class │ │ └── wx │ │ │ ├── WxFeeType.class │ │ │ ├── WxPayConfig.class │ │ │ ├── WxPayConfigService.class │ │ │ └── WxTradeType.class │ │ ├── exceptions │ │ └── PayException.class │ │ ├── service │ │ ├── callback │ │ │ ├── Callback.class │ │ │ ├── CallbackAnalysisException.class │ │ │ ├── CallbackException.class │ │ │ ├── CallbackRequest.class │ │ │ ├── CallbackResponse.class │ │ │ ├── CallbackSupport.class │ │ │ ├── alipay │ │ │ │ ├── AlipayCallback.class │ │ │ │ ├── AlipayCallbackArgument.class │ │ │ │ └── AlipayCallbackResponse.class │ │ │ └── wx │ │ │ │ ├── WxCallback.class │ │ │ │ ├── WxCallbackArgument.class │ │ │ │ ├── WxCallbackResponse$Respond.class │ │ │ │ └── WxCallbackResponse.class │ │ ├── pay │ │ │ ├── Pay.class │ │ │ ├── PayRequest.class │ │ │ ├── PayResponse.class │ │ │ └── alipay │ │ │ │ ├── AlipayPay.class │ │ │ │ └── AlipayPayRequest.class │ │ ├── prepay │ │ │ ├── AbstractPrepay.class │ │ │ ├── Prepay.class │ │ │ ├── PrepayInsideRequest.class │ │ │ ├── PrepayInsideResponse.class │ │ │ ├── PrepayRequest.class │ │ │ ├── PrepayResponse.class │ │ │ └── wx │ │ │ │ ├── WxPrepayInsideRequest.class │ │ │ │ ├── WxPrepayInsideResponse.class │ │ │ │ ├── WxPrepayResponse.class │ │ │ │ └── WxPrepayServiceImpl.class │ │ └── refound │ │ │ └── Refound.class │ │ └── utils │ │ └── PayId.class │ ├── nvwa-pay-1.0.0-sources.jar │ └── test-classes │ └── org │ └── bigmouth │ └── nvwa │ └── pay │ └── test │ └── AlipayTest.class ├── nvwa-sap ├── .classpath ├── .gitignore ├── .project ├── .settings │ ├── org.eclipse.core.resources.prefs │ ├── org.eclipse.jdt.core.prefs │ ├── org.eclipse.m2e.core.prefs │ ├── org.eclipse.wst.common.component │ ├── org.eclipse.wst.common.project.facet.core.xml │ ├── org.eclipse.wst.validation.prefs │ └── org.maven.ide.eclipse.prefs ├── pom.xml └── src │ ├── bak │ ├── SapMessageProxyTest.java │ ├── SapMessageReceiverTest.java │ ├── SapMessageSenderTest.java │ ├── SapReceiverTest.java │ └── SapSenderTest.java │ ├── main │ └── java │ │ └── org │ │ └── bigmouth │ │ └── nvwa │ │ └── sap │ │ ├── ContentRange.java │ │ ├── ContentType.java │ │ ├── DefaultSapMessage.java │ │ ├── DefaultSapRequest.java │ │ ├── DefaultSapResponse.java │ │ ├── DefaultSapTransactionMessage.java │ │ ├── ExtendedItem.java │ │ ├── ExtendedItemType.java │ │ ├── Identifiable.java │ │ ├── IllegalExtendedItemException.java │ │ ├── Ip.java │ │ ├── IpPort.java │ │ ├── MessageType.java │ │ ├── MutableIdentifiable.java │ │ ├── MutableSapMessage.java │ │ ├── MutableSapRequest.java │ │ ├── MutableSapResponse.java │ │ ├── MutableSapTransactionMessage.java │ │ ├── SapMessage.java │ │ ├── SapRequest.java │ │ ├── SapResponse.java │ │ ├── SapResponseStatus.java │ │ ├── SapResponseUtils.java │ │ ├── SapTransactionMessage.java │ │ ├── codec │ │ ├── ExtendedItemDecodingState.java │ │ ├── SapCodecFactory.java │ │ ├── SapCodecUtils.java │ │ ├── SapContentDecodingState.java │ │ ├── SapDecoder.java │ │ ├── SapDecoderException.java │ │ ├── SapDecodingStateMachine.java │ │ ├── SapEncoder.java │ │ ├── SapEncodingException.java │ │ ├── SapHeaderCommonDecodingState.java │ │ ├── SapHeaderExtRequestDecodingState.java │ │ ├── SapHeaderExtResponseDecodingState.java │ │ ├── SapHeaderExtTransactionDecodingState.java │ │ ├── SapMessageEncoder.java │ │ ├── SapRequestDecoderException.java │ │ ├── SapRequestEncoder.java │ │ ├── SapResponseEncoder.java │ │ └── SapTransactionMessageEncoder.java │ │ └── namecode │ │ ├── DefaultNameCodeMapper.java │ │ ├── DefaultNameCodePair.java │ │ ├── MutableNameCodeMapper.java │ │ ├── NameCodeMapper.java │ │ ├── NameCodePair.java │ │ ├── NoSuchNameCodeMappingException.java │ │ ├── PlugInServiceCodePair.java │ │ └── PlugInServiceNamePair.java │ └── test │ ├── java │ └── com │ │ └── skymobi │ │ └── market │ │ └── commons │ │ └── sap │ │ └── NameCodeMapperTestUtils.java │ └── resources │ └── log4j.properties ├── nvwa-session ├── .classpath ├── .gitignore ├── .project ├── .settings │ ├── org.eclipse.core.resources.prefs │ ├── org.eclipse.jdt.core.prefs │ ├── org.eclipse.m2e.core.prefs │ ├── org.eclipse.wst.common.component │ ├── org.eclipse.wst.common.project.facet.core.xml │ ├── org.eclipse.wst.validation.prefs │ └── org.maven.ide.eclipse.prefs ├── pom.xml └── src │ └── main │ └── java │ └── org │ └── bigmouth │ └── nvwa │ └── session │ ├── DefaultSession.java │ ├── DefaultTrackWrapper.java │ ├── MutableSession.java │ ├── Session.java │ ├── SessionHolder.java │ ├── SessionNotExistsException.java │ ├── Trackable.java │ ├── annotation │ ├── SessionSupport.java │ ├── SessionTrackable.java │ └── SessionValidator.java │ ├── jedis │ └── JedisSessionHolder.java │ ├── spring │ └── SessionAdvisor.java │ ├── web │ ├── CookieUtils.java │ └── SessionSupportFilter.java │ └── xmc │ ├── DefaultXmcSessionHolder.java │ ├── SimpleXmcSession.java │ └── SimpleXmcSessionHolder.java ├── nvwa-spring ├── .classpath ├── .gitignore ├── .project ├── .settings │ ├── org.eclipse.core.resources.prefs │ ├── org.eclipse.jdt.core.prefs │ ├── org.eclipse.jdt.ui.prefs │ ├── org.eclipse.m2e.core.prefs │ ├── org.eclipse.wst.common.component │ ├── org.eclipse.wst.common.project.facet.core.xml │ ├── org.eclipse.wst.validation.prefs │ └── org.maven.ide.eclipse.prefs ├── bin │ └── org │ │ └── bigmouth │ │ └── nvwa │ │ └── spring │ │ └── SpringContextHolder.class ├── pom.xml └── src │ └── main │ └── java │ └── org │ └── bigmouth │ └── nvwa │ └── spring │ ├── SpringContextHolder.java │ ├── SpringContextProperty.java │ ├── boot │ └── SpringBootstrap.java │ └── file │ └── FileConfigurator.java ├── nvwa-transport ├── .classpath ├── .gitignore ├── .project ├── .settings │ ├── org.eclipse.core.resources.prefs │ ├── org.eclipse.jdt.core.prefs │ ├── org.eclipse.m2e.core.prefs │ ├── org.eclipse.wst.common.component │ ├── org.eclipse.wst.common.project.facet.core.xml │ ├── org.eclipse.wst.validation.prefs │ └── org.maven.ide.eclipse.prefs ├── pom.xml └── src │ ├── bak │ └── ReceiverTest.java │ └── main │ └── java │ └── org │ └── bigmouth │ └── nvwa │ └── transport │ ├── CallbackSender.java │ ├── DefaultSenderFactory.java │ ├── DefaultTargetSessionLocator.java │ ├── DefaultTargetSessionLocatorBuilder.java │ ├── DelegatedSender.java │ ├── HttpMinaReplier.java │ ├── MinaReceiver.java │ ├── MinaReplier.java │ ├── MinaReplyReceiver.java │ ├── MinaSender.java │ ├── Receiver.java │ ├── Replier.java │ ├── ReplyReceiver.java │ ├── Sender.java │ ├── SenderFactory.java │ ├── SenderStatus.java │ ├── TargetSessionHolder.java │ ├── TargetSessionListener.java │ ├── TargetSessionLocator.java │ ├── TargetSessionLocatorBuilder.java │ ├── TcpConfig.java │ ├── failover │ ├── NotFoundAvailableSenderException.java │ ├── SenderCluster.java │ ├── SenderListener.java │ ├── SenderLocator.java │ └── jmx │ │ └── SenderClusterMBean.java │ └── jmx │ ├── DelegatedSenderMBean.java │ ├── MinaIoStatistics.java │ ├── MinaIoStatisticsMBean.java │ ├── MinaSenderQueueMBean.java │ └── MinaStatisticsUpdater.java ├── nvwa-utils ├── .classpath ├── .gitignore ├── .project ├── .settings │ ├── org.eclipse.core.resources.prefs │ ├── org.eclipse.jdt.core.prefs │ ├── org.eclipse.jdt.ui.prefs │ ├── org.eclipse.m2e.core.prefs │ ├── org.eclipse.wst.common.component │ ├── org.eclipse.wst.common.project.facet.core.xml │ ├── org.eclipse.wst.validation.prefs │ └── org.maven.ide.eclipse.prefs ├── pom.xml └── src │ ├── main │ └── java │ │ └── org │ │ └── bigmouth │ │ └── nvwa │ │ └── utils │ │ ├── Argument.java │ │ ├── AsyncClosure.java │ │ ├── BaseLifeCycleSupport.java │ │ ├── BroadcastClosure.java │ │ ├── BroadcastStrategy.java │ │ ├── ByteUtils.java │ │ ├── CloneableBean.java │ │ ├── Closure.java │ │ ├── CustomThreadFactory.java │ │ ├── CyclicCounter.java │ │ ├── DataSourcePreChecker.java │ │ ├── DateUtils.java │ │ ├── DynaBeanUtils.java │ │ ├── Factory.java │ │ ├── GZipUtils.java │ │ ├── GsonHelper.java │ │ ├── HexUtils.java │ │ ├── Identifiable.java │ │ ├── IncIdGenerator.java │ │ ├── JVMUtils.java │ │ ├── JarFileUtils.java │ │ ├── JsonHelper.java │ │ ├── List2ArrayTransformer.java │ │ ├── MD5Utils.java │ │ ├── MapHelper.java │ │ ├── Null.java │ │ ├── Nullable.java │ │ ├── NumberHelper.java │ │ ├── ObjectTransformer.java │ │ ├── PackageUtils.java │ │ ├── Pair.java │ │ ├── PathUtils.java │ │ ├── ReflectUtils.java │ │ ├── SerializeUtils.java │ │ ├── SerializedUtils.java │ │ ├── StringHelper.java │ │ ├── Transformer.java │ │ ├── UUIDUtils.java │ │ ├── change │ │ ├── AbstractChangeMonitor.java │ │ ├── ChangeEvent.java │ │ ├── ChangeListener.java │ │ ├── CollectionChangeEvent.java │ │ ├── CollectionChangeMonitor.java │ │ └── CollectionSnapshot.java │ │ ├── concurrent │ │ ├── DefaultFuture.java │ │ ├── Future.java │ │ └── FutureListener.java │ │ ├── degist │ │ ├── AesUtils.java │ │ ├── CryptoAesHelper.java │ │ ├── DesUtils.java │ │ └── NativeAesUtils.java │ │ ├── exception │ │ ├── SystemException.java │ │ └── SystemRuntimeException.java │ │ ├── jms │ │ ├── DefaultMessageBean.java │ │ ├── DefaultMessageBeanFactory.java │ │ ├── MessageBean.java │ │ └── MessageBeanFactory.java │ │ ├── jmx │ │ ├── JMXUtils.java │ │ ├── JVMMemory.java │ │ ├── JmxClientTemplate.java │ │ ├── mina │ │ │ ├── DelegateIoServiceStatistics.java │ │ │ ├── IoServiceStatisticsGetter.java │ │ │ └── IoServiceStatisticsMBean.java │ │ └── server │ │ │ ├── AbstractMBeanServer.java │ │ │ ├── ConfigurableMBeanServer.java │ │ │ ├── ConnectProtocol.java │ │ │ ├── JmxmpMBeanServer.java │ │ │ ├── RmiMBeanServer.java │ │ │ ├── SimpleMBeanServer.java │ │ │ └── SimpleMBeanServerUtils.java │ │ ├── url │ │ ├── URLDecoder.java │ │ └── URLEncoder.java │ │ └── xml │ │ ├── Dom4jDecoder.java │ │ └── Dom4jEncoder.java │ └── test │ └── java │ └── org │ └── bigmouth │ └── nvwa │ └── utils │ └── test │ └── MD5AndSHA.java ├── nvwa-validate ├── .classpath ├── .gitignore ├── .project ├── .settings │ ├── org.eclipse.core.resources.prefs │ ├── org.eclipse.jdt.core.prefs │ ├── org.eclipse.m2e.core.prefs │ ├── org.eclipse.wst.common.component │ ├── org.eclipse.wst.common.project.facet.core.xml │ ├── org.eclipse.wst.validation.prefs │ └── org.maven.ide.eclipse.prefs ├── pom.xml └── src │ ├── main │ └── java │ │ └── org │ │ └── bigmouth │ │ └── nvwa │ │ └── validate │ │ ├── AbstractValidator.java │ │ ├── CompareValidator.java │ │ ├── ConstraintViolationException.java │ │ ├── NoopValidator.java │ │ ├── ValidateException.java │ │ ├── Validator.java │ │ ├── annotation │ │ ├── ValidateCollection.java │ │ ├── ValidateCustom.java │ │ ├── ValidateLength.java │ │ ├── ValidateNotGreatThan.java │ │ ├── ValidateNotLaterThan.java │ │ ├── ValidateNotNull.java │ │ ├── ValidateNumeric.java │ │ └── ValidatePattern.java │ │ ├── factory │ │ ├── AnnotationValidatorFactory.java │ │ ├── PreGeneratedValidatorFactory.java │ │ ├── SoftRefValidatorFactory.java │ │ ├── ThreadLocalValidatorFactory.java │ │ ├── ValidateAnnotationMisuseException.java │ │ ├── ValidatorCreateException.java │ │ ├── ValidatorFactory.java │ │ └── ValidatorMetadata.java │ │ └── internal │ │ ├── BeanValidator.java │ │ ├── BeanValidatorWrapper.java │ │ ├── CollectionValidator.java │ │ ├── CustomValidator.java │ │ ├── LengthValidator.java │ │ ├── NotGreatThanValidator.java │ │ ├── NotLaterThanValidator.java │ │ ├── NotNullValidator.java │ │ ├── NumericValidator.java │ │ ├── OrValidator.java │ │ └── PatternValidator.java │ └── test │ ├── java │ └── com │ │ └── skymobi │ │ └── market │ │ └── commons │ │ └── validate │ │ ├── ValidateTestSuite.java │ │ ├── ValidateTestSupport.java │ │ ├── factory │ │ ├── AnnoBean.java │ │ ├── AnnoBean1.java │ │ ├── AnnoBeanMulti.java │ │ ├── AnnoBeanWrap.java │ │ └── AnnotationValidatorFactoryTest.java │ │ └── internal │ │ ├── BeanValidatorTest.java │ │ ├── CollectionValidatorTest.java │ │ ├── LengthValidatorTest.java │ │ ├── NotGreatThanValidatorTest.java │ │ ├── NotLaterThanValidatorTest.java │ │ ├── NotNullValidatorTest.java │ │ ├── NumericValidatorTest.java │ │ ├── PatternValidatorTest.java │ │ └── bean │ │ ├── ExampleBean1.java │ │ ├── ExampleBean2.java │ │ └── ValidateExampleBean.java │ └── resources │ └── log4j.properties ├── nvwa-xmemcached ├── .DS_Store ├── .classpath ├── .gitignore ├── .project ├── .settings │ ├── org.eclipse.core.resources.prefs │ ├── org.eclipse.jdt.core.prefs │ ├── org.eclipse.m2e.core.prefs │ ├── org.eclipse.wst.common.component │ ├── org.eclipse.wst.common.project.facet.core.xml │ ├── org.eclipse.wst.validation.prefs │ └── org.maven.ide.eclipse.prefs ├── pom.xml └── src │ ├── assemble │ ├── distribution.xml │ └── src.xml │ ├── main │ └── java │ │ ├── com │ │ └── google │ │ │ └── code │ │ │ └── yanf4j │ │ │ ├── buffer │ │ │ ├── AbstractIoBuffer.java │ │ │ ├── BufferDataException.java │ │ │ ├── CachedBufferAllocator.java │ │ │ ├── IoBuffer.java │ │ │ ├── IoBufferAllocator.java │ │ │ ├── IoBufferHexDumper.java │ │ │ ├── IoBufferWrapper.java │ │ │ ├── SimpleBufferAllocator.java │ │ │ └── package.html │ │ │ ├── config │ │ │ ├── Configuration.java │ │ │ └── package.html │ │ │ ├── core │ │ │ ├── CodecFactory.java │ │ │ ├── Controller.java │ │ │ ├── ControllerLifeCycle.java │ │ │ ├── ControllerStateListener.java │ │ │ ├── Dispatcher.java │ │ │ ├── EventType.java │ │ │ ├── Handler.java │ │ │ ├── Session.java │ │ │ ├── SessionConfig.java │ │ │ ├── SessionManager.java │ │ │ ├── SocketOption.java │ │ │ ├── WriteMessage.java │ │ │ ├── impl │ │ │ │ ├── AbstractController.java │ │ │ │ ├── AbstractSession.java │ │ │ │ ├── ByteBufferCodecFactory.java │ │ │ │ ├── FutureImpl.java │ │ │ │ ├── FutureLockImpl.java │ │ │ │ ├── HandlerAdapter.java │ │ │ │ ├── PoolDispatcher.java │ │ │ │ ├── StandardSocketOption.java │ │ │ │ ├── TextLineCodecFactory.java │ │ │ │ └── WriteMessageImpl.java │ │ │ └── package.html │ │ │ ├── nio │ │ │ ├── NioSession.java │ │ │ ├── NioSessionConfig.java │ │ │ ├── SelectionKeyHandler.java │ │ │ ├── TCPController.java │ │ │ ├── impl │ │ │ │ ├── AbstractNioSession.java │ │ │ │ ├── NioController.java │ │ │ │ ├── NioTCPSession.java │ │ │ │ ├── Reactor.java │ │ │ │ ├── SelectorManager.java │ │ │ │ └── SocketChannelController.java │ │ │ └── package.html │ │ │ ├── statistics │ │ │ ├── Statistics.java │ │ │ ├── impl │ │ │ │ ├── DefaultStatistics.java │ │ │ │ └── SimpleStatistics.java │ │ │ └── package.html │ │ │ └── util │ │ │ ├── ByteBufferMatcher.java │ │ │ ├── ByteBufferUtils.java │ │ │ ├── CircularQueue.java │ │ │ ├── ConcurrentHashSet.java │ │ │ ├── DispatcherFactory.java │ │ │ ├── LinkedTransferQueue.java │ │ │ ├── MapBackedSet.java │ │ │ ├── PropertyUtils.java │ │ │ ├── ResourcesUtils.java │ │ │ ├── SelectorFactory.java │ │ │ ├── ShiftAndByteBufferMatcher.java │ │ │ ├── ShiftOrByteBufferMatcher.java │ │ │ ├── SimpleQueue.java │ │ │ ├── SystemUtils.java │ │ │ ├── TransferQueue.java │ │ │ ├── WorkerThreadFactory.java │ │ │ └── package.html │ │ └── net │ │ └── rubyeye │ │ └── xmemcached │ │ ├── CASOperation.java │ │ ├── CommandFactory.java │ │ ├── Counter.java │ │ ├── GetsResponse.java │ │ ├── HashAlgorithm.java │ │ ├── KeyIterator.java │ │ ├── MemcachedClient.java │ │ ├── MemcachedClientBuilder.java │ │ ├── MemcachedClientStateListener.java │ │ ├── MemcachedOptimizer.java │ │ ├── MemcachedSessionLocator.java │ │ ├── XMemcachedClient.java │ │ ├── XMemcachedClientBuilder.java │ │ ├── XMemcachedClientMBean.java │ │ ├── auth │ │ ├── AuthInfo.java │ │ ├── AuthMemcachedConnectListener.java │ │ ├── AuthTask.java │ │ ├── PlainCallbackHandler.java │ │ └── package.html │ │ ├── buffer │ │ ├── BufferAllocator.java │ │ ├── CachedBufferAllocator.java │ │ ├── IoBuffer.java │ │ ├── SimpleBufferAllocator.java │ │ ├── SimpleIoBuffer.java │ │ └── package.html │ │ ├── codec │ │ ├── MemcachedCodecFactory.java │ │ ├── MemcachedDecoder.java │ │ ├── MemcachedEncoder.java │ │ └── package.html │ │ ├── command │ │ ├── AssocCommandAware.java │ │ ├── BinaryCommandFactory.java │ │ ├── Command.java │ │ ├── CommandType.java │ │ ├── KestrelCommandFactory.java │ │ ├── MapReturnValueAware.java │ │ ├── MergeCommandsAware.java │ │ ├── OperationStatus.java │ │ ├── ServerAddressAware.java │ │ ├── TextCommandFactory.java │ │ ├── VerbosityCommand.java │ │ ├── binary │ │ │ ├── BaseBinaryCommand.java │ │ │ ├── BinaryAppendPrependCommand.java │ │ │ ├── BinaryAuthListMechanismsCommand.java │ │ │ ├── BinaryAuthStartCommand.java │ │ │ ├── BinaryAuthStepCommand.java │ │ │ ├── BinaryCASCommand.java │ │ │ ├── BinaryDecodeStatus.java │ │ │ ├── BinaryDeleteCommand.java │ │ │ ├── BinaryFlushAllCommand.java │ │ │ ├── BinaryGetCommand.java │ │ │ ├── BinaryGetMultiCommand.java │ │ │ ├── BinaryIncrDecrCommand.java │ │ │ ├── BinaryNoopCommand.java │ │ │ ├── BinaryQuitCommand.java │ │ │ ├── BinaryStatsCommand.java │ │ │ ├── BinaryStoreCommand.java │ │ │ ├── BinaryVersionCommand.java │ │ │ ├── OpCode.java │ │ │ ├── ResponseStatus.java │ │ │ └── package.html │ │ ├── kestrel │ │ │ ├── KestrelDeleteCommand.java │ │ │ ├── KestrelFlushAllCommand.java │ │ │ ├── KestrelGetCommand.java │ │ │ ├── KestrelSetCommand.java │ │ │ └── package.html │ │ ├── package.html │ │ └── text │ │ │ ├── TextCASCommand.java │ │ │ ├── TextCacheDumpCommand.java │ │ │ ├── TextDeleteCommand.java │ │ │ ├── TextFlushAllCommand.java │ │ │ ├── TextGetCommand.java │ │ │ ├── TextGetMultiCommand.java │ │ │ ├── TextGetOneCommand.java │ │ │ ├── TextIncrDecrCommand.java │ │ │ ├── TextQuitCommand.java │ │ │ ├── TextStatsCommand.java │ │ │ ├── TextStoreCommand.java │ │ │ ├── TextVerbosityCommand.java │ │ │ ├── TextVersionCommand.java │ │ │ └── package.html │ │ ├── exception │ │ ├── MemcachedClientException.java │ │ ├── MemcachedDecodeException.java │ │ ├── MemcachedException.java │ │ ├── MemcachedServerException.java │ │ ├── UnknownCommandException.java │ │ └── package.html │ │ ├── extension │ │ └── ExtObjectInputStream.java │ │ ├── impl │ │ ├── ArrayMemcachedSessionLocator.java │ │ ├── ConnectFuture.java │ │ ├── ElectionMemcachedSessionLocator.java │ │ ├── KetamaMemcachedSessionLocator.java │ │ ├── KeyIteratorImpl.java │ │ ├── MemcachedClientStateListenerAdapter.java │ │ ├── MemcachedConnector.java │ │ ├── MemcachedHandler.java │ │ ├── MemcachedSessionComparator.java │ │ ├── MemcachedTCPSession.java │ │ ├── Optimizer.java │ │ ├── OptimizerMBean.java │ │ ├── ReconnectRequest.java │ │ └── package.html │ │ ├── monitor │ │ ├── Constants.java │ │ ├── MemcachedClientNameHolder.java │ │ ├── StatisticsHandler.java │ │ ├── StatisticsHandlerMBean.java │ │ ├── XMemcachedMbeanServer.java │ │ └── package.html │ │ ├── networking │ │ ├── Connector.java │ │ ├── MemcachedSession.java │ │ ├── MemcachedSessionConnectListener.java │ │ └── package.html │ │ ├── package.html │ │ ├── transcoders │ │ ├── BaseSerializingTranscoder.java │ │ ├── CachedData.java │ │ ├── IntegerTranscoder.java │ │ ├── LongTranscoder.java │ │ ├── PrimitiveTypeTranscoder.java │ │ ├── SerializingTranscoder.java │ │ ├── StringTranscoder.java │ │ ├── TokyoTyrantTranscoder.java │ │ ├── Transcoder.java │ │ ├── TranscoderUtils.java │ │ ├── WhalinTranscoder.java │ │ ├── WhalinV1Transcoder.java │ │ └── package.html │ │ └── utils │ │ ├── AddrUtil.java │ │ ├── ByteUtils.java │ │ ├── InetSocketAddressWrapper.java │ │ ├── OpaqueGenerater.java │ │ ├── Protocol.java │ │ ├── XMemcachedClientFactoryBean.java │ │ └── package.html │ └── test │ ├── java │ ├── com │ │ └── google │ │ │ └── code │ │ │ └── yanf4j │ │ │ └── test │ │ │ └── unittest │ │ │ ├── Main.java │ │ │ ├── buffer │ │ │ ├── Bar.java │ │ │ ├── Foo.java │ │ │ └── IoBufferTest.java │ │ │ ├── config │ │ │ └── ConfigurationTest.java │ │ │ ├── core │ │ │ ├── SocketOptionUnitTest.java │ │ │ └── impl │ │ │ │ ├── AbstractControllerUnitTest.java │ │ │ │ ├── ByteBufferCodecFactoryUnitTest.java │ │ │ │ ├── FutureImplUnitTest.java │ │ │ │ ├── FutureLockImplUnitTest.java │ │ │ │ ├── PoolDispatcherUnitTest.java │ │ │ │ └── TextLineCodecFactoryUnitTest.java │ │ │ ├── nio │ │ │ └── impl │ │ │ │ ├── MockSelectableChannel.java │ │ │ │ ├── MockSelectionKey.java │ │ │ │ ├── ReactorUnitTest.java │ │ │ │ └── SelectorManagerUnitTest.java │ │ │ ├── statistics │ │ │ └── SimpleStatisticsTest.java │ │ │ └── utils │ │ │ ├── ByteBufferMatcherTest.java │ │ │ ├── ByteBufferUtilsTest.java │ │ │ ├── DispatcherFactoryUnitTest.java │ │ │ ├── QueueTest.java │ │ │ ├── ShiftAndByteBufferMatcherTest.java │ │ │ ├── ShiftOrByteBufferMatcherTest.java │ │ │ └── SystemUtilsUniTest.java │ ├── doug │ │ ├── Test.java │ │ ├── Test1.java │ │ └── Yanf4j.java │ ├── log4j.properties │ └── net │ │ └── rubyeye │ │ └── xmemcached │ │ ├── example │ │ ├── BinaryProtocolExample.java │ │ ├── CASExample.java │ │ ├── SASLExample.java │ │ ├── SimpleExample.java │ │ └── SpringExample.java │ │ ├── helper │ │ ├── AbstractChecker.java │ │ ├── BlankKeyChecker.java │ │ ├── ExceptionChecker.java │ │ ├── InValidKeyChecker.java │ │ ├── MockTranscoder.java │ │ ├── TooLongKeyChecker.java │ │ └── TranscoderChecker.java │ │ └── test │ │ └── unittest │ │ ├── BinaryMemcachedClientUnitTest.java │ │ ├── ConnectionPoolMemcachedClientTest.java │ │ ├── ConsistentHashMemcachedClientTest.java │ │ ├── KestrelClientUnitTest.java │ │ ├── MockSession.java │ │ ├── StandardHashMemcachedClientTest.java │ │ ├── XMemcachedClientTest.java │ │ ├── buffer │ │ ├── AbstractBufferAllocatorUnitTest.java │ │ ├── BufferAllocatorTestSuite.java │ │ ├── CachedBufferAllocatorUnitTest.java │ │ └── SimpleBufferAllocatorUnitTest.java │ │ ├── codec │ │ ├── MemcachedDecoderUnitTest.java │ │ └── MemcachedEncoderUnitTest.java │ │ ├── commands │ │ ├── binary │ │ │ ├── BaseBinaryCommandUnitTest.java │ │ │ ├── BinaryAppendPrependCommandUnitTest.java │ │ │ ├── BinaryCASCommandUnitTest.java │ │ │ ├── BinaryCommandAllTests.java │ │ │ ├── BinaryDeleteCommandUnitTest.java │ │ │ ├── BinaryGetCommandUnitTest.java │ │ │ ├── BinaryGetMultiCommandUnitTest.java │ │ │ ├── BinaryIncrDecrUnitTest.java │ │ │ ├── BinaryStatsCommandUnitTest.java │ │ │ └── BinaryStoreCommandUnitTest.java │ │ ├── factory │ │ │ └── TextCommandFactoryTest.java │ │ └── text │ │ │ ├── BaseTextCommandUnitTest.java │ │ │ ├── TextCommandsAllTests.java │ │ │ ├── TextDeleteCommandUnitTest.java │ │ │ ├── TextFlushAllCommandUnitTest.java │ │ │ ├── TextGetMultiCommandUnitTest.java │ │ │ ├── TextGetOneCommandUnitTest.java │ │ │ ├── TextIncrDecrCommandUnitTest.java │ │ │ ├── TextStatsCommandUnitTest.java │ │ │ ├── TextStoreCommandUnitTest.java │ │ │ ├── TextVerbositylCommandUnitTest.java │ │ │ └── TextVersionCommandUnitTest.java │ │ ├── impl │ │ ├── MemcachedClientStateListenerUnitTest.java │ │ ├── MemcachedSessionComparatorUnitTest.java │ │ ├── MockMemcachedClientStateListener.java │ │ ├── OptimezerTest.java │ │ └── SessionLocatorTest.java │ │ ├── mock │ │ ├── MockDecodeTimeoutBinaryGetOneCommand.java │ │ ├── MockDecodeTimeoutTextGetOneCommand.java │ │ ├── MockEncodeTimeoutBinaryGetCommand.java │ │ ├── MockEncodeTimeoutTextGetOneCommand.java │ │ ├── MockErrorBinaryGetOneCommand.java │ │ ├── MockErrorCommand.java │ │ └── MockErrorTextGetOneCommand.java │ │ ├── monitor │ │ ├── MemcachedClientHolderUnitTest.java │ │ ├── Mock.java │ │ ├── MockMBean.java │ │ ├── StatisticsHandlerUnitTest.java │ │ └── XMemcachedMBeanServerUnitTest.java │ │ ├── transcoder │ │ ├── BaseSerializingTranscoderTest.java │ │ ├── BaseTranscoderCase.java │ │ ├── CachedDataTest.java │ │ ├── IntegerTranscoderTest.java │ │ ├── LongTranscoderTest.java │ │ ├── PrimitiveAsStringUnitTest.java │ │ ├── SerializingTranscoderTest.java │ │ ├── TokyoTyrantTranscoderUnitTest.java │ │ ├── TranscoderAllTests.java │ │ ├── TranscoderUtilsTest.java │ │ ├── WhalinTranscoderTest.java │ │ └── WhalinV1TranscoderTest.java │ │ └── utils │ │ ├── AddrUtilTest.java │ │ └── XMemcachedClientFactoryBeanUnitTest.java │ └── resources │ ├── applicationContext.xml │ ├── golden_compass.txt │ ├── log4j.properties │ ├── sampleApplicationContext.xml │ └── test.properties ├── nvwa-zkadmin ├── .DS_Store ├── .classpath ├── .gitignore ├── .project ├── .settings │ ├── .jsdtscope │ ├── org.eclipse.core.resources.prefs │ ├── org.eclipse.jdt.core.prefs │ ├── org.eclipse.m2e.core.prefs │ ├── org.eclipse.wst.common.component │ ├── org.eclipse.wst.common.project.facet.core.xml │ ├── org.eclipse.wst.jsdt.ui.superType.container │ ├── org.eclipse.wst.jsdt.ui.superType.name │ ├── org.eclipse.wst.validation.prefs │ └── org.maven.ide.eclipse.prefs ├── nvwa-zkadmin.iml ├── pom.xml └── src │ ├── .DS_Store │ └── main │ ├── .DS_Store │ ├── java │ └── org │ │ └── bigmouth │ │ └── nvwa │ │ └── zkadmin │ │ ├── dao │ │ └── NodeDao.java │ │ ├── entity │ │ ├── Node.java │ │ └── Stats.java │ │ ├── interceptor │ │ └── AuthorizationInterceptor.java │ │ ├── service │ │ └── NodeService.java │ │ └── web │ │ └── NodeController.java │ ├── resources │ ├── application.properties │ ├── applicationContext-dispatcher.xml │ ├── applicationContext.xml │ └── log4j.properties │ └── webapp │ ├── .DS_Store │ ├── WEB-INF │ ├── urlrewrite.xml │ └── web.xml │ ├── css │ ├── bootstrap-theme.css │ ├── bootstrap-theme.css.map │ ├── bootstrap-theme.min.css │ ├── bootstrap.css │ ├── bootstrap.css.map │ ├── bootstrap.min.css │ ├── console.min.css │ └── starter-template.css │ ├── fonts │ ├── glyphicons-halflings-regular.eot │ ├── glyphicons-halflings-regular.svg │ ├── glyphicons-halflings-regular.ttf │ ├── glyphicons-halflings-regular.woff │ └── glyphicons-halflings-regular.woff2 │ ├── index.jsp │ └── js │ ├── .DS_Store │ ├── bootstrap.js │ ├── bootstrap.min.js │ ├── jquery │ └── 1.11.3 │ │ └── jquery.min.js │ ├── node.js │ ├── npm.js │ ├── nprocess │ ├── nprogress.css │ └── nprogress.js │ ├── nvwa │ └── nvwa-modal.js │ └── ztree │ ├── css │ ├── demo.css │ └── zTreeStyle │ │ ├── img │ │ ├── diy │ │ │ ├── 1_close.png │ │ │ ├── 1_open.png │ │ │ ├── 2.png │ │ │ ├── 3.png │ │ │ ├── 4.png │ │ │ ├── 5.png │ │ │ ├── 6.png │ │ │ ├── 7.png │ │ │ ├── 8.png │ │ │ └── 9.png │ │ ├── line_conn.gif │ │ ├── loading.gif │ │ ├── zTreeStandard.gif │ │ └── zTreeStandard.png │ │ └── zTreeStyle.css │ └── js │ ├── jquery.ztree.all-3.5.js │ ├── jquery.ztree.all-3.5.min.js │ ├── jquery.ztree.core-3.5.js │ ├── jquery.ztree.core-3.5.min.js │ ├── jquery.ztree.excheck-3.5.js │ ├── jquery.ztree.excheck-3.5.min.js │ ├── jquery.ztree.exedit-3.5.js │ ├── jquery.ztree.exedit-3.5.min.js │ ├── jquery.ztree.exedit.js │ ├── jquery.ztree.exhide-3.5.js │ └── jquery.ztree.exhide-3.5.min.js ├── nvwa-zookeeper ├── .classpath ├── .gitignore ├── .project ├── .settings │ ├── org.eclipse.core.resources.prefs │ ├── org.eclipse.jdt.core.prefs │ ├── org.eclipse.jdt.ui.prefs │ ├── org.eclipse.m2e.core.prefs │ ├── org.eclipse.wst.common.component │ ├── org.eclipse.wst.common.project.facet.core.xml │ ├── org.eclipse.wst.validation.prefs │ └── org.maven.ide.eclipse.prefs ├── pom.xml └── src │ ├── main │ └── java │ │ └── org │ │ └── bigmouth │ │ └── nvwa │ │ └── zookeeper │ │ ├── ZkClientHolder.java │ │ ├── addrs │ │ ├── AddressReader.java │ │ ├── ReaderException.java │ │ ├── ReaderFactory.java │ │ ├── ReaderType.java │ │ ├── file │ │ │ └── FileAddressReader.java │ │ ├── fixedly │ │ │ └── FixedlyAddressReader.java │ │ └── url │ │ │ └── UrlAddressReader.java │ │ ├── annotation │ │ ├── PrimaryKey.java │ │ └── SynchronousSupport.java │ │ ├── concurrent │ │ ├── CanCaughtException.java │ │ ├── CanNotCaughtException.java │ │ ├── ConcurrentSupport.java │ │ ├── MutexLockSynchronous.java │ │ ├── MutexLockSynchronousWithoutResult.java │ │ ├── Synchronous.java │ │ ├── SynchronousException.java │ │ ├── SynchronousProcessor.java │ │ ├── SynchronousProcessorWithoutResult.java │ │ ├── SynchronousWithoutResult.java │ │ └── spring │ │ │ ├── SynchronousAdvisor.java │ │ │ └── SynchronousStatistics.java │ │ ├── config │ │ └── ZkPropertyPlaceholderConfigurer.java │ │ ├── listener │ │ ├── Change.java │ │ ├── ChangeEventObject.java │ │ ├── ChangeListener.java │ │ └── children │ │ │ ├── ChildrenChangeListener.java │ │ │ ├── ChildrenListenerImpl.java │ │ │ └── ChildrenMonitor.java │ │ ├── observers │ │ ├── AbstractObserver.java │ │ ├── Observer.java │ │ ├── Subject.java │ │ ├── SubjectConfig.java │ │ ├── SubjectPack.java │ │ └── exceptions │ │ │ ├── AlreadyExistException.java │ │ │ ├── CharacterException.java │ │ │ └── ObserverException.java │ │ ├── queue │ │ ├── QueueProvider.java │ │ ├── SimpleQueue.java │ │ ├── SimpleQueueConsumer.java │ │ ├── SimpleQueueConsumerKeeper.java │ │ └── SimpleQueueProvider.java │ │ └── utils │ │ └── ZkPathUtils.java │ └── test │ ├── etc │ ├── application.properties │ ├── config │ │ ├── applicationContext-listener.xml │ │ └── applicationContext-observers.xml │ ├── log4j.properties │ └── test │ │ └── config │ │ ├── application.properties │ │ ├── applicationContext-concurrent.xml │ │ ├── applicationContext-zookeeper.xml │ │ ├── applicationContext.xml │ │ └── log4j.properties │ └── main │ └── org │ └── bigmouth │ └── nvwa │ └── zookeeper │ └── test │ ├── NodeTest.java │ ├── SynchronousMultiThreadsTest.java │ ├── SynchronousService.java │ ├── SynchronousTest.java │ ├── addrs │ └── AddressReaderTest.java │ ├── listener │ ├── DefaultChange.java │ └── ListenerTest.java │ └── observers │ ├── Error.java │ ├── ErrorObserver.java │ ├── ErrorSubject.java │ └── ErrorTest.java ├── nvwa ├── .DS_Store ├── .classpath ├── .gitignore ├── .project ├── .settings │ ├── org.eclipse.jdt.core.prefs │ ├── org.eclipse.m2e.core.prefs │ ├── org.eclipse.wst.common.component │ ├── org.eclipse.wst.common.project.facet.core.xml │ ├── org.eclipse.wst.validation.prefs │ └── org.maven.ide.eclipse.prefs └── pom.xml └── pom.xml /.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/big-mouth-cn/nvwa/6a460cf62c65ed70478a6e9ef3b5a142e8775d19/.DS_Store -------------------------------------------------------------------------------- /.classpath: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /.gitattributes: -------------------------------------------------------------------------------- 1 | # Auto detect text files and perform LF normalization 2 | * text=auto 3 | 4 | # Custom for Visual Studio 5 | *.cs diff=csharp 6 | 7 | # Standard to msysgit 8 | *.doc diff=astextplain 9 | *.DOC diff=astextplain 10 | *.docx diff=astextplain 11 | *.DOCX diff=astextplain 12 | *.dot diff=astextplain 13 | *.DOT diff=astextplain 14 | *.pdf diff=astextplain 15 | *.PDF diff=astextplain 16 | *.rtf diff=astextplain 17 | *.RTF diff=astextplain 18 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | # maven ignore 2 | target/ 3 | *.jar 4 | !.mvn/wrapper/* 5 | *.war 6 | *.zip 7 | *.tar 8 | *.tar.gz 9 | 10 | # eclipse ignore 11 | .settings/ 12 | .project 13 | .classpath 14 | 15 | # idea ignore 16 | .idea/ 17 | *.ipr 18 | *.iml 19 | *.iws 20 | 21 | # temp ignore 22 | *.log 23 | *.cache 24 | *.diff 25 | *.patch 26 | *.tmp 27 | 28 | # system ignore 29 | .DS_Store 30 | Thumbs.db 31 | 32 | -------------------------------------------------------------------------------- /.idea/.name: -------------------------------------------------------------------------------- 1 | nvwa-parent -------------------------------------------------------------------------------- /.idea/artifacts/nvwa_zkadmin_war.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | $PROJECT_DIR$/nvwa-zkadmin/target 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /.idea/dictionaries/huxiao.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__asm_asm_3_1.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__cglib_cglib_2_2.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__dom4j_dom4j_1_6_1.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__jaxen_jaxen_1_1_1.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__jdom_jdom_1_0.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__junit_junit_4_4.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__junit_junit_4_7.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__junit_junit_4_8_2.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__ognl_ognl_2_6_9.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__ognl_ognl_3_0_1.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__xalan_xalan_2_6_0.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__xom_xom_1_0.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/vcs.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /.settings/org.eclipse.m2e.core.prefs: -------------------------------------------------------------------------------- 1 | activeProfiles= 2 | eclipse.preferences.version=1 3 | resolveWorkspaceProjects=true 4 | version=1 5 | -------------------------------------------------------------------------------- /.settings/org.maven.ide.eclipse.prefs: -------------------------------------------------------------------------------- 1 | #Tue Apr 26 17:30:06 CST 2016 2 | activeProfiles= 3 | eclipse.preferences.version=1 4 | fullBuildGoals=process-test-resources 5 | includeModules=false 6 | resolveWorkspaceProjects=true 7 | resourceFilterGoals=process-resources resources\:testResources 8 | skipCompilerPlugin=true 9 | version=1 10 | -------------------------------------------------------------------------------- /build.cmd: -------------------------------------------------------------------------------- 1 | mvn clean install -Dmaven.test.skip=true & pause -------------------------------------------------------------------------------- /nvwa-asyncweb/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/big-mouth-cn/nvwa/6a460cf62c65ed70478a6e9ef3b5a142e8775d19/nvwa-asyncweb/.DS_Store -------------------------------------------------------------------------------- /nvwa-asyncweb/.gitignore: -------------------------------------------------------------------------------- 1 | /target/ 2 | -------------------------------------------------------------------------------- /nvwa-asyncweb/.settings/org.eclipse.core.resources.prefs: -------------------------------------------------------------------------------- 1 | eclipse.preferences.version=1 2 | encoding//src/main/java=UTF-8 3 | encoding//src/test/java=UTF-8 4 | -------------------------------------------------------------------------------- /nvwa-asyncweb/.settings/org.eclipse.jdt.core.prefs: -------------------------------------------------------------------------------- 1 | #Fri May 10 11:29:11 CST 2013 2 | eclipse.preferences.version=1 3 | org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled 4 | org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.6 5 | org.eclipse.jdt.core.compiler.compliance=1.6 6 | org.eclipse.jdt.core.compiler.problem.assertIdentifier=error 7 | org.eclipse.jdt.core.compiler.problem.enumIdentifier=error 8 | org.eclipse.jdt.core.compiler.problem.forbiddenReference=warning 9 | org.eclipse.jdt.core.compiler.source=1.6 10 | -------------------------------------------------------------------------------- /nvwa-asyncweb/.settings/org.eclipse.m2e.core.prefs: -------------------------------------------------------------------------------- 1 | activeProfiles= 2 | eclipse.preferences.version=1 3 | resolveWorkspaceProjects=true 4 | version=1 5 | -------------------------------------------------------------------------------- /nvwa-asyncweb/.settings/org.eclipse.wst.common.component: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /nvwa-asyncweb/.settings/org.eclipse.wst.common.project.facet.core.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /nvwa-asyncweb/.settings/org.eclipse.wst.validation.prefs: -------------------------------------------------------------------------------- 1 | disabled=06target 2 | eclipse.preferences.version=1 3 | -------------------------------------------------------------------------------- /nvwa-asyncweb/.settings/org.maven.ide.eclipse.prefs: -------------------------------------------------------------------------------- 1 | #Tue Apr 26 17:30:30 CST 2016 2 | activeProfiles= 3 | eclipse.preferences.version=1 4 | fullBuildGoals=process-test-resources 5 | includeModules=false 6 | resolveWorkspaceProjects=true 7 | resourceFilterGoals=process-resources resources\:testResources 8 | skipCompilerPlugin=true 9 | version=1 10 | -------------------------------------------------------------------------------- /nvwa-asyncweb/src/test/catalina/webapps/ROOT/cookie.jsp: -------------------------------------------------------------------------------- 1 | <% 2 | Cookie cookie = new Cookie( 3 | org.apache.asyncweb.common.integration.ResponseOutput.COOKIE_NAME, 4 | org.apache.asyncweb.common.integration.ResponseOutput.COOKIE_VALUE 5 | ); 6 | cookie.setMaxAge(org.apache.asyncweb.common.integration.ResponseOutput.COOKIE_MAX_AGE); 7 | response.addCookie(cookie); 8 | %> -------------------------------------------------------------------------------- /nvwa-asyncweb/src/test/catalina/webapps/ROOT/helloworld.jsp: -------------------------------------------------------------------------------- 1 | <%=org.apache.asyncweb.common.integration.ResponseOutput.HELLO_WORLD %> -------------------------------------------------------------------------------- /nvwa-asyncweb/src/test/catalina/webapps/ROOT/redirect.jsp: -------------------------------------------------------------------------------- 1 | <% 2 | response.sendRedirect("/helloworld.jsp"); 3 | %> 4 | -------------------------------------------------------------------------------- /nvwa-asyncweb/src/test/java/org/apache/asyncweb/common/integration/ResponseOutput.java: -------------------------------------------------------------------------------- 1 | package org.apache.asyncweb.common.integration; 2 | 3 | public class ResponseOutput { 4 | 5 | public static final String HELLO_WORLD = "Hello HTTP World"; 6 | 7 | public static final String COOKIE_NAME = "test"; 8 | public static final String COOKIE_VALUE = "value"; 9 | public static final int COOKIE_MAX_AGE = 3600; 10 | 11 | } 12 | -------------------------------------------------------------------------------- /nvwa-authority/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/big-mouth-cn/nvwa/6a460cf62c65ed70478a6e9ef3b5a142e8775d19/nvwa-authority/.DS_Store -------------------------------------------------------------------------------- /nvwa-authority/.gitignore: -------------------------------------------------------------------------------- 1 | /target/ 2 | -------------------------------------------------------------------------------- /nvwa-authority/.settings/org.eclipse.core.resources.prefs: -------------------------------------------------------------------------------- 1 | eclipse.preferences.version=1 2 | encoding//src/main/java=UTF-8 3 | -------------------------------------------------------------------------------- /nvwa-authority/.settings/org.eclipse.m2e.core.prefs: -------------------------------------------------------------------------------- 1 | activeProfiles= 2 | eclipse.preferences.version=1 3 | resolveWorkspaceProjects=true 4 | version=1 5 | -------------------------------------------------------------------------------- /nvwa-authority/.settings/org.eclipse.wst.common.component: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /nvwa-authority/.settings/org.eclipse.wst.common.project.facet.core.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /nvwa-authority/.settings/org.eclipse.wst.validation.prefs: -------------------------------------------------------------------------------- 1 | disabled=06target 2 | eclipse.preferences.version=1 3 | -------------------------------------------------------------------------------- /nvwa-authority/.settings/org.maven.ide.eclipse.prefs: -------------------------------------------------------------------------------- 1 | #Tue Apr 26 18:45:52 CST 2016 2 | activeProfiles= 3 | eclipse.preferences.version=1 4 | fullBuildGoals=process-test-resources 5 | includeModules=false 6 | resolveWorkspaceProjects=true 7 | resourceFilterGoals=process-resources resources\:testResources 8 | skipCompilerPlugin=true 9 | version=1 10 | -------------------------------------------------------------------------------- /nvwa-authority/src/main/java/org/bigmouth/nvwa/authority/web.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | shiroFilter 4 | org.springframework.web.filter.DelegatingFilterProxy 5 | 6 | targetFilterLifecycle 7 | false 8 | 9 | 10 | 11 | shiroFilter 12 | /* 13 | 14 | -------------------------------------------------------------------------------- /nvwa-cache/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/big-mouth-cn/nvwa/6a460cf62c65ed70478a6e9ef3b5a142e8775d19/nvwa-cache/.DS_Store -------------------------------------------------------------------------------- /nvwa-cache/.gitignore: -------------------------------------------------------------------------------- 1 | /target/ 2 | -------------------------------------------------------------------------------- /nvwa-cache/.settings/org.eclipse.core.resources.prefs: -------------------------------------------------------------------------------- 1 | eclipse.preferences.version=1 2 | encoding//src/main/java=UTF-8 3 | -------------------------------------------------------------------------------- /nvwa-cache/.settings/org.eclipse.jdt.core.prefs: -------------------------------------------------------------------------------- 1 | #Sun Apr 28 15:04:15 CST 2013 2 | eclipse.preferences.version=1 3 | org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled 4 | org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.6 5 | org.eclipse.jdt.core.compiler.compliance=1.6 6 | org.eclipse.jdt.core.compiler.problem.assertIdentifier=error 7 | org.eclipse.jdt.core.compiler.problem.enumIdentifier=error 8 | org.eclipse.jdt.core.compiler.problem.forbiddenReference=warning 9 | org.eclipse.jdt.core.compiler.source=1.6 10 | -------------------------------------------------------------------------------- /nvwa-cache/.settings/org.eclipse.m2e.core.prefs: -------------------------------------------------------------------------------- 1 | activeProfiles= 2 | eclipse.preferences.version=1 3 | resolveWorkspaceProjects=true 4 | version=1 5 | -------------------------------------------------------------------------------- /nvwa-cache/.settings/org.eclipse.wst.common.component: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /nvwa-cache/.settings/org.eclipse.wst.common.project.facet.core.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /nvwa-cache/.settings/org.eclipse.wst.validation.prefs: -------------------------------------------------------------------------------- 1 | disabled=06target 2 | eclipse.preferences.version=1 3 | -------------------------------------------------------------------------------- /nvwa-cache/.settings/org.maven.ide.eclipse.prefs: -------------------------------------------------------------------------------- 1 | #Tue Apr 26 17:30:29 CST 2016 2 | activeProfiles= 3 | eclipse.preferences.version=1 4 | fullBuildGoals=process-test-resources 5 | includeModules=false 6 | resolveWorkspaceProjects=true 7 | resourceFilterGoals=process-resources resources\:testResources 8 | skipCompilerPlugin=true 9 | version=1 10 | -------------------------------------------------------------------------------- /nvwa-cache/src/main/java/org/bigmouth/nvwa/cache/CacheConstant.java: -------------------------------------------------------------------------------- 1 | package org.bigmouth.nvwa.cache; 2 | 3 | public class CacheConstant { 4 | 5 | private CacheConstant() { 6 | } 7 | 8 | public static final String CACHE_KEY_CONNECTOR = "#"; 9 | 10 | } 11 | -------------------------------------------------------------------------------- /nvwa-cache/src/main/java/org/bigmouth/nvwa/cache/DataExtractor.java: -------------------------------------------------------------------------------- 1 | package org.bigmouth.nvwa.cache; 2 | 3 | /** 4 | * 5 | * @author nada 6 | * 7 | */ 8 | public interface DataExtractor { 9 | 10 | public Object extract(); 11 | 12 | } 13 | -------------------------------------------------------------------------------- /nvwa-cache/src/main/java/org/bigmouth/nvwa/cache/FetchService.java: -------------------------------------------------------------------------------- 1 | package org.bigmouth.nvwa.cache; 2 | 3 | public interface FetchService extends OriginalClientAware { 4 | 5 | public T fetch(KeyGenerator keyGenerator, DataExtractor dataExtractor, Class clazz); 6 | 7 | public T fetch(KeyGenerator keyGenerator, DataExtractor dataExtractor, Class clazz, 8 | int exp); 9 | 10 | public Object getOriginalClient(); 11 | } 12 | -------------------------------------------------------------------------------- /nvwa-cache/src/main/java/org/bigmouth/nvwa/cache/KeyGenerator.java: -------------------------------------------------------------------------------- 1 | package org.bigmouth.nvwa.cache; 2 | 3 | public interface KeyGenerator { 4 | 5 | public String generateKey(); 6 | 7 | } 8 | -------------------------------------------------------------------------------- /nvwa-cache/src/main/java/org/bigmouth/nvwa/cache/KeyUtils.java: -------------------------------------------------------------------------------- 1 | package org.bigmouth.nvwa.cache; 2 | 3 | 4 | public class KeyUtils { 5 | 6 | private static final int DEFAULT_LENGTH = 64; 7 | 8 | private static final String SPLIT = "#"; 9 | 10 | public static String generateKey(String... factors) { 11 | if (null == factors || factors.length == 0) 12 | throw new IllegalArgumentException("factors is null or its length is 0."); 13 | StringBuilder sb = new StringBuilder(DEFAULT_LENGTH); 14 | for (String s : factors) 15 | sb.append(s).append(SPLIT); 16 | return sb.substring(0, sb.length() - 1); 17 | } 18 | 19 | } 20 | -------------------------------------------------------------------------------- /nvwa-cache/src/main/java/org/bigmouth/nvwa/cache/MemClientBuilder.java: -------------------------------------------------------------------------------- 1 | package org.bigmouth.nvwa.cache; 2 | 3 | public interface MemClientBuilder { 4 | 5 | public Object build(); 6 | 7 | } 8 | -------------------------------------------------------------------------------- /nvwa-cache/src/main/java/org/bigmouth/nvwa/cache/Node.java: -------------------------------------------------------------------------------- 1 | package org.bigmouth.nvwa.cache; 2 | 3 | /** 4 | * Cache node. 5 | * 6 | * @author nada 7 | * 8 | */ 9 | public interface Node { 10 | 11 | public String getIp(); 12 | 13 | public int getPort(); 14 | 15 | public int getWeight(); 16 | 17 | public String getDesc(); 18 | 19 | } 20 | -------------------------------------------------------------------------------- /nvwa-cache/src/main/java/org/bigmouth/nvwa/cache/NodeBuilder.java: -------------------------------------------------------------------------------- 1 | package org.bigmouth.nvwa.cache; 2 | 3 | import java.util.List; 4 | 5 | public interface NodeBuilder { 6 | 7 | List build(); 8 | 9 | } 10 | -------------------------------------------------------------------------------- /nvwa-cache/src/main/java/org/bigmouth/nvwa/cache/NodeManager.java: -------------------------------------------------------------------------------- 1 | package org.bigmouth.nvwa.cache; 2 | 3 | import java.util.List; 4 | 5 | public interface NodeManager extends OriginalClientAware { 6 | 7 | public void registerNode(Node cacheNode); 8 | 9 | public void unregisterNode(Node cacheNode); 10 | 11 | public void updateNodeWeight(Node cacheNode, int weight); 12 | 13 | public List getAvaliableNodes(); 14 | 15 | public Object getOriginalClient(); 16 | 17 | } 18 | -------------------------------------------------------------------------------- /nvwa-cache/src/main/java/org/bigmouth/nvwa/cache/OriginalClientAware.java: -------------------------------------------------------------------------------- 1 | package org.bigmouth.nvwa.cache; 2 | 3 | /** 4 | * The way to obtain original cache client which implement the function of 5 | * interacting with cache server. 6 | * 7 | * @author nada 8 | * 9 | */ 10 | public interface OriginalClientAware { 11 | 12 | public Object getOriginalClient(); 13 | 14 | } 15 | -------------------------------------------------------------------------------- /nvwa-cache/src/main/java/org/bigmouth/nvwa/cache/UpdateService.java: -------------------------------------------------------------------------------- 1 | package org.bigmouth.nvwa.cache; 2 | 3 | public interface UpdateService extends OriginalClientAware { 4 | 5 | public void update(String key, Object value); 6 | 7 | public void update(String key, Object value,int exp); 8 | 9 | public void remove(String key); 10 | 11 | public void removeAll(); 12 | 13 | public Object getOriginalClient(); 14 | 15 | } 16 | -------------------------------------------------------------------------------- /nvwa-cache/src/main/java/org/bigmouth/nvwa/cache/support/DummyNodeBuilder.java: -------------------------------------------------------------------------------- 1 | package org.bigmouth.nvwa.cache.support; 2 | 3 | import java.util.ArrayList; 4 | import java.util.List; 5 | 6 | import org.bigmouth.nvwa.cache.Node; 7 | import org.bigmouth.nvwa.cache.NodeBuilder; 8 | 9 | 10 | public class DummyNodeBuilder implements NodeBuilder { 11 | 12 | @Override 13 | public List build() { 14 | List nodes = new ArrayList(); 15 | nodes.add(new DefaultNode("localhost", 11211)); 16 | nodes.add(new DefaultNode("localhost", 11212)); 17 | return nodes; 18 | } 19 | 20 | } 21 | -------------------------------------------------------------------------------- /nvwa-cache/src/main/java/org/bigmouth/nvwa/cache/xmc/XmcMemcachedException.java: -------------------------------------------------------------------------------- 1 | package org.bigmouth.nvwa.cache.xmc; 2 | 3 | public class XmcMemcachedException extends RuntimeException { 4 | 5 | private static final long serialVersionUID = 8308020181967622094L; 6 | 7 | public XmcMemcachedException() { 8 | super(); 9 | } 10 | 11 | public XmcMemcachedException(String message, Throwable cause) { 12 | super(message, cause); 13 | } 14 | 15 | public XmcMemcachedException(String message) { 16 | super(message); 17 | } 18 | 19 | public XmcMemcachedException(Throwable cause) { 20 | super(cause); 21 | } 22 | } 23 | -------------------------------------------------------------------------------- /nvwa-cluster/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/big-mouth-cn/nvwa/6a460cf62c65ed70478a6e9ef3b5a142e8775d19/nvwa-cluster/.DS_Store -------------------------------------------------------------------------------- /nvwa-cluster/.gitignore: -------------------------------------------------------------------------------- 1 | /target/ 2 | -------------------------------------------------------------------------------- /nvwa-cluster/.settings/org.eclipse.core.resources.prefs: -------------------------------------------------------------------------------- 1 | eclipse.preferences.version=1 2 | encoding//src/main/java=UTF-8 3 | -------------------------------------------------------------------------------- /nvwa-cluster/.settings/org.eclipse.m2e.core.prefs: -------------------------------------------------------------------------------- 1 | activeProfiles= 2 | eclipse.preferences.version=1 3 | resolveWorkspaceProjects=true 4 | version=1 5 | -------------------------------------------------------------------------------- /nvwa-cluster/.settings/org.eclipse.wst.common.component: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /nvwa-cluster/.settings/org.eclipse.wst.common.project.facet.core.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /nvwa-cluster/.settings/org.eclipse.wst.validation.prefs: -------------------------------------------------------------------------------- 1 | disabled=06target 2 | eclipse.preferences.version=1 3 | -------------------------------------------------------------------------------- /nvwa-cluster/.settings/org.maven.ide.eclipse.prefs: -------------------------------------------------------------------------------- 1 | activeProfiles= 2 | eclipse.preferences.version=1 3 | fullBuildGoals=process-test-resources 4 | includeModules=false 5 | resolveWorkspaceProjects=true 6 | resourceFilterGoals=process-resources resources\:testResources 7 | skipCompilerPlugin=true 8 | version=1 9 | -------------------------------------------------------------------------------- /nvwa-cluster/src/main/java/org/bigmouth/nvwa/cluster/node/DataChangeListener.java: -------------------------------------------------------------------------------- 1 | package org.bigmouth.nvwa.cluster.node; 2 | 3 | public interface DataChangeListener { 4 | 5 | public void onDataChanged(String path, byte[] content); 6 | } 7 | -------------------------------------------------------------------------------- /nvwa-cluster/src/main/java/org/bigmouth/nvwa/cluster/node/NoSuchPathException.java: -------------------------------------------------------------------------------- 1 | package org.bigmouth.nvwa.cluster.node; 2 | 3 | public class NoSuchPathException extends RuntimeException { 4 | 5 | private static final long serialVersionUID = 1L; 6 | 7 | public NoSuchPathException() { 8 | super(); 9 | } 10 | 11 | public NoSuchPathException(String message, Throwable cause) { 12 | super(message, cause); 13 | } 14 | 15 | public NoSuchPathException(String message) { 16 | super(message); 17 | } 18 | 19 | public NoSuchPathException(Throwable cause) { 20 | super(cause); 21 | } 22 | } 23 | -------------------------------------------------------------------------------- /nvwa-cluster/src/main/java/org/bigmouth/nvwa/cluster/node/Updatable.java: -------------------------------------------------------------------------------- 1 | package org.bigmouth.nvwa.cluster.node; 2 | 3 | public interface Updatable { 4 | public void update(T data); 5 | } 6 | -------------------------------------------------------------------------------- /nvwa-cluster/src/main/java/org/bigmouth/nvwa/cluster/node/Wrapper.java: -------------------------------------------------------------------------------- 1 | package org.bigmouth.nvwa.cluster.node; 2 | 3 | import java.io.IOException; 4 | 5 | 6 | public interface Wrapper { 7 | 8 | byte[] getData(String path); 9 | 10 | byte[] getData(String path, byte[] defaultValue); 11 | 12 | boolean setData(String path, byte[] value); 13 | 14 | byte[] registerDataChangeListener(String path, DataChangeListener listener); 15 | 16 | void init() throws IOException; 17 | 18 | void destroy(); 19 | } 20 | -------------------------------------------------------------------------------- /nvwa-codec-core/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/big-mouth-cn/nvwa/6a460cf62c65ed70478a6e9ef3b5a142e8775d19/nvwa-codec-core/.DS_Store -------------------------------------------------------------------------------- /nvwa-codec-core/.gitignore: -------------------------------------------------------------------------------- 1 | /target/ 2 | -------------------------------------------------------------------------------- /nvwa-codec-core/.settings/org.eclipse.core.resources.prefs: -------------------------------------------------------------------------------- 1 | eclipse.preferences.version=1 2 | encoding//src/main/java=UTF-8 3 | encoding//src/test/java=UTF-8 4 | encoding//src/test/resources=UTF-8 5 | -------------------------------------------------------------------------------- /nvwa-codec-core/.settings/org.eclipse.jdt.core.prefs: -------------------------------------------------------------------------------- 1 | #Sun Apr 28 15:32:21 CST 2013 2 | eclipse.preferences.version=1 3 | org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled 4 | org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.6 5 | org.eclipse.jdt.core.compiler.compliance=1.6 6 | org.eclipse.jdt.core.compiler.problem.assertIdentifier=error 7 | org.eclipse.jdt.core.compiler.problem.enumIdentifier=error 8 | org.eclipse.jdt.core.compiler.problem.forbiddenReference=warning 9 | org.eclipse.jdt.core.compiler.source=1.6 10 | -------------------------------------------------------------------------------- /nvwa-codec-core/.settings/org.eclipse.m2e.core.prefs: -------------------------------------------------------------------------------- 1 | activeProfiles= 2 | eclipse.preferences.version=1 3 | resolveWorkspaceProjects=true 4 | version=1 5 | -------------------------------------------------------------------------------- /nvwa-codec-core/.settings/org.eclipse.wst.common.component: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /nvwa-codec-core/.settings/org.eclipse.wst.common.project.facet.core.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /nvwa-codec-core/.settings/org.eclipse.wst.validation.prefs: -------------------------------------------------------------------------------- 1 | disabled=06target 2 | eclipse.preferences.version=1 3 | -------------------------------------------------------------------------------- /nvwa-codec-core/.settings/org.maven.ide.eclipse.prefs: -------------------------------------------------------------------------------- 1 | #Tue Apr 26 17:30:29 CST 2016 2 | activeProfiles= 3 | eclipse.preferences.version=1 4 | fullBuildGoals=process-test-resources 5 | includeModules=false 6 | resolveWorkspaceProjects=true 7 | resourceFilterGoals=process-resources resources\:testResources 8 | skipCompilerPlugin=true 9 | version=1 10 | -------------------------------------------------------------------------------- /nvwa-codec-core/src/main/java/org/bigmouth/nvwa/codec/Codec.java: -------------------------------------------------------------------------------- 1 | package org.bigmouth.nvwa.codec; 2 | 3 | public interface Codec, A> { 4 | 5 | public R codec(T source, A additionInfo); 6 | 7 | public E getCodecProvider(); 8 | 9 | public void setCodecProvider(E codecPrivoder); 10 | 11 | public String[] getCodecKeyes(); 12 | 13 | } 14 | -------------------------------------------------------------------------------- /nvwa-codec-core/src/main/java/org/bigmouth/nvwa/codec/CodecProvider.java: -------------------------------------------------------------------------------- 1 | package org.bigmouth.nvwa.codec; 2 | 3 | import java.util.List; 4 | 5 | public interface CodecProvider, ?>> { 6 | 7 | public E lookupCodec(Class sourceClazz); 8 | 9 | public List getAllCodecs(); 10 | 11 | public void registerCodec(E codec); 12 | 13 | public void removeCodec(String codecKey); 14 | 15 | } 16 | -------------------------------------------------------------------------------- /nvwa-codec-core/src/main/java/org/bigmouth/nvwa/codec/byteorder/ByteOrder.java: -------------------------------------------------------------------------------- 1 | package org.bigmouth.nvwa.codec.byteorder; 2 | 3 | public enum ByteOrder { 4 | 5 | bigEndian, littleEndian, none; 6 | 7 | } 8 | -------------------------------------------------------------------------------- /nvwa-codec-core/src/main/java/org/bigmouth/nvwa/codec/byteorder/NumberCodec.java: -------------------------------------------------------------------------------- 1 | package org.bigmouth.nvwa.codec.byteorder; 2 | 3 | public interface NumberCodec { 4 | 5 | public byte[] short2Bytes(short value, int byteLength); 6 | 7 | public byte[] int2Bytes(int value, int byteLength); 8 | 9 | public byte[] long2Bytes(long value, int byteLength); 10 | 11 | public short bytes2Short(byte[] bytes, int byteLength); 12 | 13 | public int bytes2Int(byte[] bytes, int byteLength); 14 | 15 | public long bytes2Long(byte[] bytes, int byteLength); 16 | 17 | } 18 | -------------------------------------------------------------------------------- /nvwa-codec-core/src/main/java/org/bigmouth/nvwa/codec/byteorder/NumberCodecUtils.java: -------------------------------------------------------------------------------- 1 | package org.bigmouth.nvwa.codec.byteorder; 2 | 3 | public class NumberCodecUtils { 4 | 5 | public static NumberCodec buildBigEndianNumberCodec() { 6 | return NumberCodecFactory.fetchNumberCodec(ByteOrder.bigEndian); 7 | } 8 | 9 | public static NumberCodec buildLittleEndianNumberCodec() { 10 | return NumberCodecFactory.fetchNumberCodec(ByteOrder.littleEndian); 11 | } 12 | 13 | } 14 | -------------------------------------------------------------------------------- /nvwa-codec-core/src/main/java/org/bigmouth/nvwa/codec/error/IllegalTLVContentHandler.java: -------------------------------------------------------------------------------- 1 | package org.bigmouth.nvwa.codec.error; 2 | 3 | 4 | public interface IllegalTLVContentHandler { 5 | 6 | void handle(Object content); 7 | } 8 | -------------------------------------------------------------------------------- /nvwa-codec-core/src/main/java/org/bigmouth/nvwa/codec/jms/MessageDecoder.java: -------------------------------------------------------------------------------- 1 | package org.bigmouth.nvwa.codec.jms; 2 | 3 | import org.bigmouth.nvwa.codec.jms.bean.TLVMessageBean; 4 | 5 | 6 | public interface MessageDecoder { 7 | 8 | public TLVMessageBean decode(byte[] bytes); 9 | 10 | } 11 | -------------------------------------------------------------------------------- /nvwa-codec-core/src/main/java/org/bigmouth/nvwa/codec/jms/MessageEncoder.java: -------------------------------------------------------------------------------- 1 | package org.bigmouth.nvwa.codec.jms; 2 | 3 | import org.bigmouth.nvwa.codec.jms.bean.TLVMessageBean; 4 | 5 | 6 | public interface MessageEncoder { 7 | 8 | public byte[] encode(TLVMessageBean bean); 9 | 10 | } 11 | -------------------------------------------------------------------------------- /nvwa-codec-core/src/main/java/org/bigmouth/nvwa/codec/tlv/TLVDecoder.java: -------------------------------------------------------------------------------- 1 | package org.bigmouth.nvwa.codec.tlv; 2 | 3 | import org.bigmouth.nvwa.codec.Codec; 4 | import org.bigmouth.nvwa.codec.error.IllegalTLVContentHandler; 5 | 6 | public interface TLVDecoder extends Codec { 7 | 8 | /** 9 | * @deprecated 10 | * @return 11 | */ 12 | boolean isObjectDecoder(); 13 | 14 | void setIllegalTLVContentHandler(IllegalTLVContentHandler illegalTLVContentHandler); 15 | } 16 | -------------------------------------------------------------------------------- /nvwa-codec-core/src/main/java/org/bigmouth/nvwa/codec/tlv/TLVEncoder.java: -------------------------------------------------------------------------------- 1 | package org.bigmouth.nvwa.codec.tlv; 2 | 3 | import java.util.List; 4 | 5 | import org.bigmouth.nvwa.codec.Codec; 6 | 7 | 8 | public interface TLVEncoder extends 9 | Codec, TLVEncoderProvider, Object> { 10 | 11 | } 12 | -------------------------------------------------------------------------------- /nvwa-codec-core/src/main/java/org/bigmouth/nvwa/codec/tlv/TLVEncoderProvider.java: -------------------------------------------------------------------------------- 1 | package org.bigmouth.nvwa.codec.tlv; 2 | 3 | import org.bigmouth.nvwa.codec.CodecProvider; 4 | import org.bigmouth.nvwa.codec.byteorder.ByteOrder; 5 | 6 | public interface TLVEncoderProvider extends CodecProvider> { 7 | 8 | public TLVConfig getTlvConfig(); 9 | 10 | public int getIntByteLen(); 11 | 12 | public void setIntByteLen(int byteLen); 13 | 14 | public ByteOrder getByteOrder(); 15 | 16 | public void setByteOrder(ByteOrder byteOrder); 17 | 18 | public TLVEncoder getObjectEncoder(); 19 | 20 | } 21 | -------------------------------------------------------------------------------- /nvwa-codec-core/src/main/java/org/bigmouth/nvwa/codec/tlv/TLVUtils.java: -------------------------------------------------------------------------------- 1 | package org.bigmouth.nvwa.codec.tlv; 2 | 3 | 4 | public class TLVUtils { 5 | 6 | private TLVUtils() { 7 | } 8 | 9 | } 10 | -------------------------------------------------------------------------------- /nvwa-codec-core/src/main/java/org/bigmouth/nvwa/codec/tlv/encoders/TLVFieldNameFilter.java: -------------------------------------------------------------------------------- 1 | package org.bigmouth.nvwa.codec.tlv.encoders; 2 | 3 | public interface TLVFieldNameFilter { 4 | 5 | boolean accept(String fieldName); 6 | 7 | } 8 | -------------------------------------------------------------------------------- /nvwa-codec-core/src/test/java/org/bigmouth/nvwa/codec/TestBean.java: -------------------------------------------------------------------------------- 1 | package org.bigmouth.nvwa.codec; 2 | 3 | import org.bigmouth.nvwa.codec.tlv.annotation.TLVAttribute; 4 | 5 | public class TestBean { 6 | 7 | @TLVAttribute(tag = 1,ignoreTagLen=true,byteLen=2) 8 | private int id; 9 | 10 | @TLVAttribute(tag = 2) 11 | private String name; 12 | 13 | public int getId() { 14 | return id; 15 | } 16 | 17 | public void setId(int id) { 18 | this.id = id; 19 | } 20 | 21 | public String getName() { 22 | return name; 23 | } 24 | 25 | public void setName(String name) { 26 | this.name = name; 27 | } 28 | 29 | 30 | } 31 | -------------------------------------------------------------------------------- /nvwa-codec-core/src/test/java/org/bigmouth/nvwa/codec/tlv/decoders/bean/Bean1.java: -------------------------------------------------------------------------------- 1 | package org.bigmouth.nvwa.codec.tlv.decoders.bean; 2 | 3 | import org.bigmouth.nvwa.codec.tlv.annotation.TLVAttribute; 4 | 5 | public class Bean1 { 6 | 7 | @TLVAttribute(tag = 1) 8 | private String v; 9 | 10 | public String getV() { 11 | return v; 12 | } 13 | 14 | public void setV(String v) { 15 | this.v = v; 16 | } 17 | } 18 | -------------------------------------------------------------------------------- /nvwa-codec-core/src/test/resources/log4j.properties: -------------------------------------------------------------------------------- 1 | # For JBoss: Avoid to setup Log4J outside $JBOSS_HOME/server/default/deploy/log4j.xml! 2 | # For all other servers: Comment out the Log4J listener in web.xml to activate Log4J. 3 | log4j.rootLogger=DEBUG, stdout 4 | 5 | log4j.appender.stdout=org.apache.log4j.ConsoleAppender 6 | log4j.appender.stdout.layout=org.apache.log4j.PatternLayout 7 | log4j.appender.stdout.layout.ConversionPattern=%d{yyyy-MM-dd HH:mm:ss,SSS} %5p [%t] (%F:%L) - %m%n 8 | log4j.appender.stdout.Encoding=UTF-8 9 | -------------------------------------------------------------------------------- /nvwa-contentstore/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/big-mouth-cn/nvwa/6a460cf62c65ed70478a6e9ef3b5a142e8775d19/nvwa-contentstore/.DS_Store -------------------------------------------------------------------------------- /nvwa-contentstore/.gitignore: -------------------------------------------------------------------------------- 1 | /target/ 2 | -------------------------------------------------------------------------------- /nvwa-contentstore/.settings/org.eclipse.core.resources.prefs: -------------------------------------------------------------------------------- 1 | eclipse.preferences.version=1 2 | encoding//src/main/java=UTF-8 3 | -------------------------------------------------------------------------------- /nvwa-contentstore/.settings/org.eclipse.jdt.core.prefs: -------------------------------------------------------------------------------- 1 | #Fri May 10 11:29:53 CST 2013 2 | eclipse.preferences.version=1 3 | org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled 4 | org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.6 5 | org.eclipse.jdt.core.compiler.compliance=1.6 6 | org.eclipse.jdt.core.compiler.problem.assertIdentifier=error 7 | org.eclipse.jdt.core.compiler.problem.enumIdentifier=error 8 | org.eclipse.jdt.core.compiler.problem.forbiddenReference=warning 9 | org.eclipse.jdt.core.compiler.source=1.6 10 | -------------------------------------------------------------------------------- /nvwa-contentstore/.settings/org.eclipse.m2e.core.prefs: -------------------------------------------------------------------------------- 1 | activeProfiles= 2 | eclipse.preferences.version=1 3 | resolveWorkspaceProjects=true 4 | version=1 5 | -------------------------------------------------------------------------------- /nvwa-contentstore/.settings/org.eclipse.wst.common.component: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /nvwa-contentstore/.settings/org.eclipse.wst.common.project.facet.core.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /nvwa-contentstore/.settings/org.eclipse.wst.validation.prefs: -------------------------------------------------------------------------------- 1 | disabled=06target 2 | eclipse.preferences.version=1 3 | -------------------------------------------------------------------------------- /nvwa-contentstore/.settings/org.maven.ide.eclipse.prefs: -------------------------------------------------------------------------------- 1 | #Tue Apr 26 17:30:29 CST 2016 2 | activeProfiles= 3 | eclipse.preferences.version=1 4 | fullBuildGoals=process-test-resources 5 | includeModules=false 6 | resolveWorkspaceProjects=true 7 | resourceFilterGoals=process-resources resources\:testResources 8 | skipCompilerPlugin=true 9 | version=1 10 | -------------------------------------------------------------------------------- /nvwa-contentstore/src/main/java/org/bigmouth/nvwa/contentstore/ContentStore.java: -------------------------------------------------------------------------------- 1 | /** 2 | * 3 | */ 4 | package org.bigmouth.nvwa.contentstore; 5 | 6 | import java.util.List; 7 | 8 | /** 9 | * @author hp 10 | * 11 | * from skymobi base architecture 12 | */ 13 | public interface ContentStore { 14 | 15 | public List getKeys(); 16 | 17 | public String store(byte[] content); 18 | 19 | public byte[] fetch(String key); 20 | 21 | public boolean remove(String key); 22 | 23 | public boolean contains(String key); 24 | } 25 | -------------------------------------------------------------------------------- /nvwa-contentstore/src/main/java/org/bigmouth/nvwa/contentstore/redis/codec/BeanCodecFactory.java: -------------------------------------------------------------------------------- 1 | package org.bigmouth.nvwa.contentstore.redis.codec; 2 | 3 | public interface BeanCodecFactory { 4 | 5 | BeanEncoder getEncoder(); 6 | 7 | BeanDecoder getDecoder(); 8 | } 9 | -------------------------------------------------------------------------------- /nvwa-contentstore/src/main/java/org/bigmouth/nvwa/contentstore/redis/codec/BeanDecoder.java: -------------------------------------------------------------------------------- 1 | package org.bigmouth.nvwa.contentstore.redis.codec; 2 | 3 | public interface BeanDecoder { 4 | 5 | T decode(byte[] bytes, Class template) throws BeanDecodeException; 6 | } 7 | -------------------------------------------------------------------------------- /nvwa-contentstore/src/main/java/org/bigmouth/nvwa/contentstore/redis/codec/BeanEncoder.java: -------------------------------------------------------------------------------- 1 | package org.bigmouth.nvwa.contentstore.redis.codec; 2 | 3 | public interface BeanEncoder { 4 | 5 | byte[] encode(Object bean) throws BeanEncodeException; 6 | } 7 | -------------------------------------------------------------------------------- /nvwa-contentstore/src/main/java/org/bigmouth/nvwa/contentstore/redis/jedis/BinaryClientPoolFactory.java: -------------------------------------------------------------------------------- 1 | package org.bigmouth.nvwa.contentstore.redis.jedis; 2 | 3 | import redis.clients.jedis.BinaryJedis; 4 | import redis.clients.util.Pool; 5 | 6 | public interface BinaryClientPoolFactory { 7 | 8 | Pool create(); 9 | } 10 | -------------------------------------------------------------------------------- /nvwa-distributed/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/big-mouth-cn/nvwa/6a460cf62c65ed70478a6e9ef3b5a142e8775d19/nvwa-distributed/.DS_Store -------------------------------------------------------------------------------- /nvwa-distributed/.gitignore: -------------------------------------------------------------------------------- 1 | /target/ 2 | -------------------------------------------------------------------------------- /nvwa-distributed/.settings/org.eclipse.core.resources.prefs: -------------------------------------------------------------------------------- 1 | eclipse.preferences.version=1 2 | encoding//src/main/java=UTF-8 3 | -------------------------------------------------------------------------------- /nvwa-distributed/.settings/org.eclipse.m2e.core.prefs: -------------------------------------------------------------------------------- 1 | activeProfiles= 2 | eclipse.preferences.version=1 3 | resolveWorkspaceProjects=true 4 | version=1 5 | -------------------------------------------------------------------------------- /nvwa-distributed/.settings/org.eclipse.wst.common.component: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /nvwa-distributed/.settings/org.eclipse.wst.common.project.facet.core.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /nvwa-distributed/.settings/org.eclipse.wst.validation.prefs: -------------------------------------------------------------------------------- 1 | disabled=06target 2 | eclipse.preferences.version=1 3 | -------------------------------------------------------------------------------- /nvwa-distributed/.settings/org.maven.ide.eclipse.prefs: -------------------------------------------------------------------------------- 1 | #Tue Apr 26 17:52:50 CST 2016 2 | activeProfiles= 3 | eclipse.preferences.version=1 4 | fullBuildGoals=process-test-resources 5 | includeModules=false 6 | resolveWorkspaceProjects=true 7 | resourceFilterGoals=process-resources resources\:testResources 8 | skipCompilerPlugin=true 9 | version=1 10 | -------------------------------------------------------------------------------- /nvwa-distributed/bin/org/bigmouth/nvwa/distributed/Endpoint.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/big-mouth-cn/nvwa/6a460cf62c65ed70478a6e9ef3b5a142e8775d19/nvwa-distributed/bin/org/bigmouth/nvwa/distributed/Endpoint.class -------------------------------------------------------------------------------- /nvwa-distributed/bin/org/bigmouth/nvwa/distributed/EndpointKeyHost.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/big-mouth-cn/nvwa/6a460cf62c65ed70478a6e9ef3b5a142e8775d19/nvwa-distributed/bin/org/bigmouth/nvwa/distributed/EndpointKeyHost.class -------------------------------------------------------------------------------- /nvwa-distributed/bin/org/bigmouth/nvwa/distributed/EndpointRegistrar.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/big-mouth-cn/nvwa/6a460cf62c65ed70478a6e9ef3b5a142e8775d19/nvwa-distributed/bin/org/bigmouth/nvwa/distributed/EndpointRegistrar.class -------------------------------------------------------------------------------- /nvwa-distributed/bin/org/bigmouth/nvwa/distributed/jmx/EndpointRegistrarMBean.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/big-mouth-cn/nvwa/6a460cf62c65ed70478a6e9ef3b5a142e8775d19/nvwa-distributed/bin/org/bigmouth/nvwa/distributed/jmx/EndpointRegistrarMBean.class -------------------------------------------------------------------------------- /nvwa-distributed/bin/org/bigmouth/nvwa/distributed/monitor/ChangeListener.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/big-mouth-cn/nvwa/6a460cf62c65ed70478a6e9ef3b5a142e8775d19/nvwa-distributed/bin/org/bigmouth/nvwa/distributed/monitor/ChangeListener.class -------------------------------------------------------------------------------- /nvwa-distributed/bin/org/bigmouth/nvwa/distributed/monitor/ChangeMonitor.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/big-mouth-cn/nvwa/6a460cf62c65ed70478a6e9ef3b5a142e8775d19/nvwa-distributed/bin/org/bigmouth/nvwa/distributed/monitor/ChangeMonitor.class -------------------------------------------------------------------------------- /nvwa-distributed/bin/org/bigmouth/nvwa/distributed/monitor/ChildrenChange.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/big-mouth-cn/nvwa/6a460cf62c65ed70478a6e9ef3b5a142e8775d19/nvwa-distributed/bin/org/bigmouth/nvwa/distributed/monitor/ChildrenChange.class -------------------------------------------------------------------------------- /nvwa-distributed/bin/org/bigmouth/nvwa/distributed/monitor/ChildrenChangeEvent$EventType.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/big-mouth-cn/nvwa/6a460cf62c65ed70478a6e9ef3b5a142e8775d19/nvwa-distributed/bin/org/bigmouth/nvwa/distributed/monitor/ChildrenChangeEvent$EventType.class -------------------------------------------------------------------------------- /nvwa-distributed/bin/org/bigmouth/nvwa/distributed/monitor/ChildrenChangeEvent.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/big-mouth-cn/nvwa/6a460cf62c65ed70478a6e9ef3b5a142e8775d19/nvwa-distributed/bin/org/bigmouth/nvwa/distributed/monitor/ChildrenChangeEvent.class -------------------------------------------------------------------------------- /nvwa-distributed/bin/org/bigmouth/nvwa/distributed/monitor/ChildrenChangeListener.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/big-mouth-cn/nvwa/6a460cf62c65ed70478a6e9ef3b5a142e8775d19/nvwa-distributed/bin/org/bigmouth/nvwa/distributed/monitor/ChildrenChangeListener.class -------------------------------------------------------------------------------- /nvwa-distributed/bin/org/bigmouth/nvwa/distributed/monitor/ChildrenMonitor.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/big-mouth-cn/nvwa/6a460cf62c65ed70478a6e9ef3b5a142e8775d19/nvwa-distributed/bin/org/bigmouth/nvwa/distributed/monitor/ChildrenMonitor.class -------------------------------------------------------------------------------- /nvwa-distributed/bin/org/bigmouth/nvwa/distributed/monitor/DataChangeEvent.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/big-mouth-cn/nvwa/6a460cf62c65ed70478a6e9ef3b5a142e8775d19/nvwa-distributed/bin/org/bigmouth/nvwa/distributed/monitor/DataChangeEvent.class -------------------------------------------------------------------------------- /nvwa-distributed/bin/org/bigmouth/nvwa/distributed/monitor/DataChangeListener.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/big-mouth-cn/nvwa/6a460cf62c65ed70478a6e9ef3b5a142e8775d19/nvwa-distributed/bin/org/bigmouth/nvwa/distributed/monitor/DataChangeListener.class -------------------------------------------------------------------------------- /nvwa-distributed/bin/org/bigmouth/nvwa/distributed/monitor/DataDetector.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/big-mouth-cn/nvwa/6a460cf62c65ed70478a6e9ef3b5a142e8775d19/nvwa-distributed/bin/org/bigmouth/nvwa/distributed/monitor/DataDetector.class -------------------------------------------------------------------------------- /nvwa-distributed/bin/org/bigmouth/nvwa/distributed/monitor/NoSuchPathException.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/big-mouth-cn/nvwa/6a460cf62c65ed70478a6e9ef3b5a142e8775d19/nvwa-distributed/bin/org/bigmouth/nvwa/distributed/monitor/NoSuchPathException.class -------------------------------------------------------------------------------- /nvwa-distributed/bin/org/bigmouth/nvwa/distributed/monitor/SubPathChangeEvent$SubEventType.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/big-mouth-cn/nvwa/6a460cf62c65ed70478a6e9ef3b5a142e8775d19/nvwa-distributed/bin/org/bigmouth/nvwa/distributed/monitor/SubPathChangeEvent$SubEventType.class -------------------------------------------------------------------------------- /nvwa-distributed/bin/org/bigmouth/nvwa/distributed/monitor/SubPathChangeEvent.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/big-mouth-cn/nvwa/6a460cf62c65ed70478a6e9ef3b5a142e8775d19/nvwa-distributed/bin/org/bigmouth/nvwa/distributed/monitor/SubPathChangeEvent.class -------------------------------------------------------------------------------- /nvwa-distributed/bin/org/bigmouth/nvwa/distributed/monitor/SubPathChangeListener.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/big-mouth-cn/nvwa/6a460cf62c65ed70478a6e9ef3b5a142e8775d19/nvwa-distributed/bin/org/bigmouth/nvwa/distributed/monitor/SubPathChangeListener.class -------------------------------------------------------------------------------- /nvwa-distributed/bin/org/bigmouth/nvwa/distributed/monitor/Updatable.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/big-mouth-cn/nvwa/6a460cf62c65ed70478a6e9ef3b5a142e8775d19/nvwa-distributed/bin/org/bigmouth/nvwa/distributed/monitor/Updatable.class -------------------------------------------------------------------------------- /nvwa-distributed/bin/org/bigmouth/nvwa/distributed/monitor/zk/CuratorChangeMonitor.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/big-mouth-cn/nvwa/6a460cf62c65ed70478a6e9ef3b5a142e8775d19/nvwa-distributed/bin/org/bigmouth/nvwa/distributed/monitor/zk/CuratorChangeMonitor.class -------------------------------------------------------------------------------- /nvwa-distributed/bin/org/bigmouth/nvwa/distributed/monitor/zk/CuratorChildrenMonitor.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/big-mouth-cn/nvwa/6a460cf62c65ed70478a6e9ef3b5a142e8775d19/nvwa-distributed/bin/org/bigmouth/nvwa/distributed/monitor/zk/CuratorChildrenMonitor.class -------------------------------------------------------------------------------- /nvwa-distributed/bin/org/bigmouth/nvwa/distributed/monitor/zk/NativeChangeMonitor.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/big-mouth-cn/nvwa/6a460cf62c65ed70478a6e9ef3b5a142e8775d19/nvwa-distributed/bin/org/bigmouth/nvwa/distributed/monitor/zk/NativeChangeMonitor.class -------------------------------------------------------------------------------- /nvwa-distributed/bin/org/bigmouth/nvwa/distributed/notify/Notifier.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/big-mouth-cn/nvwa/6a460cf62c65ed70478a6e9ef3b5a142e8775d19/nvwa-distributed/bin/org/bigmouth/nvwa/distributed/notify/Notifier.class -------------------------------------------------------------------------------- /nvwa-distributed/bin/org/bigmouth/nvwa/distributed/notify/zk/CuratorNotifier.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/big-mouth-cn/nvwa/6a460cf62c65ed70478a6e9ef3b5a142e8775d19/nvwa-distributed/bin/org/bigmouth/nvwa/distributed/notify/zk/CuratorNotifier.class -------------------------------------------------------------------------------- /nvwa-distributed/src/main/java/org/bigmouth/nvwa/distributed/jmx/EndpointRegistrarMBean.java: -------------------------------------------------------------------------------- 1 | package org.bigmouth.nvwa.distributed.jmx; 2 | 3 | public interface EndpointRegistrarMBean { 4 | 5 | public String getDesc(); 6 | 7 | public void setWeights(int weights); 8 | 9 | public int getWeights(); 10 | } 11 | -------------------------------------------------------------------------------- /nvwa-distributed/src/main/java/org/bigmouth/nvwa/distributed/monitor/ChangeListener.java: -------------------------------------------------------------------------------- 1 | package org.bigmouth.nvwa.distributed.monitor; 2 | 3 | import java.util.EventListener; 4 | 5 | public interface ChangeListener extends EventListener { 6 | 7 | public void onChanged(E event); 8 | } 9 | -------------------------------------------------------------------------------- /nvwa-distributed/src/main/java/org/bigmouth/nvwa/distributed/monitor/ChildrenChange.java: -------------------------------------------------------------------------------- 1 | package org.bigmouth.nvwa.distributed.monitor; 2 | 3 | 4 | public interface ChildrenChange { 5 | 6 | void add(String path, byte[] data); 7 | 8 | void update(String path, byte[] data); 9 | 10 | void remove(String path, byte[] data); 11 | } 12 | -------------------------------------------------------------------------------- /nvwa-distributed/src/main/java/org/bigmouth/nvwa/distributed/monitor/ChildrenMonitor.java: -------------------------------------------------------------------------------- 1 | package org.bigmouth.nvwa.distributed.monitor; 2 | 3 | 4 | 5 | public interface ChildrenMonitor { 6 | 7 | void addListener(ChildrenChangeListener listener); 8 | } 9 | -------------------------------------------------------------------------------- /nvwa-distributed/src/main/java/org/bigmouth/nvwa/distributed/monitor/DataChangeListener.java: -------------------------------------------------------------------------------- 1 | package org.bigmouth.nvwa.distributed.monitor; 2 | 3 | 4 | public interface DataChangeListener extends ChangeListener { 5 | 6 | } 7 | -------------------------------------------------------------------------------- /nvwa-distributed/src/main/java/org/bigmouth/nvwa/distributed/monitor/NoSuchPathException.java: -------------------------------------------------------------------------------- 1 | package org.bigmouth.nvwa.distributed.monitor; 2 | 3 | public class NoSuchPathException extends RuntimeException { 4 | 5 | private static final long serialVersionUID = 1L; 6 | 7 | public NoSuchPathException() { 8 | super(); 9 | } 10 | 11 | public NoSuchPathException(String message, Throwable cause) { 12 | super(message, cause); 13 | } 14 | 15 | public NoSuchPathException(String message) { 16 | super(message); 17 | } 18 | 19 | public NoSuchPathException(Throwable cause) { 20 | super(cause); 21 | } 22 | } 23 | -------------------------------------------------------------------------------- /nvwa-distributed/src/main/java/org/bigmouth/nvwa/distributed/monitor/SubPathChangeListener.java: -------------------------------------------------------------------------------- 1 | package org.bigmouth.nvwa.distributed.monitor; 2 | 3 | public interface SubPathChangeListener extends ChangeListener { 4 | 5 | } 6 | -------------------------------------------------------------------------------- /nvwa-distributed/src/main/java/org/bigmouth/nvwa/distributed/monitor/Updatable.java: -------------------------------------------------------------------------------- 1 | package org.bigmouth.nvwa.distributed.monitor; 2 | 3 | public interface Updatable { 4 | public void update(T data); 5 | } 6 | -------------------------------------------------------------------------------- /nvwa-distributed/src/main/java/org/bigmouth/nvwa/distributed/notify/Notifier.java: -------------------------------------------------------------------------------- 1 | package org.bigmouth.nvwa.distributed.notify; 2 | 3 | public interface Notifier { 4 | 5 | void notifyPathUpdate(String path, byte[] message); 6 | 7 | void notifyPathAdded(String path, byte[] message); 8 | 9 | void notifyPathRemoved(String path); 10 | } 11 | -------------------------------------------------------------------------------- /nvwa-dpl/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/big-mouth-cn/nvwa/6a460cf62c65ed70478a6e9ef3b5a142e8775d19/nvwa-dpl/.DS_Store -------------------------------------------------------------------------------- /nvwa-dpl/.gitignore: -------------------------------------------------------------------------------- 1 | /target/ 2 | -------------------------------------------------------------------------------- /nvwa-dpl/.settings/org.eclipse.core.resources.prefs: -------------------------------------------------------------------------------- 1 | eclipse.preferences.version=1 2 | encoding//src/main/java=UTF-8 3 | encoding//src/main/resources=UTF-8 4 | encoding//src/test/java=UTF-8 5 | encoding//src/test/resources=UTF-8 6 | -------------------------------------------------------------------------------- /nvwa-dpl/.settings/org.eclipse.m2e.core.prefs: -------------------------------------------------------------------------------- 1 | activeProfiles= 2 | eclipse.preferences.version=1 3 | resolveWorkspaceProjects=true 4 | version=1 5 | -------------------------------------------------------------------------------- /nvwa-dpl/.settings/org.eclipse.wst.common.component: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | -------------------------------------------------------------------------------- /nvwa-dpl/.settings/org.eclipse.wst.common.project.facet.core.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /nvwa-dpl/.settings/org.eclipse.wst.validation.prefs: -------------------------------------------------------------------------------- 1 | disabled=06target 2 | eclipse.preferences.version=1 3 | -------------------------------------------------------------------------------- /nvwa-dpl/.settings/org.maven.ide.eclipse.prefs: -------------------------------------------------------------------------------- 1 | #Tue Apr 26 17:30:10 CST 2016 2 | activeProfiles= 3 | eclipse.preferences.version=1 4 | fullBuildGoals=process-test-resources 5 | includeModules=false 6 | resolveWorkspaceProjects=true 7 | resourceFilterGoals=process-resources resources\:testResources 8 | skipCompilerPlugin=true 9 | version=1 10 | -------------------------------------------------------------------------------- /nvwa-dpl/src/main/java/org/bigmouth/nvwa/dpl/ClassLoaderHolder.java: -------------------------------------------------------------------------------- 1 | package org.bigmouth.nvwa.dpl; 2 | 3 | public interface ClassLoaderHolder { 4 | 5 | void setClassLoader(ClassLoader classloader); 6 | 7 | ClassLoader getClassLoader(); 8 | } 9 | -------------------------------------------------------------------------------- /nvwa-dpl/src/main/java/org/bigmouth/nvwa/dpl/Config.java: -------------------------------------------------------------------------------- 1 | package org.bigmouth.nvwa.dpl; 2 | 3 | public interface Config { 4 | 5 | public String getKey(); 6 | 7 | public String getName(); 8 | 9 | public String getDesc(); 10 | } 11 | -------------------------------------------------------------------------------- /nvwa-dpl/src/main/java/org/bigmouth/nvwa/dpl/LifeCycle.java: -------------------------------------------------------------------------------- 1 | package org.bigmouth.nvwa.dpl; 2 | 3 | import java.util.Iterator; 4 | 5 | import org.bigmouth.nvwa.dpl.event.listener.LifeCycleListener; 6 | import org.bigmouth.nvwa.dpl.status.Status; 7 | 8 | 9 | public interface LifeCycle { 10 | 11 | void init(); 12 | 13 | void destroy(); 14 | 15 | C getConfig(); 16 | 17 | Status getStatus(); 18 | 19 | Iterator getAllEventListener(); 20 | } 21 | -------------------------------------------------------------------------------- /nvwa-dpl/src/main/java/org/bigmouth/nvwa/dpl/MutableLifeCycle.java: -------------------------------------------------------------------------------- 1 | package org.bigmouth.nvwa.dpl; 2 | 3 | import java.util.List; 4 | 5 | import org.bigmouth.nvwa.dpl.event.listener.LifeCycleListener; 6 | import org.bigmouth.nvwa.dpl.status.Status; 7 | 8 | 9 | public interface MutableLifeCycle extends 10 | LifeCycle { 11 | 12 | void setConfig(C config); 13 | 14 | void setStatus(Status status); 15 | 16 | void addEventListener(L listener); 17 | 18 | void addEventListeners(List listeners); 19 | 20 | void clearEventListeners(); 21 | } 22 | -------------------------------------------------------------------------------- /nvwa-dpl/src/main/java/org/bigmouth/nvwa/dpl/PlugInServiceController.java: -------------------------------------------------------------------------------- 1 | package org.bigmouth.nvwa.dpl; 2 | 3 | import java.util.List; 4 | 5 | public interface PlugInServiceController { 6 | 7 | List getAllPlugInsDesc(); 8 | 9 | /** 10 | * Active PlugIn,and active all service which belongs to this PlugIn. 11 | * 12 | * @param plugInCode 13 | */ 14 | void activePlugIn(String plugInKey); 15 | 16 | void deActivePlugIn(String plugInKey); 17 | 18 | void activeService(String plugInKey, String serviceKey); 19 | 20 | void deActiveService(String plugInKey, String serviceKey); 21 | } 22 | -------------------------------------------------------------------------------- /nvwa-dpl/src/main/java/org/bigmouth/nvwa/dpl/VarArgsClosure.java: -------------------------------------------------------------------------------- 1 | package org.bigmouth.nvwa.dpl; 2 | 3 | public interface VarArgsClosure { 4 | 5 | void execute(Object... arguments); 6 | } 7 | -------------------------------------------------------------------------------- /nvwa-dpl/src/main/java/org/bigmouth/nvwa/dpl/VarArgsFunctor.java: -------------------------------------------------------------------------------- 1 | package org.bigmouth.nvwa.dpl; 2 | 3 | public interface VarArgsFunctor { 4 | 5 | Object execute(Object... arguments); 6 | } 7 | -------------------------------------------------------------------------------- /nvwa-dpl/src/main/java/org/bigmouth/nvwa/dpl/event/ActivedEvent.java: -------------------------------------------------------------------------------- 1 | package org.bigmouth.nvwa.dpl.event; 2 | 3 | public class ActivedEvent extends LifeCycleEvent { 4 | 5 | private static final long serialVersionUID = 1L; 6 | 7 | public ActivedEvent(Object source) { 8 | super(source); 9 | } 10 | } 11 | -------------------------------------------------------------------------------- /nvwa-dpl/src/main/java/org/bigmouth/nvwa/dpl/event/AfterExecutionFiredEvent.java: -------------------------------------------------------------------------------- 1 | package org.bigmouth.nvwa.dpl.event; 2 | 3 | public class AfterExecutionFiredEvent extends ExecutionEvent { 4 | 5 | private static final long serialVersionUID = 1L; 6 | 7 | public AfterExecutionFiredEvent(Object source, Object... executeStatus) { 8 | super(source, executeStatus); 9 | } 10 | } 11 | -------------------------------------------------------------------------------- /nvwa-dpl/src/main/java/org/bigmouth/nvwa/dpl/event/BeforeExecutionFiredEvent.java: -------------------------------------------------------------------------------- 1 | package org.bigmouth.nvwa.dpl.event; 2 | 3 | public class BeforeExecutionFiredEvent extends ExecutionEvent { 4 | 5 | private static final long serialVersionUID = 1L; 6 | 7 | public BeforeExecutionFiredEvent(Object source, Object... executeStatus) { 8 | super(source, executeStatus); 9 | } 10 | } 11 | -------------------------------------------------------------------------------- /nvwa-dpl/src/main/java/org/bigmouth/nvwa/dpl/event/CreatedEvent.java: -------------------------------------------------------------------------------- 1 | package org.bigmouth.nvwa.dpl.event; 2 | 3 | public class CreatedEvent extends LifeCycleEvent { 4 | 5 | private static final long serialVersionUID = 1L; 6 | 7 | public CreatedEvent(Object source) { 8 | super(source); 9 | } 10 | } 11 | -------------------------------------------------------------------------------- /nvwa-dpl/src/main/java/org/bigmouth/nvwa/dpl/event/DeActivedEvent.java: -------------------------------------------------------------------------------- 1 | package org.bigmouth.nvwa.dpl.event; 2 | 3 | public class DeActivedEvent extends LifeCycleEvent { 4 | 5 | private static final long serialVersionUID = 1L; 6 | 7 | public DeActivedEvent(Object source) { 8 | super(source); 9 | } 10 | } 11 | -------------------------------------------------------------------------------- /nvwa-dpl/src/main/java/org/bigmouth/nvwa/dpl/event/DestroyedEvent.java: -------------------------------------------------------------------------------- 1 | package org.bigmouth.nvwa.dpl.event; 2 | 3 | public class DestroyedEvent extends LifeCycleEvent { 4 | 5 | private static final long serialVersionUID = 1L; 6 | 7 | public DestroyedEvent(Object source) { 8 | super(source); 9 | } 10 | } 11 | -------------------------------------------------------------------------------- /nvwa-dpl/src/main/java/org/bigmouth/nvwa/dpl/event/EventCategory.java: -------------------------------------------------------------------------------- 1 | package org.bigmouth.nvwa.dpl.event; 2 | 3 | public enum EventCategory { 4 | 5 | PLUGIN, SERVICE; 6 | 7 | public boolean isPlugInEvent() { 8 | return this == PLUGIN; 9 | } 10 | 11 | public boolean isServiceEvent() { 12 | return this == SERVICE; 13 | } 14 | } 15 | -------------------------------------------------------------------------------- /nvwa-dpl/src/main/java/org/bigmouth/nvwa/dpl/event/ExecutionFailedEvent.java: -------------------------------------------------------------------------------- 1 | package org.bigmouth.nvwa.dpl.event; 2 | 3 | public class ExecutionFailedEvent extends ExecutionEvent { 4 | 5 | private static final long serialVersionUID = 1L; 6 | 7 | private final Throwable cause; 8 | 9 | public ExecutionFailedEvent(Object source, Throwable cause, Object... executeStatus) { 10 | super(source, executeStatus); 11 | this.cause = cause; 12 | } 13 | 14 | public Throwable getCause() { 15 | return cause; 16 | } 17 | } 18 | -------------------------------------------------------------------------------- /nvwa-dpl/src/main/java/org/bigmouth/nvwa/dpl/event/listener/ReviseContextClassLoaderPlugInListener.java: -------------------------------------------------------------------------------- 1 | package org.bigmouth.nvwa.dpl.event.listener; 2 | 3 | import org.bigmouth.nvwa.dpl.ClassLoaderHolder; 4 | 5 | public class ReviseContextClassLoaderPlugInListener extends 6 | ReviseContextClassLoaderListener implements PlugInListener { 7 | 8 | public ReviseContextClassLoaderPlugInListener(ClassLoaderHolder classLoaderHolder, 9 | PlugInListener listener) { 10 | super(classLoaderHolder, listener); 11 | } 12 | } 13 | -------------------------------------------------------------------------------- /nvwa-dpl/src/main/java/org/bigmouth/nvwa/dpl/factory/PlugInDiscover.java: -------------------------------------------------------------------------------- 1 | package org.bigmouth.nvwa.dpl.factory; 2 | 3 | import org.bigmouth.nvwa.dpl.hotswap.PlugInClassLoader; 4 | import org.bigmouth.nvwa.dpl.plugin.PlugIn; 5 | 6 | public interface PlugInDiscover { 7 | 8 | PlugIn discover(PlugInClassLoader classloader);// TODO:define discover 9 | // exception? 10 | } 11 | -------------------------------------------------------------------------------- /nvwa-dpl/src/main/java/org/bigmouth/nvwa/dpl/factory/PlugInFactory.java: -------------------------------------------------------------------------------- 1 | package org.bigmouth.nvwa.dpl.factory; 2 | 3 | import org.bigmouth.nvwa.dpl.plugin.PlugIn; 4 | 5 | public interface PlugInFactory { 6 | 7 | PlugIn create(); 8 | } 9 | -------------------------------------------------------------------------------- /nvwa-dpl/src/main/java/org/bigmouth/nvwa/dpl/hotswap/ClassFilter.java: -------------------------------------------------------------------------------- 1 | package org.bigmouth.nvwa.dpl.hotswap; 2 | 3 | public interface ClassFilter { 4 | 5 | public static final ClassFilter DEFAULT = new ClassFilter() { 6 | 7 | @Override 8 | public boolean accept(Class clazz) { 9 | return true; 10 | } 11 | }; 12 | 13 | boolean accept(Class clazz); 14 | } 15 | -------------------------------------------------------------------------------- /nvwa-dpl/src/main/java/org/bigmouth/nvwa/dpl/hotswap/ResourceFilter.java: -------------------------------------------------------------------------------- 1 | package org.bigmouth.nvwa.dpl.hotswap; 2 | 3 | public interface ResourceFilter { 4 | 5 | public static final ResourceFilter DEFAULT = new ResourceFilter() { 6 | 7 | @Override 8 | public boolean accept(String name) { 9 | return true; 10 | } 11 | }; 12 | 13 | boolean accept(String name); 14 | } 15 | -------------------------------------------------------------------------------- /nvwa-dpl/src/main/java/org/bigmouth/nvwa/dpl/jmx/PlugInMBean.java: -------------------------------------------------------------------------------- 1 | package org.bigmouth.nvwa.dpl.jmx; 2 | 3 | import org.bigmouth.nvwa.dpl.plugin.PlugIn; 4 | import org.bigmouth.nvwa.jmx.model.GenericModelMBean; 5 | 6 | 7 | public class PlugInMBean extends GenericModelMBean { 8 | 9 | public PlugInMBean(PlugIn source) { 10 | super(source); 11 | // TODO Auto-generated constructor stub 12 | } 13 | 14 | } 15 | -------------------------------------------------------------------------------- /nvwa-dpl/src/main/java/org/bigmouth/nvwa/dpl/jmx/ServiceStatisticsMBean.java: -------------------------------------------------------------------------------- 1 | package org.bigmouth.nvwa.dpl.jmx; 2 | 3 | import org.bigmouth.nvwa.dpl.service.ServiceStatistics; 4 | import org.bigmouth.nvwa.jmx.model.GenericModelMBean; 5 | 6 | 7 | public class ServiceStatisticsMBean extends GenericModelMBean { 8 | 9 | public ServiceStatisticsMBean(ServiceStatistics source) { 10 | super(source); 11 | } 12 | 13 | @Override 14 | protected boolean isOperation(String methodName, Class[] paramTypes) { 15 | return false; 16 | } 17 | } 18 | -------------------------------------------------------------------------------- /nvwa-dpl/src/main/java/org/bigmouth/nvwa/dpl/plugin/ImmutablePlugInConfig.java: -------------------------------------------------------------------------------- 1 | package org.bigmouth.nvwa.dpl.plugin; 2 | 3 | import java.util.Iterator; 4 | 5 | import org.bigmouth.nvwa.dpl.ImmutableConfig; 6 | import org.bigmouth.nvwa.dpl.service.ServiceConfig; 7 | 8 | 9 | public class ImmutablePlugInConfig extends ImmutableConfig implements PlugInConfig { 10 | 11 | public ImmutablePlugInConfig(String name, String key, String desc) { 12 | super(name, key, desc); 13 | } 14 | 15 | @Override 16 | public Iterator getServiceConfigs() { 17 | // TODO Auto-generated method stub 18 | return null; 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /nvwa-dpl/src/main/java/org/bigmouth/nvwa/dpl/plugin/PlugInConfig.java: -------------------------------------------------------------------------------- 1 | package org.bigmouth.nvwa.dpl.plugin; 2 | 3 | import java.util.Iterator; 4 | 5 | import org.bigmouth.nvwa.dpl.Config; 6 | import org.bigmouth.nvwa.dpl.service.ServiceConfig; 7 | 8 | 9 | public interface PlugInConfig extends Config { 10 | 11 | public Iterator getServiceConfigs(); 12 | } 13 | -------------------------------------------------------------------------------- /nvwa-dpl/src/main/java/org/bigmouth/nvwa/dpl/service/FunctionalService.java: -------------------------------------------------------------------------------- 1 | package org.bigmouth.nvwa.dpl.service; 2 | 3 | import java.util.concurrent.TimeUnit; 4 | import java.util.concurrent.TimeoutException; 5 | 6 | public interface FunctionalService extends MutableService, ServiceFunctor { 7 | 8 | Object execute(long timeout, TimeUnit unit, Object... arguments) throws TimeoutException; 9 | } 10 | -------------------------------------------------------------------------------- /nvwa-dpl/src/main/java/org/bigmouth/nvwa/dpl/service/IllegalMethodException.java: -------------------------------------------------------------------------------- 1 | package org.bigmouth.nvwa.dpl.service; 2 | 3 | import java.lang.reflect.Method; 4 | 5 | public class IllegalMethodException extends RuntimeException { 6 | 7 | private static final long serialVersionUID = 1L; 8 | 9 | public IllegalMethodException(String message, Method method, Throwable cause) { 10 | super(message + ",Illegal method: " + method, cause); 11 | } 12 | 13 | public IllegalMethodException(String message, Method method) { 14 | super(message + ",Illegal method: " + method); 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /nvwa-dpl/src/main/java/org/bigmouth/nvwa/dpl/service/ImmutableServiceConfig.java: -------------------------------------------------------------------------------- 1 | package org.bigmouth.nvwa.dpl.service; 2 | 3 | import org.bigmouth.nvwa.dpl.ImmutableConfig; 4 | import org.bigmouth.nvwa.dpl.plugin.PlugInConfig; 5 | 6 | public class ImmutableServiceConfig extends ImmutableConfig implements ServiceConfig { 7 | 8 | public ImmutableServiceConfig(String name, String key, String desc) { 9 | super(name, key, desc); 10 | } 11 | 12 | @Override 13 | public PlugInConfig getPlugInConfig() { 14 | // TODO Auto-generated method stub 15 | return null; 16 | } 17 | } 18 | -------------------------------------------------------------------------------- /nvwa-dpl/src/main/java/org/bigmouth/nvwa/dpl/service/MethodInvocationException.java: -------------------------------------------------------------------------------- 1 | package org.bigmouth.nvwa.dpl.service; 2 | 3 | import java.lang.reflect.Method; 4 | 5 | public class MethodInvocationException extends RuntimeException { 6 | 7 | private static final long serialVersionUID = 1L; 8 | 9 | public MethodInvocationException(Method method, Throwable cause) { 10 | super("Invoking method: " + method, cause); 11 | } 12 | } 13 | -------------------------------------------------------------------------------- /nvwa-dpl/src/main/java/org/bigmouth/nvwa/dpl/service/MutableService.java: -------------------------------------------------------------------------------- 1 | package org.bigmouth.nvwa.dpl.service; 2 | 3 | import org.bigmouth.nvwa.dpl.MutableLifeCycle; 4 | import org.bigmouth.nvwa.dpl.event.listener.ServiceListener; 5 | import org.bigmouth.nvwa.dpl.status.MutableStatus; 6 | 7 | public interface MutableService extends Service, MutableLifeCycle, 8 | MutableStatus { 9 | 10 | void setAttachment(Object attachment); 11 | } 12 | -------------------------------------------------------------------------------- /nvwa-dpl/src/main/java/org/bigmouth/nvwa/dpl/service/NoSuchMethodException.java: -------------------------------------------------------------------------------- 1 | package org.bigmouth.nvwa.dpl.service; 2 | 3 | public class NoSuchMethodException extends RuntimeException { 4 | 5 | private static final long serialVersionUID = 1L; 6 | 7 | public NoSuchMethodException(String methodName) { 8 | super(methodName); 9 | } 10 | } 11 | -------------------------------------------------------------------------------- /nvwa-dpl/src/main/java/org/bigmouth/nvwa/dpl/service/ProceduralService.java: -------------------------------------------------------------------------------- 1 | package org.bigmouth.nvwa.dpl.service; 2 | 3 | public interface ProceduralService extends MutableService, ServiceClosure { 4 | 5 | } 6 | -------------------------------------------------------------------------------- /nvwa-dpl/src/main/java/org/bigmouth/nvwa/dpl/service/ServiceConfig.java: -------------------------------------------------------------------------------- 1 | package org.bigmouth.nvwa.dpl.service; 2 | 3 | import org.bigmouth.nvwa.dpl.Config; 4 | import org.bigmouth.nvwa.dpl.plugin.PlugInConfig; 5 | 6 | public interface ServiceConfig extends Config { 7 | 8 | public PlugInConfig getPlugInConfig(); 9 | } 10 | -------------------------------------------------------------------------------- /nvwa-dpl/src/main/java/org/bigmouth/nvwa/dpl/status/MutableStatus.java: -------------------------------------------------------------------------------- 1 | package org.bigmouth.nvwa.dpl.status; 2 | 3 | public interface MutableStatus { 4 | 5 | public void setRunning(boolean running); 6 | } 7 | -------------------------------------------------------------------------------- /nvwa-dpl/src/main/java/org/bigmouth/nvwa/dpl/status/PlugInStatusListener.java: -------------------------------------------------------------------------------- 1 | package org.bigmouth.nvwa.dpl.status; 2 | 3 | import org.bigmouth.nvwa.dpl.event.listener.PlugInListener; 4 | 5 | public class PlugInStatusListener extends StatusListener implements PlugInListener { 6 | 7 | public PlugInStatusListener(StatusHolder statusHolder) { 8 | super(statusHolder); 9 | } 10 | } 11 | -------------------------------------------------------------------------------- /nvwa-dpl/src/main/java/org/bigmouth/nvwa/dpl/status/Status.java: -------------------------------------------------------------------------------- 1 | package org.bigmouth.nvwa.dpl.status; 2 | 3 | public interface Status { 4 | 5 | boolean isRunning(); 6 | 7 | long getLastModifiedTime(); 8 | } 9 | -------------------------------------------------------------------------------- /nvwa-dpl/src/main/java/org/bigmouth/nvwa/dpl/status/StatusHolderFactory.java: -------------------------------------------------------------------------------- 1 | package org.bigmouth.nvwa.dpl.status; 2 | 3 | public interface StatusHolderFactory { 4 | 5 | StatusHolder create(); 6 | } 7 | -------------------------------------------------------------------------------- /nvwa-dpl/src/main/java/org/bigmouth/nvwa/dpl/status/StatusHolderSingleton.java: -------------------------------------------------------------------------------- 1 | package org.bigmouth.nvwa.dpl.status; 2 | 3 | public final class StatusHolderSingleton implements StatusHolderFactory { 4 | 5 | private static final String DEFAULT_DEPOT_DIR = "../status/"; 6 | private static final StatusHolder instance = new FileSystemStatusHolder(DEFAULT_DEPOT_DIR); 7 | 8 | @Override 9 | public StatusHolder create() { 10 | return instance; 11 | } 12 | } 13 | -------------------------------------------------------------------------------- /nvwa-dpl/src/main/java/org/bigmouth/nvwa/dpl/status/StatusSource.java: -------------------------------------------------------------------------------- 1 | package org.bigmouth.nvwa.dpl.status; 2 | 3 | /** 4 | * getKey() rule: 5 | * status-[systemId]-['plugin']['service']-[plugInCode]-[serviceCode]
6 | * for example:
7 | * status-1-plugin-common-login
8 | * status-2-service-bizPlugin-bizService
9 | * 10 | * @author nada 11 | * 12 | */ 13 | public interface StatusSource { 14 | 15 | public static final String SPLIT = "-"; 16 | 17 | public String getStatusKey(); 18 | 19 | public Status getStatus(); 20 | 21 | public void setStatus(Status status); 22 | 23 | } 24 | -------------------------------------------------------------------------------- /nvwa-dpl/src/test/java/com/skymobi/market/commons/dpl/hotswap/skymarket-servicelogic-plugin-app.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/big-mouth-cn/nvwa/6a460cf62c65ed70478a6e9ef3b5a142e8775d19/nvwa-dpl/src/test/java/com/skymobi/market/commons/dpl/hotswap/skymarket-servicelogic-plugin-app.jar -------------------------------------------------------------------------------- /nvwa-jmx/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/big-mouth-cn/nvwa/6a460cf62c65ed70478a6e9ef3b5a142e8775d19/nvwa-jmx/.DS_Store -------------------------------------------------------------------------------- /nvwa-jmx/.gitignore: -------------------------------------------------------------------------------- 1 | /target/ 2 | -------------------------------------------------------------------------------- /nvwa-jmx/.settings/org.eclipse.core.resources.prefs: -------------------------------------------------------------------------------- 1 | eclipse.preferences.version=1 2 | encoding//src/main/java=UTF-8 3 | encoding//src/test/resources=UTF-8 4 | -------------------------------------------------------------------------------- /nvwa-jmx/.settings/org.eclipse.m2e.core.prefs: -------------------------------------------------------------------------------- 1 | activeProfiles= 2 | eclipse.preferences.version=1 3 | resolveWorkspaceProjects=true 4 | version=1 5 | -------------------------------------------------------------------------------- /nvwa-jmx/.settings/org.eclipse.wst.common.component: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /nvwa-jmx/.settings/org.eclipse.wst.common.project.facet.core.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /nvwa-jmx/.settings/org.eclipse.wst.validation.prefs: -------------------------------------------------------------------------------- 1 | disabled=06target 2 | eclipse.preferences.version=1 3 | -------------------------------------------------------------------------------- /nvwa-jmx/.settings/org.maven.ide.eclipse.prefs: -------------------------------------------------------------------------------- 1 | #Tue Apr 26 17:30:10 CST 2016 2 | activeProfiles= 3 | eclipse.preferences.version=1 4 | fullBuildGoals=process-test-resources 5 | includeModules=false 6 | resolveWorkspaceProjects=true 7 | resourceFilterGoals=process-resources resources\:testResources 8 | skipCompilerPlugin=true 9 | version=1 10 | -------------------------------------------------------------------------------- /nvwa-jmx/pom.xml: -------------------------------------------------------------------------------- 1 | 3 | 4.0.0 4 | 5 | org.bigmouth 6 | nvwa-parent 7 | 1.0.0 8 | 9 | nvwa-jmx 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /nvwa-jmx/src/main/java/org/bigmouth/nvwa/jmx/MBeanOperationException.java: -------------------------------------------------------------------------------- 1 | package org.bigmouth.nvwa.jmx; 2 | 3 | public class MBeanOperationException extends RuntimeException { 4 | 5 | private static final long serialVersionUID = -7322890367163093493L; 6 | 7 | public MBeanOperationException() { 8 | super(); 9 | } 10 | 11 | public MBeanOperationException(String message, Throwable cause) { 12 | super(message, cause); 13 | } 14 | 15 | public MBeanOperationException(String message) { 16 | super(message); 17 | } 18 | 19 | public MBeanOperationException(Throwable cause) { 20 | super(cause); 21 | } 22 | } 23 | -------------------------------------------------------------------------------- /nvwa-jmx/src/main/java/org/bigmouth/nvwa/jmx/annotation/MBeanAttribute.java: -------------------------------------------------------------------------------- 1 | package org.bigmouth.nvwa.jmx.annotation; 2 | 3 | import java.lang.annotation.ElementType; 4 | import java.lang.annotation.Retention; 5 | import java.lang.annotation.RetentionPolicy; 6 | import java.lang.annotation.Target; 7 | 8 | @Target(ElementType.TYPE) 9 | @Retention(RetentionPolicy.RUNTIME) 10 | public @interface MBeanAttribute { 11 | 12 | String domain(); 13 | 14 | String type(); 15 | 16 | String name(); 17 | 18 | // include attribute? 19 | // include operation? 20 | } 21 | -------------------------------------------------------------------------------- /nvwa-log/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/big-mouth-cn/nvwa/6a460cf62c65ed70478a6e9ef3b5a142e8775d19/nvwa-log/.DS_Store -------------------------------------------------------------------------------- /nvwa-log/.gitignore: -------------------------------------------------------------------------------- 1 | /target/ 2 | -------------------------------------------------------------------------------- /nvwa-log/.settings/org.eclipse.core.resources.prefs: -------------------------------------------------------------------------------- 1 | eclipse.preferences.version=1 2 | encoding//src/main/java=UTF-8 3 | -------------------------------------------------------------------------------- /nvwa-log/.settings/org.eclipse.m2e.core.prefs: -------------------------------------------------------------------------------- 1 | activeProfiles= 2 | eclipse.preferences.version=1 3 | resolveWorkspaceProjects=true 4 | version=1 5 | -------------------------------------------------------------------------------- /nvwa-log/.settings/org.eclipse.wst.common.component: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /nvwa-log/.settings/org.eclipse.wst.common.project.facet.core.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /nvwa-log/.settings/org.eclipse.wst.validation.prefs: -------------------------------------------------------------------------------- 1 | disabled=06target 2 | eclipse.preferences.version=1 3 | -------------------------------------------------------------------------------- /nvwa-log/.settings/org.maven.ide.eclipse.prefs: -------------------------------------------------------------------------------- 1 | #Tue Apr 26 17:30:10 CST 2016 2 | activeProfiles= 3 | eclipse.preferences.version=1 4 | fullBuildGoals=process-test-resources 5 | includeModules=false 6 | resolveWorkspaceProjects=true 7 | resourceFilterGoals=process-resources resources\:testResources 8 | skipCompilerPlugin=true 9 | version=1 10 | -------------------------------------------------------------------------------- /nvwa-log/src/main/java/org/bigmouth/nvwa/log/RecordClosure.java: -------------------------------------------------------------------------------- 1 | package org.bigmouth.nvwa.log; 2 | 3 | public interface RecordClosure { 4 | 5 | void execute(Object logInfo); 6 | } 7 | -------------------------------------------------------------------------------- /nvwa-log/src/main/java/org/bigmouth/nvwa/log/rdb/RecordControllerFactory.java: -------------------------------------------------------------------------------- 1 | package org.bigmouth.nvwa.log.rdb; 2 | 3 | public interface RecordControllerFactory { 4 | 5 | // TODO:define exception? 6 | RecordController create(Object logInfo); 7 | } 8 | -------------------------------------------------------------------------------- /nvwa-log/src/main/java/org/bigmouth/nvwa/log/rdb/annotation/RdbColumn.java: -------------------------------------------------------------------------------- 1 | package org.bigmouth.nvwa.log.rdb.annotation; 2 | 3 | import java.lang.annotation.ElementType; 4 | import java.lang.annotation.Retention; 5 | import java.lang.annotation.RetentionPolicy; 6 | import java.lang.annotation.Target; 7 | 8 | @Target(ElementType.FIELD) 9 | @Retention(RetentionPolicy.RUNTIME) 10 | public @interface RdbColumn { 11 | 12 | String name(); 13 | 14 | int maxLength() default -1; 15 | } 16 | -------------------------------------------------------------------------------- /nvwa-log4mongo/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/big-mouth-cn/nvwa/6a460cf62c65ed70478a6e9ef3b5a142e8775d19/nvwa-log4mongo/.DS_Store -------------------------------------------------------------------------------- /nvwa-log4mongo/.gitignore: -------------------------------------------------------------------------------- 1 | /target/ 2 | -------------------------------------------------------------------------------- /nvwa-log4mongo/.settings/org.eclipse.core.resources.prefs: -------------------------------------------------------------------------------- 1 | eclipse.preferences.version=1 2 | encoding//src/main/java=UTF-8 3 | -------------------------------------------------------------------------------- /nvwa-log4mongo/.settings/org.eclipse.m2e.core.prefs: -------------------------------------------------------------------------------- 1 | activeProfiles= 2 | eclipse.preferences.version=1 3 | resolveWorkspaceProjects=true 4 | version=1 5 | -------------------------------------------------------------------------------- /nvwa-log4mongo/.settings/org.eclipse.wst.common.component: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /nvwa-log4mongo/.settings/org.eclipse.wst.common.project.facet.core.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /nvwa-log4mongo/.settings/org.eclipse.wst.validation.prefs: -------------------------------------------------------------------------------- 1 | disabled=06target 2 | eclipse.preferences.version=1 3 | -------------------------------------------------------------------------------- /nvwa-log4mongo/.settings/org.maven.ide.eclipse.prefs: -------------------------------------------------------------------------------- 1 | #Wed Oct 14 22:31:33 CST 2015 2 | activeProfiles= 3 | eclipse.preferences.version=1 4 | fullBuildGoals=process-test-resources 5 | includeModules=false 6 | resolveWorkspaceProjects=true 7 | resourceFilterGoals=process-resources resources\:testResources 8 | skipCompilerPlugin=true 9 | version=1 10 | -------------------------------------------------------------------------------- /nvwa-log4mongo/bin/org/log4mongo/BsonAppender.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/big-mouth-cn/nvwa/6a460cf62c65ed70478a6e9ef3b5a142e8775d19/nvwa-log4mongo/bin/org/log4mongo/BsonAppender.class -------------------------------------------------------------------------------- /nvwa-log4mongo/bin/org/log4mongo/ExtendedMongoDbAppender.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/big-mouth-cn/nvwa/6a460cf62c65ed70478a6e9ef3b5a142e8775d19/nvwa-log4mongo/bin/org/log4mongo/ExtendedMongoDbAppender.class -------------------------------------------------------------------------------- /nvwa-log4mongo/bin/org/log4mongo/LoggingEventBsonifier.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/big-mouth-cn/nvwa/6a460cf62c65ed70478a6e9ef3b5a142e8775d19/nvwa-log4mongo/bin/org/log4mongo/LoggingEventBsonifier.class -------------------------------------------------------------------------------- /nvwa-log4mongo/bin/org/log4mongo/LoggingEventBsonifierImpl.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/big-mouth-cn/nvwa/6a460cf62c65ed70478a6e9ef3b5a142e8775d19/nvwa-log4mongo/bin/org/log4mongo/LoggingEventBsonifierImpl.class -------------------------------------------------------------------------------- /nvwa-log4mongo/bin/org/log4mongo/MongoDbAppender.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/big-mouth-cn/nvwa/6a460cf62c65ed70478a6e9ef3b5a142e8775d19/nvwa-log4mongo/bin/org/log4mongo/MongoDbAppender.class -------------------------------------------------------------------------------- /nvwa-log4mongo/bin/org/log4mongo/MongoDbPatternLayout.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/big-mouth-cn/nvwa/6a460cf62c65ed70478a6e9ef3b5a142e8775d19/nvwa-log4mongo/bin/org/log4mongo/MongoDbPatternLayout.class -------------------------------------------------------------------------------- /nvwa-log4mongo/bin/org/log4mongo/MongoDbPatternLayoutAppender.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/big-mouth-cn/nvwa/6a460cf62c65ed70478a6e9ef3b5a142e8775d19/nvwa-log4mongo/bin/org/log4mongo/MongoDbPatternLayoutAppender.class -------------------------------------------------------------------------------- /nvwa-log4mongo/bin/org/log4mongo/contrib/HostInfoPatternLayout.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/big-mouth-cn/nvwa/6a460cf62c65ed70478a6e9ef3b5a142e8775d19/nvwa-log4mongo/bin/org/log4mongo/contrib/HostInfoPatternLayout.class -------------------------------------------------------------------------------- /nvwa-log4mongo/bin/org/log4mongo/contrib/HostInfoPatternParser$HostPatternConverter.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/big-mouth-cn/nvwa/6a460cf62c65ed70478a6e9ef3b5a142e8775d19/nvwa-log4mongo/bin/org/log4mongo/contrib/HostInfoPatternParser$HostPatternConverter.class -------------------------------------------------------------------------------- /nvwa-log4mongo/bin/org/log4mongo/contrib/HostInfoPatternParser$IPAddressPatternConverter.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/big-mouth-cn/nvwa/6a460cf62c65ed70478a6e9ef3b5a142e8775d19/nvwa-log4mongo/bin/org/log4mongo/contrib/HostInfoPatternParser$IPAddressPatternConverter.class -------------------------------------------------------------------------------- /nvwa-log4mongo/bin/org/log4mongo/contrib/HostInfoPatternParser$VMNamePatternConverter.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/big-mouth-cn/nvwa/6a460cf62c65ed70478a6e9ef3b5a142e8775d19/nvwa-log4mongo/bin/org/log4mongo/contrib/HostInfoPatternParser$VMNamePatternConverter.class -------------------------------------------------------------------------------- /nvwa-log4mongo/bin/org/log4mongo/contrib/HostInfoPatternParser.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/big-mouth-cn/nvwa/6a460cf62c65ed70478a6e9ef3b5a142e8775d19/nvwa-log4mongo/bin/org/log4mongo/contrib/HostInfoPatternParser.class -------------------------------------------------------------------------------- /nvwa-mq/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/big-mouth-cn/nvwa/6a460cf62c65ed70478a6e9ef3b5a142e8775d19/nvwa-mq/.DS_Store -------------------------------------------------------------------------------- /nvwa-mq/.gitignore: -------------------------------------------------------------------------------- 1 | /target/ 2 | -------------------------------------------------------------------------------- /nvwa-mq/.settings/org.eclipse.core.resources.prefs: -------------------------------------------------------------------------------- 1 | eclipse.preferences.version=1 2 | encoding//src/main/java=UTF-8 3 | -------------------------------------------------------------------------------- /nvwa-mq/.settings/org.eclipse.m2e.core.prefs: -------------------------------------------------------------------------------- 1 | activeProfiles= 2 | eclipse.preferences.version=1 3 | resolveWorkspaceProjects=true 4 | version=1 5 | -------------------------------------------------------------------------------- /nvwa-mq/.settings/org.eclipse.wst.common.component: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /nvwa-mq/.settings/org.eclipse.wst.common.project.facet.core.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /nvwa-mq/.settings/org.eclipse.wst.validation.prefs: -------------------------------------------------------------------------------- 1 | disabled=06target 2 | eclipse.preferences.version=1 3 | -------------------------------------------------------------------------------- /nvwa-mq/.settings/org.maven.ide.eclipse.prefs: -------------------------------------------------------------------------------- 1 | #Tue Mar 08 16:00:00 CST 2016 2 | activeProfiles= 3 | eclipse.preferences.version=1 4 | fullBuildGoals=process-test-resources 5 | includeModules=false 6 | resolveWorkspaceProjects=true 7 | resourceFilterGoals=process-resources resources\:testResources 8 | skipCompilerPlugin=true 9 | version=1 10 | -------------------------------------------------------------------------------- /nvwa-mybatis/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/big-mouth-cn/nvwa/6a460cf62c65ed70478a6e9ef3b5a142e8775d19/nvwa-mybatis/.DS_Store -------------------------------------------------------------------------------- /nvwa-mybatis/.gitignore: -------------------------------------------------------------------------------- 1 | /target/ 2 | -------------------------------------------------------------------------------- /nvwa-mybatis/.settings/org.eclipse.core.resources.prefs: -------------------------------------------------------------------------------- 1 | eclipse.preferences.version=1 2 | encoding//src/main/java=UTF-8 3 | encoding//src/test/java=UTF-8 4 | encoding//src/test/resources=UTF-8 5 | -------------------------------------------------------------------------------- /nvwa-mybatis/.settings/org.eclipse.m2e.core.prefs: -------------------------------------------------------------------------------- 1 | activeProfiles= 2 | eclipse.preferences.version=1 3 | resolveWorkspaceProjects=true 4 | version=1 5 | -------------------------------------------------------------------------------- /nvwa-mybatis/.settings/org.eclipse.wst.common.component: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /nvwa-mybatis/.settings/org.eclipse.wst.common.project.facet.core.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /nvwa-mybatis/.settings/org.eclipse.wst.validation.prefs: -------------------------------------------------------------------------------- 1 | disabled=06target 2 | eclipse.preferences.version=1 3 | -------------------------------------------------------------------------------- /nvwa-mybatis/.settings/org.maven.ide.eclipse.prefs: -------------------------------------------------------------------------------- 1 | #Fri Mar 27 14:03:45 CST 2015 2 | activeProfiles= 3 | eclipse.preferences.version=1 4 | fullBuildGoals=process-test-resources 5 | includeModules=false 6 | resolveWorkspaceProjects=true 7 | resourceFilterGoals=process-resources resources\:testResources 8 | skipCompilerPlugin=true 9 | version=1 10 | -------------------------------------------------------------------------------- /nvwa-mybatis/src/test/resources/config/mybatis/pair.mapper.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 12 | -------------------------------------------------------------------------------- /nvwa-mybatis/src/test/resources/log4j.properties: -------------------------------------------------------------------------------- 1 | log4j.rootLogger=INFO, stdout 2 | 3 | log4j.appender.stdout=org.apache.log4j.ConsoleAppender 4 | log4j.appender.stdout.layout=org.apache.log4j.PatternLayout 5 | log4j.appender.stdout.layout.ConversionPattern=%d [%p] (%F:%L) - %m%n 6 | -------------------------------------------------------------------------------- /nvwa-mybatis3/.gitignore: -------------------------------------------------------------------------------- 1 | /target/ 2 | -------------------------------------------------------------------------------- /nvwa-mybatis3/.settings/org.eclipse.core.resources.prefs: -------------------------------------------------------------------------------- 1 | eclipse.preferences.version=1 2 | encoding//src/main/java=UTF-8 3 | encoding//src/test/java=UTF-8 4 | encoding//src/test/resources=UTF-8 5 | -------------------------------------------------------------------------------- /nvwa-mybatis3/.settings/org.eclipse.m2e.core.prefs: -------------------------------------------------------------------------------- 1 | activeProfiles= 2 | eclipse.preferences.version=1 3 | resolveWorkspaceProjects=true 4 | version=1 5 | -------------------------------------------------------------------------------- /nvwa-mybatis3/.settings/org.eclipse.wst.common.component: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /nvwa-mybatis3/.settings/org.eclipse.wst.common.project.facet.core.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /nvwa-mybatis3/.settings/org.eclipse.wst.validation.prefs: -------------------------------------------------------------------------------- 1 | disabled=06target 2 | eclipse.preferences.version=1 3 | -------------------------------------------------------------------------------- /nvwa-mybatis3/.settings/org.maven.ide.eclipse.prefs: -------------------------------------------------------------------------------- 1 | #Fri Mar 27 14:03:45 CST 2015 2 | activeProfiles= 3 | eclipse.preferences.version=1 4 | fullBuildGoals=process-test-resources 5 | includeModules=false 6 | resolveWorkspaceProjects=true 7 | resourceFilterGoals=process-resources resources\:testResources 8 | skipCompilerPlugin=true 9 | version=1 10 | -------------------------------------------------------------------------------- /nvwa-mybatis3/libs/1.1.0/_maven.repositories: -------------------------------------------------------------------------------- 1 | #NOTE: This is an internal implementation file, its format can be changed without prior notice. 2 | #Tue May 31 22:45:14 CST 2016 3 | mybatis-spring-1.1.0.jar>nexus= 4 | mybatis-spring-1.1.0.pom>nexus= 5 | -------------------------------------------------------------------------------- /nvwa-mybatis3/libs/1.1.0/mybatis-spring-1.1.0.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/big-mouth-cn/nvwa/6a460cf62c65ed70478a6e9ef3b5a142e8775d19/nvwa-mybatis3/libs/1.1.0/mybatis-spring-1.1.0.jar -------------------------------------------------------------------------------- /nvwa-mybatis3/libs/1.1.0/mybatis-spring-1.1.0.jar.sha1: -------------------------------------------------------------------------------- 1 | 06485a3e33a3a67d66b6af905395f73413ee2842 -------------------------------------------------------------------------------- /nvwa-mybatis3/libs/1.1.0/mybatis-spring-1.1.0.pom.sha1: -------------------------------------------------------------------------------- 1 | 9734eaa68a67822abb8193acd573b9c35b5906ea -------------------------------------------------------------------------------- /nvwa-mybatis3/libs/3.1.0-RELEASE/_maven.repositories: -------------------------------------------------------------------------------- 1 | #NOTE: This is an internal implementation file, its format can be changed without prior notice. 2 | #Tue May 31 22:45:14 CST 2016 3 | mybatis-3.1.0-RELEASE.pom>nexus= 4 | mybatis-3.1.0-RELEASE.jar>nexus= 5 | -------------------------------------------------------------------------------- /nvwa-mybatis3/libs/3.1.0-RELEASE/m2e-lastUpdated.properties: -------------------------------------------------------------------------------- 1 | #Wed Nov 16 00:03:28 CST 2016 2 | nexus|http\://172.16.3.24/nexus/content/groups/public/|sources=1464925479903 3 | public-snapshots|http\://172.16.3.24/nexus/content/groups/public/|sources=1464925479903 4 | public-snapshots|http\://122.224.140.146\:8089/nexus/content/groups/public/|sources=1479225808014 5 | nexus|http\://122.224.140.146\:8089/nexus/content/groups/public/|sources=1479225808014 6 | -------------------------------------------------------------------------------- /nvwa-mybatis3/libs/3.1.0-RELEASE/mybatis-3.1.0-RELEASE.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/big-mouth-cn/nvwa/6a460cf62c65ed70478a6e9ef3b5a142e8775d19/nvwa-mybatis3/libs/3.1.0-RELEASE/mybatis-3.1.0-RELEASE.jar -------------------------------------------------------------------------------- /nvwa-mybatis3/libs/3.1.0-RELEASE/mybatis-3.1.0-RELEASE.jar.sha1: -------------------------------------------------------------------------------- 1 | b0096c59a4beaaaf55f2ec4570e2f33d0f24c8e0 -------------------------------------------------------------------------------- /nvwa-mybatis3/libs/3.1.0-RELEASE/mybatis-3.1.0-RELEASE.pom: -------------------------------------------------------------------------------- 1 | 2 | 4 | 4.0.0 5 | org.mybatis 6 | mybatis 7 | 3.1.0-RELEASE 8 | POM was created by Sonatype Nexus 9 | 10 | -------------------------------------------------------------------------------- /nvwa-mybatis3/libs/3.1.0-RELEASE/mybatis-3.1.0-RELEASE.pom.sha1: -------------------------------------------------------------------------------- 1 | 172bf505e020a3d7808f2f46ad2e5fe9ba4c3b4b -------------------------------------------------------------------------------- /nvwa-mybatis3/src/test/resources/config/mybatis/pair.mapper.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 12 | -------------------------------------------------------------------------------- /nvwa-mybatis3/src/test/resources/log4j.properties: -------------------------------------------------------------------------------- 1 | log4j.rootLogger=INFO, stdout 2 | 3 | log4j.appender.stdout=org.apache.log4j.ConsoleAppender 4 | log4j.appender.stdout.layout=org.apache.log4j.PatternLayout 5 | log4j.appender.stdout.layout.ConversionPattern=%d [%p] (%F:%L) - %m%n 6 | -------------------------------------------------------------------------------- /nvwa-network/.gitignore: -------------------------------------------------------------------------------- 1 | /target/ 2 | -------------------------------------------------------------------------------- /nvwa-network/.settings/org.eclipse.core.resources.prefs: -------------------------------------------------------------------------------- 1 | eclipse.preferences.version=1 2 | encoding//src/main/java=UTF-8 3 | -------------------------------------------------------------------------------- /nvwa-network/.settings/org.eclipse.m2e.core.prefs: -------------------------------------------------------------------------------- 1 | activeProfiles= 2 | eclipse.preferences.version=1 3 | resolveWorkspaceProjects=true 4 | version=1 5 | -------------------------------------------------------------------------------- /nvwa-network/.settings/org.eclipse.wst.common.component: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /nvwa-network/.settings/org.eclipse.wst.common.project.facet.core.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /nvwa-network/.settings/org.eclipse.wst.validation.prefs: -------------------------------------------------------------------------------- 1 | disabled=06target 2 | eclipse.preferences.version=1 3 | -------------------------------------------------------------------------------- /nvwa-network/.settings/org.maven.ide.eclipse.prefs: -------------------------------------------------------------------------------- 1 | #Tue Apr 26 17:30:08 CST 2016 2 | activeProfiles= 3 | eclipse.preferences.version=1 4 | fullBuildGoals=process-test-resources 5 | includeModules=false 6 | resolveWorkspaceProjects=true 7 | resourceFilterGoals=process-resources resources\:testResources 8 | skipCompilerPlugin=true 9 | version=1 10 | -------------------------------------------------------------------------------- /nvwa-office/.gitignore: -------------------------------------------------------------------------------- 1 | /target/ 2 | -------------------------------------------------------------------------------- /nvwa-office/.settings/org.eclipse.core.resources.prefs: -------------------------------------------------------------------------------- 1 | eclipse.preferences.version=1 2 | encoding/src=UTF-8 3 | -------------------------------------------------------------------------------- /nvwa-office/.settings/org.eclipse.m2e.core.prefs: -------------------------------------------------------------------------------- 1 | activeProfiles= 2 | eclipse.preferences.version=1 3 | resolveWorkspaceProjects=true 4 | version=1 5 | -------------------------------------------------------------------------------- /nvwa-pay/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/big-mouth-cn/nvwa/6a460cf62c65ed70478a6e9ef3b5a142e8775d19/nvwa-pay/.DS_Store -------------------------------------------------------------------------------- /nvwa-pay/.gitignore: -------------------------------------------------------------------------------- 1 | /target/ 2 | -------------------------------------------------------------------------------- /nvwa-pay/.settings/org.eclipse.core.resources.prefs: -------------------------------------------------------------------------------- 1 | eclipse.preferences.version=1 2 | encoding//src/main/java=UTF-8 3 | encoding//src/test/java=UTF-8 4 | -------------------------------------------------------------------------------- /nvwa-pay/.settings/org.eclipse.m2e.core.prefs: -------------------------------------------------------------------------------- 1 | activeProfiles= 2 | eclipse.preferences.version=1 3 | resolveWorkspaceProjects=true 4 | version=1 5 | -------------------------------------------------------------------------------- /nvwa-pay/.settings/org.maven.ide.eclipse.prefs: -------------------------------------------------------------------------------- 1 | #Thu Aug 06 13:32:18 CST 2015 2 | activeProfiles= 3 | eclipse.preferences.version=1 4 | fullBuildGoals=process-test-resources 5 | includeModules=false 6 | resolveWorkspaceProjects=true 7 | resourceFilterGoals=process-resources resources\:testResources 8 | skipCompilerPlugin=true 9 | version=1 10 | -------------------------------------------------------------------------------- /nvwa-pay/src/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/big-mouth-cn/nvwa/6a460cf62c65ed70478a6e9ef3b5a142e8775d19/nvwa-pay/src/.DS_Store -------------------------------------------------------------------------------- /nvwa-pay/src/main/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/big-mouth-cn/nvwa/6a460cf62c65ed70478a6e9ef3b5a142e8775d19/nvwa-pay/src/main/.DS_Store -------------------------------------------------------------------------------- /nvwa-pay/src/main/java/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/big-mouth-cn/nvwa/6a460cf62c65ed70478a6e9ef3b5a142e8775d19/nvwa-pay/src/main/java/.DS_Store -------------------------------------------------------------------------------- /nvwa-pay/src/main/java/log4j.properties: -------------------------------------------------------------------------------- 1 | log4j.rootLogger=INFO, stdout 2 | 3 | log4j.appender.stdout=org.apache.log4j.ConsoleAppender 4 | log4j.appender.stdout.layout=org.apache.log4j.PatternLayout 5 | log4j.appender.stdout.layout.ConversionPattern=%d %p [%c] - %m%n -------------------------------------------------------------------------------- /nvwa-pay/src/main/java/org/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/big-mouth-cn/nvwa/6a460cf62c65ed70478a6e9ef3b5a142e8775d19/nvwa-pay/src/main/java/org/.DS_Store -------------------------------------------------------------------------------- /nvwa-pay/src/main/java/org/bigmouth/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/big-mouth-cn/nvwa/6a460cf62c65ed70478a6e9ef3b5a142e8775d19/nvwa-pay/src/main/java/org/bigmouth/.DS_Store -------------------------------------------------------------------------------- /nvwa-pay/src/main/java/org/bigmouth/nvwa/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/big-mouth-cn/nvwa/6a460cf62c65ed70478a6e9ef3b5a142e8775d19/nvwa-pay/src/main/java/org/bigmouth/nvwa/.DS_Store -------------------------------------------------------------------------------- /nvwa-pay/src/main/java/org/bigmouth/nvwa/pay/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/big-mouth-cn/nvwa/6a460cf62c65ed70478a6e9ef3b5a142e8775d19/nvwa-pay/src/main/java/org/bigmouth/nvwa/pay/.DS_Store -------------------------------------------------------------------------------- /nvwa-pay/src/main/java/org/bigmouth/nvwa/pay/service/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/big-mouth-cn/nvwa/6a460cf62c65ed70478a6e9ef3b5a142e8775d19/nvwa-pay/src/main/java/org/bigmouth/nvwa/pay/service/.DS_Store -------------------------------------------------------------------------------- /nvwa-pay/src/main/java/org/bigmouth/nvwa/pay/service/prepay/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/big-mouth-cn/nvwa/6a460cf62c65ed70478a6e9ef3b5a142e8775d19/nvwa-pay/src/main/java/org/bigmouth/nvwa/pay/service/prepay/.DS_Store -------------------------------------------------------------------------------- /nvwa-pay/target/classes/log4j.properties: -------------------------------------------------------------------------------- 1 | log4j.rootLogger=INFO, stdout 2 | 3 | log4j.appender.stdout=org.apache.log4j.ConsoleAppender 4 | log4j.appender.stdout.layout=org.apache.log4j.PatternLayout 5 | log4j.appender.stdout.layout.ConversionPattern=%d %p [%c] - %m%n -------------------------------------------------------------------------------- /nvwa-pay/target/classes/org/bigmouth/nvwa/pay/AlipayDefaults$Charset.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/big-mouth-cn/nvwa/6a460cf62c65ed70478a6e9ef3b5a142e8775d19/nvwa-pay/target/classes/org/bigmouth/nvwa/pay/AlipayDefaults$Charset.class -------------------------------------------------------------------------------- /nvwa-pay/target/classes/org/bigmouth/nvwa/pay/AlipayDefaults$PaymentType.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/big-mouth-cn/nvwa/6a460cf62c65ed70478a6e9ef3b5a142e8775d19/nvwa-pay/target/classes/org/bigmouth/nvwa/pay/AlipayDefaults$PaymentType.class -------------------------------------------------------------------------------- /nvwa-pay/target/classes/org/bigmouth/nvwa/pay/AlipayDefaults$Paymethod.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/big-mouth-cn/nvwa/6a460cf62c65ed70478a6e9ef3b5a142e8775d19/nvwa-pay/target/classes/org/bigmouth/nvwa/pay/AlipayDefaults$Paymethod.class -------------------------------------------------------------------------------- /nvwa-pay/target/classes/org/bigmouth/nvwa/pay/AlipayDefaults$RefundStatus.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/big-mouth-cn/nvwa/6a460cf62c65ed70478a6e9ef3b5a142e8775d19/nvwa-pay/target/classes/org/bigmouth/nvwa/pay/AlipayDefaults$RefundStatus.class -------------------------------------------------------------------------------- /nvwa-pay/target/classes/org/bigmouth/nvwa/pay/AlipayDefaults$Service.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/big-mouth-cn/nvwa/6a460cf62c65ed70478a6e9ef3b5a142e8775d19/nvwa-pay/target/classes/org/bigmouth/nvwa/pay/AlipayDefaults$Service.class -------------------------------------------------------------------------------- /nvwa-pay/target/classes/org/bigmouth/nvwa/pay/AlipayDefaults$TradeStatus.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/big-mouth-cn/nvwa/6a460cf62c65ed70478a6e9ef3b5a142e8775d19/nvwa-pay/target/classes/org/bigmouth/nvwa/pay/AlipayDefaults$TradeStatus.class -------------------------------------------------------------------------------- /nvwa-pay/target/classes/org/bigmouth/nvwa/pay/AlipayDefaults.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/big-mouth-cn/nvwa/6a460cf62c65ed70478a6e9ef3b5a142e8775d19/nvwa-pay/target/classes/org/bigmouth/nvwa/pay/AlipayDefaults.class -------------------------------------------------------------------------------- /nvwa-pay/target/classes/org/bigmouth/nvwa/pay/PayDefaults$DigestType.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/big-mouth-cn/nvwa/6a460cf62c65ed70478a6e9ef3b5a142e8775d19/nvwa-pay/target/classes/org/bigmouth/nvwa/pay/PayDefaults$DigestType.class -------------------------------------------------------------------------------- /nvwa-pay/target/classes/org/bigmouth/nvwa/pay/PayDefaults.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/big-mouth-cn/nvwa/6a460cf62c65ed70478a6e9ef3b5a142e8775d19/nvwa-pay/target/classes/org/bigmouth/nvwa/pay/PayDefaults.class -------------------------------------------------------------------------------- /nvwa-pay/target/classes/org/bigmouth/nvwa/pay/PayProvider.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/big-mouth-cn/nvwa/6a460cf62c65ed70478a6e9ef3b5a142e8775d19/nvwa-pay/target/classes/org/bigmouth/nvwa/pay/PayProvider.class -------------------------------------------------------------------------------- /nvwa-pay/target/classes/org/bigmouth/nvwa/pay/ability/Fail.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/big-mouth-cn/nvwa/6a460cf62c65ed70478a6e9ef3b5a142e8775d19/nvwa-pay/target/classes/org/bigmouth/nvwa/pay/ability/Fail.class -------------------------------------------------------------------------------- /nvwa-pay/target/classes/org/bigmouth/nvwa/pay/ability/FromXMLWrapper.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/big-mouth-cn/nvwa/6a460cf62c65ed70478a6e9ef3b5a142e8775d19/nvwa-pay/target/classes/org/bigmouth/nvwa/pay/ability/FromXMLWrapper.class -------------------------------------------------------------------------------- /nvwa-pay/target/classes/org/bigmouth/nvwa/pay/ability/Success.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/big-mouth-cn/nvwa/6a460cf62c65ed70478a6e9ef3b5a142e8775d19/nvwa-pay/target/classes/org/bigmouth/nvwa/pay/ability/Success.class -------------------------------------------------------------------------------- /nvwa-pay/target/classes/org/bigmouth/nvwa/pay/ability/ToXMLWrapper.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/big-mouth-cn/nvwa/6a460cf62c65ed70478a6e9ef3b5a142e8775d19/nvwa-pay/target/classes/org/bigmouth/nvwa/pay/ability/ToXMLWrapper.class -------------------------------------------------------------------------------- /nvwa-pay/target/classes/org/bigmouth/nvwa/pay/annotation/NotNull.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/big-mouth-cn/nvwa/6a460cf62c65ed70478a6e9ef3b5a142e8775d19/nvwa-pay/target/classes/org/bigmouth/nvwa/pay/annotation/NotNull.class -------------------------------------------------------------------------------- /nvwa-pay/target/classes/org/bigmouth/nvwa/pay/config/PayConfig.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/big-mouth-cn/nvwa/6a460cf62c65ed70478a6e9ef3b5a142e8775d19/nvwa-pay/target/classes/org/bigmouth/nvwa/pay/config/PayConfig.class -------------------------------------------------------------------------------- /nvwa-pay/target/classes/org/bigmouth/nvwa/pay/config/PayConfigException.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/big-mouth-cn/nvwa/6a460cf62c65ed70478a6e9ef3b5a142e8775d19/nvwa-pay/target/classes/org/bigmouth/nvwa/pay/config/PayConfigException.class -------------------------------------------------------------------------------- /nvwa-pay/target/classes/org/bigmouth/nvwa/pay/config/PayConfigService.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/big-mouth-cn/nvwa/6a460cf62c65ed70478a6e9ef3b5a142e8775d19/nvwa-pay/target/classes/org/bigmouth/nvwa/pay/config/PayConfigService.class -------------------------------------------------------------------------------- /nvwa-pay/target/classes/org/bigmouth/nvwa/pay/config/wx/WxFeeType.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/big-mouth-cn/nvwa/6a460cf62c65ed70478a6e9ef3b5a142e8775d19/nvwa-pay/target/classes/org/bigmouth/nvwa/pay/config/wx/WxFeeType.class -------------------------------------------------------------------------------- /nvwa-pay/target/classes/org/bigmouth/nvwa/pay/config/wx/WxPayConfig.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/big-mouth-cn/nvwa/6a460cf62c65ed70478a6e9ef3b5a142e8775d19/nvwa-pay/target/classes/org/bigmouth/nvwa/pay/config/wx/WxPayConfig.class -------------------------------------------------------------------------------- /nvwa-pay/target/classes/org/bigmouth/nvwa/pay/config/wx/WxPayConfigService.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/big-mouth-cn/nvwa/6a460cf62c65ed70478a6e9ef3b5a142e8775d19/nvwa-pay/target/classes/org/bigmouth/nvwa/pay/config/wx/WxPayConfigService.class -------------------------------------------------------------------------------- /nvwa-pay/target/classes/org/bigmouth/nvwa/pay/config/wx/WxTradeType.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/big-mouth-cn/nvwa/6a460cf62c65ed70478a6e9ef3b5a142e8775d19/nvwa-pay/target/classes/org/bigmouth/nvwa/pay/config/wx/WxTradeType.class -------------------------------------------------------------------------------- /nvwa-pay/target/classes/org/bigmouth/nvwa/pay/exceptions/PayException.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/big-mouth-cn/nvwa/6a460cf62c65ed70478a6e9ef3b5a142e8775d19/nvwa-pay/target/classes/org/bigmouth/nvwa/pay/exceptions/PayException.class -------------------------------------------------------------------------------- /nvwa-pay/target/classes/org/bigmouth/nvwa/pay/service/callback/Callback.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/big-mouth-cn/nvwa/6a460cf62c65ed70478a6e9ef3b5a142e8775d19/nvwa-pay/target/classes/org/bigmouth/nvwa/pay/service/callback/Callback.class -------------------------------------------------------------------------------- /nvwa-pay/target/classes/org/bigmouth/nvwa/pay/service/callback/CallbackAnalysisException.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/big-mouth-cn/nvwa/6a460cf62c65ed70478a6e9ef3b5a142e8775d19/nvwa-pay/target/classes/org/bigmouth/nvwa/pay/service/callback/CallbackAnalysisException.class -------------------------------------------------------------------------------- /nvwa-pay/target/classes/org/bigmouth/nvwa/pay/service/callback/CallbackException.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/big-mouth-cn/nvwa/6a460cf62c65ed70478a6e9ef3b5a142e8775d19/nvwa-pay/target/classes/org/bigmouth/nvwa/pay/service/callback/CallbackException.class -------------------------------------------------------------------------------- /nvwa-pay/target/classes/org/bigmouth/nvwa/pay/service/callback/CallbackRequest.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/big-mouth-cn/nvwa/6a460cf62c65ed70478a6e9ef3b5a142e8775d19/nvwa-pay/target/classes/org/bigmouth/nvwa/pay/service/callback/CallbackRequest.class -------------------------------------------------------------------------------- /nvwa-pay/target/classes/org/bigmouth/nvwa/pay/service/callback/CallbackResponse.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/big-mouth-cn/nvwa/6a460cf62c65ed70478a6e9ef3b5a142e8775d19/nvwa-pay/target/classes/org/bigmouth/nvwa/pay/service/callback/CallbackResponse.class -------------------------------------------------------------------------------- /nvwa-pay/target/classes/org/bigmouth/nvwa/pay/service/callback/CallbackSupport.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/big-mouth-cn/nvwa/6a460cf62c65ed70478a6e9ef3b5a142e8775d19/nvwa-pay/target/classes/org/bigmouth/nvwa/pay/service/callback/CallbackSupport.class -------------------------------------------------------------------------------- /nvwa-pay/target/classes/org/bigmouth/nvwa/pay/service/callback/alipay/AlipayCallback.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/big-mouth-cn/nvwa/6a460cf62c65ed70478a6e9ef3b5a142e8775d19/nvwa-pay/target/classes/org/bigmouth/nvwa/pay/service/callback/alipay/AlipayCallback.class -------------------------------------------------------------------------------- /nvwa-pay/target/classes/org/bigmouth/nvwa/pay/service/callback/alipay/AlipayCallbackArgument.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/big-mouth-cn/nvwa/6a460cf62c65ed70478a6e9ef3b5a142e8775d19/nvwa-pay/target/classes/org/bigmouth/nvwa/pay/service/callback/alipay/AlipayCallbackArgument.class -------------------------------------------------------------------------------- /nvwa-pay/target/classes/org/bigmouth/nvwa/pay/service/callback/alipay/AlipayCallbackResponse.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/big-mouth-cn/nvwa/6a460cf62c65ed70478a6e9ef3b5a142e8775d19/nvwa-pay/target/classes/org/bigmouth/nvwa/pay/service/callback/alipay/AlipayCallbackResponse.class -------------------------------------------------------------------------------- /nvwa-pay/target/classes/org/bigmouth/nvwa/pay/service/callback/wx/WxCallback.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/big-mouth-cn/nvwa/6a460cf62c65ed70478a6e9ef3b5a142e8775d19/nvwa-pay/target/classes/org/bigmouth/nvwa/pay/service/callback/wx/WxCallback.class -------------------------------------------------------------------------------- /nvwa-pay/target/classes/org/bigmouth/nvwa/pay/service/callback/wx/WxCallbackArgument.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/big-mouth-cn/nvwa/6a460cf62c65ed70478a6e9ef3b5a142e8775d19/nvwa-pay/target/classes/org/bigmouth/nvwa/pay/service/callback/wx/WxCallbackArgument.class -------------------------------------------------------------------------------- /nvwa-pay/target/classes/org/bigmouth/nvwa/pay/service/callback/wx/WxCallbackResponse$Respond.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/big-mouth-cn/nvwa/6a460cf62c65ed70478a6e9ef3b5a142e8775d19/nvwa-pay/target/classes/org/bigmouth/nvwa/pay/service/callback/wx/WxCallbackResponse$Respond.class -------------------------------------------------------------------------------- /nvwa-pay/target/classes/org/bigmouth/nvwa/pay/service/callback/wx/WxCallbackResponse.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/big-mouth-cn/nvwa/6a460cf62c65ed70478a6e9ef3b5a142e8775d19/nvwa-pay/target/classes/org/bigmouth/nvwa/pay/service/callback/wx/WxCallbackResponse.class -------------------------------------------------------------------------------- /nvwa-pay/target/classes/org/bigmouth/nvwa/pay/service/pay/Pay.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/big-mouth-cn/nvwa/6a460cf62c65ed70478a6e9ef3b5a142e8775d19/nvwa-pay/target/classes/org/bigmouth/nvwa/pay/service/pay/Pay.class -------------------------------------------------------------------------------- /nvwa-pay/target/classes/org/bigmouth/nvwa/pay/service/pay/PayRequest.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/big-mouth-cn/nvwa/6a460cf62c65ed70478a6e9ef3b5a142e8775d19/nvwa-pay/target/classes/org/bigmouth/nvwa/pay/service/pay/PayRequest.class -------------------------------------------------------------------------------- /nvwa-pay/target/classes/org/bigmouth/nvwa/pay/service/pay/PayResponse.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/big-mouth-cn/nvwa/6a460cf62c65ed70478a6e9ef3b5a142e8775d19/nvwa-pay/target/classes/org/bigmouth/nvwa/pay/service/pay/PayResponse.class -------------------------------------------------------------------------------- /nvwa-pay/target/classes/org/bigmouth/nvwa/pay/service/pay/alipay/AlipayPay.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/big-mouth-cn/nvwa/6a460cf62c65ed70478a6e9ef3b5a142e8775d19/nvwa-pay/target/classes/org/bigmouth/nvwa/pay/service/pay/alipay/AlipayPay.class -------------------------------------------------------------------------------- /nvwa-pay/target/classes/org/bigmouth/nvwa/pay/service/pay/alipay/AlipayPayRequest.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/big-mouth-cn/nvwa/6a460cf62c65ed70478a6e9ef3b5a142e8775d19/nvwa-pay/target/classes/org/bigmouth/nvwa/pay/service/pay/alipay/AlipayPayRequest.class -------------------------------------------------------------------------------- /nvwa-pay/target/classes/org/bigmouth/nvwa/pay/service/prepay/AbstractPrepay.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/big-mouth-cn/nvwa/6a460cf62c65ed70478a6e9ef3b5a142e8775d19/nvwa-pay/target/classes/org/bigmouth/nvwa/pay/service/prepay/AbstractPrepay.class -------------------------------------------------------------------------------- /nvwa-pay/target/classes/org/bigmouth/nvwa/pay/service/prepay/Prepay.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/big-mouth-cn/nvwa/6a460cf62c65ed70478a6e9ef3b5a142e8775d19/nvwa-pay/target/classes/org/bigmouth/nvwa/pay/service/prepay/Prepay.class -------------------------------------------------------------------------------- /nvwa-pay/target/classes/org/bigmouth/nvwa/pay/service/prepay/PrepayInsideRequest.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/big-mouth-cn/nvwa/6a460cf62c65ed70478a6e9ef3b5a142e8775d19/nvwa-pay/target/classes/org/bigmouth/nvwa/pay/service/prepay/PrepayInsideRequest.class -------------------------------------------------------------------------------- /nvwa-pay/target/classes/org/bigmouth/nvwa/pay/service/prepay/PrepayInsideResponse.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/big-mouth-cn/nvwa/6a460cf62c65ed70478a6e9ef3b5a142e8775d19/nvwa-pay/target/classes/org/bigmouth/nvwa/pay/service/prepay/PrepayInsideResponse.class -------------------------------------------------------------------------------- /nvwa-pay/target/classes/org/bigmouth/nvwa/pay/service/prepay/PrepayRequest.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/big-mouth-cn/nvwa/6a460cf62c65ed70478a6e9ef3b5a142e8775d19/nvwa-pay/target/classes/org/bigmouth/nvwa/pay/service/prepay/PrepayRequest.class -------------------------------------------------------------------------------- /nvwa-pay/target/classes/org/bigmouth/nvwa/pay/service/prepay/PrepayResponse.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/big-mouth-cn/nvwa/6a460cf62c65ed70478a6e9ef3b5a142e8775d19/nvwa-pay/target/classes/org/bigmouth/nvwa/pay/service/prepay/PrepayResponse.class -------------------------------------------------------------------------------- /nvwa-pay/target/classes/org/bigmouth/nvwa/pay/service/prepay/wx/WxPrepayInsideRequest.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/big-mouth-cn/nvwa/6a460cf62c65ed70478a6e9ef3b5a142e8775d19/nvwa-pay/target/classes/org/bigmouth/nvwa/pay/service/prepay/wx/WxPrepayInsideRequest.class -------------------------------------------------------------------------------- /nvwa-pay/target/classes/org/bigmouth/nvwa/pay/service/prepay/wx/WxPrepayInsideResponse.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/big-mouth-cn/nvwa/6a460cf62c65ed70478a6e9ef3b5a142e8775d19/nvwa-pay/target/classes/org/bigmouth/nvwa/pay/service/prepay/wx/WxPrepayInsideResponse.class -------------------------------------------------------------------------------- /nvwa-pay/target/classes/org/bigmouth/nvwa/pay/service/prepay/wx/WxPrepayResponse.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/big-mouth-cn/nvwa/6a460cf62c65ed70478a6e9ef3b5a142e8775d19/nvwa-pay/target/classes/org/bigmouth/nvwa/pay/service/prepay/wx/WxPrepayResponse.class -------------------------------------------------------------------------------- /nvwa-pay/target/classes/org/bigmouth/nvwa/pay/service/prepay/wx/WxPrepayServiceImpl.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/big-mouth-cn/nvwa/6a460cf62c65ed70478a6e9ef3b5a142e8775d19/nvwa-pay/target/classes/org/bigmouth/nvwa/pay/service/prepay/wx/WxPrepayServiceImpl.class -------------------------------------------------------------------------------- /nvwa-pay/target/classes/org/bigmouth/nvwa/pay/service/refound/Refound.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/big-mouth-cn/nvwa/6a460cf62c65ed70478a6e9ef3b5a142e8775d19/nvwa-pay/target/classes/org/bigmouth/nvwa/pay/service/refound/Refound.class -------------------------------------------------------------------------------- /nvwa-pay/target/classes/org/bigmouth/nvwa/pay/utils/PayId.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/big-mouth-cn/nvwa/6a460cf62c65ed70478a6e9ef3b5a142e8775d19/nvwa-pay/target/classes/org/bigmouth/nvwa/pay/utils/PayId.class -------------------------------------------------------------------------------- /nvwa-pay/target/nvwa-pay-1.0.0-sources.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/big-mouth-cn/nvwa/6a460cf62c65ed70478a6e9ef3b5a142e8775d19/nvwa-pay/target/nvwa-pay-1.0.0-sources.jar -------------------------------------------------------------------------------- /nvwa-pay/target/test-classes/org/bigmouth/nvwa/pay/test/AlipayTest.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/big-mouth-cn/nvwa/6a460cf62c65ed70478a6e9ef3b5a142e8775d19/nvwa-pay/target/test-classes/org/bigmouth/nvwa/pay/test/AlipayTest.class -------------------------------------------------------------------------------- /nvwa-sap/.gitignore: -------------------------------------------------------------------------------- 1 | /target/ 2 | -------------------------------------------------------------------------------- /nvwa-sap/.settings/org.eclipse.core.resources.prefs: -------------------------------------------------------------------------------- 1 | eclipse.preferences.version=1 2 | encoding//src/main/java=UTF-8 3 | encoding//src/test/java=UTF-8 4 | encoding//src/test/resources=UTF-8 5 | -------------------------------------------------------------------------------- /nvwa-sap/.settings/org.eclipse.m2e.core.prefs: -------------------------------------------------------------------------------- 1 | activeProfiles= 2 | eclipse.preferences.version=1 3 | resolveWorkspaceProjects=true 4 | version=1 5 | -------------------------------------------------------------------------------- /nvwa-sap/.settings/org.eclipse.wst.common.component: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /nvwa-sap/.settings/org.eclipse.wst.common.project.facet.core.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /nvwa-sap/.settings/org.eclipse.wst.validation.prefs: -------------------------------------------------------------------------------- 1 | disabled=06target 2 | eclipse.preferences.version=1 3 | -------------------------------------------------------------------------------- /nvwa-sap/.settings/org.maven.ide.eclipse.prefs: -------------------------------------------------------------------------------- 1 | #Tue Apr 26 17:30:10 CST 2016 2 | activeProfiles= 3 | eclipse.preferences.version=1 4 | fullBuildGoals=process-test-resources 5 | includeModules=false 6 | resolveWorkspaceProjects=true 7 | resourceFilterGoals=process-resources resources\:testResources 8 | skipCompilerPlugin=true 9 | version=1 10 | -------------------------------------------------------------------------------- /nvwa-sap/src/main/java/org/bigmouth/nvwa/sap/Identifiable.java: -------------------------------------------------------------------------------- 1 | package org.bigmouth.nvwa.sap; 2 | 3 | import java.util.UUID; 4 | 5 | public interface Identifiable { 6 | 7 | UUID getIdentification(); 8 | 9 | boolean existIdentification(); 10 | } 11 | -------------------------------------------------------------------------------- /nvwa-sap/src/main/java/org/bigmouth/nvwa/sap/MutableIdentifiable.java: -------------------------------------------------------------------------------- 1 | package org.bigmouth.nvwa.sap; 2 | 3 | import java.util.UUID; 4 | 5 | public interface MutableIdentifiable extends Identifiable { 6 | 7 | void setIdentification(UUID id); 8 | } 9 | -------------------------------------------------------------------------------- /nvwa-sap/src/main/java/org/bigmouth/nvwa/sap/MutableSapMessage.java: -------------------------------------------------------------------------------- 1 | package org.bigmouth.nvwa.sap; 2 | 3 | import org.apache.mina.core.buffer.IoBuffer; 4 | 5 | public interface MutableSapMessage extends SapMessage { 6 | 7 | void setProtocolVer(byte pv); 8 | 9 | void setMessageType(MessageType mt); 10 | 11 | void setContentType(ContentType ct); 12 | 13 | void setContentVer(byte contentVer); 14 | 15 | void setContent(IoBuffer content); 16 | 17 | void setMessage(SapMessage message); 18 | 19 | void normalize(); 20 | } 21 | -------------------------------------------------------------------------------- /nvwa-sap/src/main/java/org/bigmouth/nvwa/sap/MutableSapResponse.java: -------------------------------------------------------------------------------- 1 | package org.bigmouth.nvwa.sap; 2 | 3 | import java.util.List; 4 | 5 | public interface MutableSapResponse extends SapResponse, MutableSapTransactionMessage { 6 | 7 | void setStatus(SapResponseStatus status); 8 | 9 | void addExtendedItem(ExtendedItem item); 10 | 11 | void addExtendedItems(List items); 12 | 13 | void clearExtendedItems(); 14 | } 15 | -------------------------------------------------------------------------------- /nvwa-sap/src/main/java/org/bigmouth/nvwa/sap/MutableSapTransactionMessage.java: -------------------------------------------------------------------------------- 1 | package org.bigmouth.nvwa.sap; 2 | 3 | public interface MutableSapTransactionMessage extends SapTransactionMessage, MutableSapMessage, 4 | MutableIdentifiable { 5 | 6 | } 7 | -------------------------------------------------------------------------------- /nvwa-sap/src/main/java/org/bigmouth/nvwa/sap/SapMessage.java: -------------------------------------------------------------------------------- 1 | package org.bigmouth.nvwa.sap; 2 | 3 | import java.io.Serializable; 4 | 5 | import org.apache.mina.core.buffer.IoBuffer; 6 | 7 | public interface SapMessage extends Serializable { 8 | 9 | byte getProtocolVer(); 10 | 11 | MessageType getMessageType(); 12 | 13 | ContentType getContentType(); 14 | 15 | byte getContentVer(); 16 | 17 | int getContentLength(); 18 | 19 | /** 20 | * PROBLEM:Coupled with MINA. 21 | */ 22 | IoBuffer getContent(); 23 | } 24 | -------------------------------------------------------------------------------- /nvwa-sap/src/main/java/org/bigmouth/nvwa/sap/SapResponse.java: -------------------------------------------------------------------------------- 1 | package org.bigmouth.nvwa.sap; 2 | 3 | import java.util.List; 4 | 5 | public interface SapResponse extends SapTransactionMessage { 6 | 7 | SapResponseStatus getStatus(); 8 | 9 | boolean existsExtendedItems(); 10 | 11 | List getExtendedItems(); 12 | 13 | int getExtendedItemsCount(); 14 | } 15 | -------------------------------------------------------------------------------- /nvwa-sap/src/main/java/org/bigmouth/nvwa/sap/SapTransactionMessage.java: -------------------------------------------------------------------------------- 1 | package org.bigmouth.nvwa.sap; 2 | 3 | public interface SapTransactionMessage extends SapMessage, Identifiable { 4 | 5 | } 6 | -------------------------------------------------------------------------------- /nvwa-sap/src/main/java/org/bigmouth/nvwa/sap/namecode/MutableNameCodeMapper.java: -------------------------------------------------------------------------------- 1 | package org.bigmouth.nvwa.sap.namecode; 2 | 3 | import java.util.Set; 4 | 5 | public interface MutableNameCodeMapper extends NameCodeMapper { 6 | 7 | void update(Set slist); 8 | } 9 | -------------------------------------------------------------------------------- /nvwa-sap/src/main/java/org/bigmouth/nvwa/sap/namecode/NameCodeMapper.java: -------------------------------------------------------------------------------- 1 | package org.bigmouth.nvwa.sap.namecode; 2 | 3 | public interface NameCodeMapper { 4 | 5 | PlugInServiceNamePair getNameOf(PlugInServiceCodePair cs) throws NoSuchNameCodeMappingException; 6 | 7 | PlugInServiceCodePair getCodeOf(PlugInServiceNamePair ns) throws NoSuchNameCodeMappingException; 8 | } 9 | -------------------------------------------------------------------------------- /nvwa-sap/src/main/java/org/bigmouth/nvwa/sap/namecode/NameCodePair.java: -------------------------------------------------------------------------------- 1 | package org.bigmouth.nvwa.sap.namecode; 2 | 3 | public interface NameCodePair extends PlugInServiceNamePair, PlugInServiceCodePair { 4 | 5 | @Override 6 | String getPlugInName(); 7 | 8 | @Override 9 | short getPlugInCode(); 10 | 11 | @Override 12 | String getServiceName(); 13 | 14 | @Override 15 | short getServiceCode(); 16 | } 17 | -------------------------------------------------------------------------------- /nvwa-sap/src/main/java/org/bigmouth/nvwa/sap/namecode/PlugInServiceCodePair.java: -------------------------------------------------------------------------------- 1 | package org.bigmouth.nvwa.sap.namecode; 2 | 3 | public interface PlugInServiceCodePair { 4 | short getPlugInCode(); 5 | 6 | short getServiceCode(); 7 | } 8 | -------------------------------------------------------------------------------- /nvwa-sap/src/main/java/org/bigmouth/nvwa/sap/namecode/PlugInServiceNamePair.java: -------------------------------------------------------------------------------- 1 | package org.bigmouth.nvwa.sap.namecode; 2 | 3 | public interface PlugInServiceNamePair { 4 | 5 | String getPlugInName(); 6 | 7 | String getServiceName(); 8 | } 9 | -------------------------------------------------------------------------------- /nvwa-session/.gitignore: -------------------------------------------------------------------------------- 1 | /target/ 2 | -------------------------------------------------------------------------------- /nvwa-session/.settings/org.eclipse.core.resources.prefs: -------------------------------------------------------------------------------- 1 | eclipse.preferences.version=1 2 | encoding//src/main/java=UTF-8 3 | -------------------------------------------------------------------------------- /nvwa-session/.settings/org.eclipse.m2e.core.prefs: -------------------------------------------------------------------------------- 1 | activeProfiles= 2 | eclipse.preferences.version=1 3 | resolveWorkspaceProjects=true 4 | version=1 5 | -------------------------------------------------------------------------------- /nvwa-session/.settings/org.eclipse.wst.common.component: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /nvwa-session/.settings/org.eclipse.wst.common.project.facet.core.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /nvwa-session/.settings/org.eclipse.wst.validation.prefs: -------------------------------------------------------------------------------- 1 | disabled=06target 2 | eclipse.preferences.version=1 3 | -------------------------------------------------------------------------------- /nvwa-session/.settings/org.maven.ide.eclipse.prefs: -------------------------------------------------------------------------------- 1 | #Tue Apr 26 17:30:08 CST 2016 2 | activeProfiles= 3 | eclipse.preferences.version=1 4 | fullBuildGoals=process-test-resources 5 | includeModules=false 6 | resolveWorkspaceProjects=true 7 | resourceFilterGoals=process-resources resources\:testResources 8 | skipCompilerPlugin=true 9 | version=1 10 | -------------------------------------------------------------------------------- /nvwa-session/src/main/java/org/bigmouth/nvwa/session/MutableSession.java: -------------------------------------------------------------------------------- 1 | package org.bigmouth.nvwa.session; 2 | 3 | public interface MutableSession extends Session { 4 | 5 | void update(long time); 6 | 7 | void setHolder(SessionHolder holder); 8 | } 9 | -------------------------------------------------------------------------------- /nvwa-session/src/main/java/org/bigmouth/nvwa/session/Trackable.java: -------------------------------------------------------------------------------- 1 | package org.bigmouth.nvwa.session; 2 | 3 | 4 | public interface Trackable { 5 | 6 | String getTrackId(); 7 | } 8 | -------------------------------------------------------------------------------- /nvwa-session/src/main/java/org/bigmouth/nvwa/session/annotation/SessionSupport.java: -------------------------------------------------------------------------------- 1 | package org.bigmouth.nvwa.session.annotation; 2 | 3 | import java.lang.annotation.ElementType; 4 | import java.lang.annotation.Retention; 5 | import java.lang.annotation.RetentionPolicy; 6 | import java.lang.annotation.Target; 7 | 8 | @Target(ElementType.TYPE) 9 | @Retention(RetentionPolicy.RUNTIME) 10 | public @interface SessionSupport { 11 | 12 | } 13 | -------------------------------------------------------------------------------- /nvwa-spring/.gitignore: -------------------------------------------------------------------------------- 1 | /target/ 2 | -------------------------------------------------------------------------------- /nvwa-spring/.settings/org.eclipse.core.resources.prefs: -------------------------------------------------------------------------------- 1 | eclipse.preferences.version=1 2 | encoding//src/main/java=UTF-8 3 | -------------------------------------------------------------------------------- /nvwa-spring/.settings/org.eclipse.m2e.core.prefs: -------------------------------------------------------------------------------- 1 | activeProfiles= 2 | eclipse.preferences.version=1 3 | resolveWorkspaceProjects=true 4 | version=1 5 | -------------------------------------------------------------------------------- /nvwa-spring/.settings/org.eclipse.wst.common.component: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /nvwa-spring/.settings/org.eclipse.wst.common.project.facet.core.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /nvwa-spring/.settings/org.eclipse.wst.validation.prefs: -------------------------------------------------------------------------------- 1 | disabled=06target 2 | eclipse.preferences.version=1 3 | -------------------------------------------------------------------------------- /nvwa-spring/.settings/org.maven.ide.eclipse.prefs: -------------------------------------------------------------------------------- 1 | #Tue Apr 26 17:30:07 CST 2016 2 | activeProfiles= 3 | eclipse.preferences.version=1 4 | fullBuildGoals=process-test-resources 5 | includeModules=false 6 | resolveWorkspaceProjects=true 7 | resourceFilterGoals=process-resources resources\:testResources 8 | skipCompilerPlugin=true 9 | version=1 10 | -------------------------------------------------------------------------------- /nvwa-spring/bin/org/bigmouth/nvwa/spring/SpringContextHolder.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/big-mouth-cn/nvwa/6a460cf62c65ed70478a6e9ef3b5a142e8775d19/nvwa-spring/bin/org/bigmouth/nvwa/spring/SpringContextHolder.class -------------------------------------------------------------------------------- /nvwa-transport/.gitignore: -------------------------------------------------------------------------------- 1 | /target/ 2 | -------------------------------------------------------------------------------- /nvwa-transport/.settings/org.eclipse.core.resources.prefs: -------------------------------------------------------------------------------- 1 | eclipse.preferences.version=1 2 | encoding//src/main/java=UTF-8 3 | -------------------------------------------------------------------------------- /nvwa-transport/.settings/org.eclipse.m2e.core.prefs: -------------------------------------------------------------------------------- 1 | activeProfiles= 2 | eclipse.preferences.version=1 3 | resolveWorkspaceProjects=true 4 | version=1 5 | -------------------------------------------------------------------------------- /nvwa-transport/.settings/org.eclipse.wst.common.component: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /nvwa-transport/.settings/org.eclipse.wst.common.project.facet.core.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /nvwa-transport/.settings/org.eclipse.wst.validation.prefs: -------------------------------------------------------------------------------- 1 | disabled=06target 2 | eclipse.preferences.version=1 3 | -------------------------------------------------------------------------------- /nvwa-transport/.settings/org.maven.ide.eclipse.prefs: -------------------------------------------------------------------------------- 1 | #Tue Apr 26 17:30:09 CST 2016 2 | activeProfiles= 3 | eclipse.preferences.version=1 4 | fullBuildGoals=process-test-resources 5 | includeModules=false 6 | resolveWorkspaceProjects=true 7 | resourceFilterGoals=process-resources resources\:testResources 8 | skipCompilerPlugin=true 9 | version=1 10 | -------------------------------------------------------------------------------- /nvwa-transport/src/main/java/org/bigmouth/nvwa/transport/CallbackSender.java: -------------------------------------------------------------------------------- 1 | package org.bigmouth.nvwa.transport; 2 | 3 | import org.bigmouth.nvwa.utils.Closure; 4 | 5 | public interface CallbackSender extends Sender { 6 | 7 | void setCallback(Closure closure); 8 | } 9 | -------------------------------------------------------------------------------- /nvwa-transport/src/main/java/org/bigmouth/nvwa/transport/Receiver.java: -------------------------------------------------------------------------------- 1 | package org.bigmouth.nvwa.transport; 2 | 3 | import org.bigmouth.nvwa.utils.Closure; 4 | 5 | public interface Receiver { 6 | 7 | void init(); 8 | 9 | void destroy(); 10 | 11 | void setReactor(Closure reactor); 12 | } 13 | -------------------------------------------------------------------------------- /nvwa-transport/src/main/java/org/bigmouth/nvwa/transport/Replier.java: -------------------------------------------------------------------------------- 1 | package org.bigmouth.nvwa.transport; 2 | 3 | import org.bigmouth.nvwa.sap.Identifiable; 4 | 5 | public interface Replier { 6 | 7 | void reply(Identifiable packet, boolean completeClose); 8 | 9 | /** 10 | * send back packet,but do not close connection.
11 | * equals invoke sendback(packet, false);
12 | * 13 | * @param packet 14 | */ 15 | void reply(Identifiable packet); 16 | 17 | void closeSession(Identifiable packet, boolean immediately); 18 | } 19 | -------------------------------------------------------------------------------- /nvwa-transport/src/main/java/org/bigmouth/nvwa/transport/ReplyReceiver.java: -------------------------------------------------------------------------------- 1 | package org.bigmouth.nvwa.transport; 2 | 3 | public interface ReplyReceiver extends Receiver { 4 | 5 | void setReplier(Replier replier); 6 | } 7 | -------------------------------------------------------------------------------- /nvwa-transport/src/main/java/org/bigmouth/nvwa/transport/Sender.java: -------------------------------------------------------------------------------- 1 | package org.bigmouth.nvwa.transport; 2 | 3 | 4 | public interface Sender { 5 | 6 | void init(); 7 | 8 | void destroy(); 9 | 10 | void send(Object message); 11 | 12 | SenderStatus getStatus(); 13 | } 14 | -------------------------------------------------------------------------------- /nvwa-transport/src/main/java/org/bigmouth/nvwa/transport/SenderFactory.java: -------------------------------------------------------------------------------- 1 | package org.bigmouth.nvwa.transport; 2 | 3 | import java.net.InetSocketAddress; 4 | 5 | public interface SenderFactory { 6 | 7 | Sender create(InetSocketAddress targetAddress); 8 | } 9 | -------------------------------------------------------------------------------- /nvwa-transport/src/main/java/org/bigmouth/nvwa/transport/TargetSessionLocator.java: -------------------------------------------------------------------------------- 1 | package org.bigmouth.nvwa.transport; 2 | 3 | import org.apache.mina.core.session.IoSession; 4 | 5 | public interface TargetSessionLocator { 6 | 7 | IoSession lookup(); 8 | 9 | int getSessions(); 10 | 11 | void destroy(); 12 | } 13 | -------------------------------------------------------------------------------- /nvwa-transport/src/main/java/org/bigmouth/nvwa/transport/TargetSessionLocatorBuilder.java: -------------------------------------------------------------------------------- 1 | package org.bigmouth.nvwa.transport; 2 | 3 | import java.net.InetSocketAddress; 4 | 5 | import org.apache.mina.core.service.IoConnector; 6 | 7 | public interface TargetSessionLocatorBuilder { 8 | 9 | TargetSessionLocator build(IoConnector connector, InetSocketAddress endPointAddress, 10 | String threadName); 11 | } 12 | -------------------------------------------------------------------------------- /nvwa-transport/src/main/java/org/bigmouth/nvwa/transport/failover/SenderListener.java: -------------------------------------------------------------------------------- 1 | package org.bigmouth.nvwa.transport.failover; 2 | 3 | import java.util.EventListener; 4 | 5 | //TODO: 6 | public interface SenderListener extends EventListener { 7 | 8 | } 9 | -------------------------------------------------------------------------------- /nvwa-utils/.gitignore: -------------------------------------------------------------------------------- 1 | /target/ 2 | -------------------------------------------------------------------------------- /nvwa-utils/.settings/org.eclipse.core.resources.prefs: -------------------------------------------------------------------------------- 1 | eclipse.preferences.version=1 2 | encoding//src/main/java=UTF-8 3 | encoding//src/test/java=UTF-8 4 | -------------------------------------------------------------------------------- /nvwa-utils/.settings/org.eclipse.m2e.core.prefs: -------------------------------------------------------------------------------- 1 | activeProfiles= 2 | eclipse.preferences.version=1 3 | resolveWorkspaceProjects=true 4 | version=1 5 | -------------------------------------------------------------------------------- /nvwa-utils/.settings/org.eclipse.wst.common.component: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /nvwa-utils/.settings/org.eclipse.wst.common.project.facet.core.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /nvwa-utils/.settings/org.eclipse.wst.validation.prefs: -------------------------------------------------------------------------------- 1 | disabled=06target 2 | eclipse.preferences.version=1 3 | -------------------------------------------------------------------------------- /nvwa-utils/.settings/org.maven.ide.eclipse.prefs: -------------------------------------------------------------------------------- 1 | #Fri Mar 18 15:26:53 CST 2016 2 | activeProfiles= 3 | eclipse.preferences.version=1 4 | fullBuildGoals=process-test-resources 5 | includeModules=false 6 | resolveWorkspaceProjects=true 7 | resourceFilterGoals=process-resources resources\:testResources 8 | skipCompilerPlugin=true 9 | version=1 10 | -------------------------------------------------------------------------------- /nvwa-utils/src/main/java/org/bigmouth/nvwa/utils/BroadcastStrategy.java: -------------------------------------------------------------------------------- 1 | package org.bigmouth.nvwa.utils; 2 | 3 | public enum BroadcastStrategy { 4 | 5 | CONTINUE, INTERRUPT; 6 | 7 | } 8 | -------------------------------------------------------------------------------- /nvwa-utils/src/main/java/org/bigmouth/nvwa/utils/CloneableBean.java: -------------------------------------------------------------------------------- 1 | package org.bigmouth.nvwa.utils; 2 | 3 | public class CloneableBean implements Cloneable { 4 | 5 | public Object clone() throws CloneNotSupportedException { 6 | return super.clone(); 7 | } 8 | 9 | } 10 | -------------------------------------------------------------------------------- /nvwa-utils/src/main/java/org/bigmouth/nvwa/utils/Closure.java: -------------------------------------------------------------------------------- 1 | package org.bigmouth.nvwa.utils; 2 | 3 | public interface Closure { 4 | 5 | public void execute(Object input); 6 | 7 | } 8 | -------------------------------------------------------------------------------- /nvwa-utils/src/main/java/org/bigmouth/nvwa/utils/Factory.java: -------------------------------------------------------------------------------- 1 | package org.bigmouth.nvwa.utils; 2 | 3 | public interface Factory { 4 | 5 | T create(); 6 | } 7 | -------------------------------------------------------------------------------- /nvwa-utils/src/main/java/org/bigmouth/nvwa/utils/Identifiable.java: -------------------------------------------------------------------------------- 1 | package org.bigmouth.nvwa.utils; 2 | 3 | public interface Identifiable { 4 | 5 | T getId(); 6 | } 7 | -------------------------------------------------------------------------------- /nvwa-utils/src/main/java/org/bigmouth/nvwa/utils/Null.java: -------------------------------------------------------------------------------- 1 | package org.bigmouth.nvwa.utils; 2 | 3 | /** 4 | * marked interface 5 | * 6 | * @author nada 7 | * 8 | */ 9 | public interface Null { 10 | 11 | } 12 | -------------------------------------------------------------------------------- /nvwa-utils/src/main/java/org/bigmouth/nvwa/utils/Nullable.java: -------------------------------------------------------------------------------- 1 | package org.bigmouth.nvwa.utils; 2 | 3 | public interface Nullable { 4 | 5 | boolean isNull(); 6 | } 7 | -------------------------------------------------------------------------------- /nvwa-utils/src/main/java/org/bigmouth/nvwa/utils/ObjectTransformer.java: -------------------------------------------------------------------------------- 1 | package org.bigmouth.nvwa.utils; 2 | 3 | public interface ObjectTransformer extends Transformer { 4 | 5 | @Override 6 | public Object transform(Object from); 7 | 8 | } 9 | -------------------------------------------------------------------------------- /nvwa-utils/src/main/java/org/bigmouth/nvwa/utils/Transformer.java: -------------------------------------------------------------------------------- 1 | /** 2 | * 3 | */ 4 | package org.bigmouth.nvwa.utils; 5 | 6 | /** 7 | * @author hp 8 | * 9 | */ 10 | public interface Transformer { 11 | 12 | public TO transform(FROM from); 13 | 14 | } 15 | -------------------------------------------------------------------------------- /nvwa-utils/src/main/java/org/bigmouth/nvwa/utils/change/ChangeListener.java: -------------------------------------------------------------------------------- 1 | package org.bigmouth.nvwa.utils.change; 2 | 3 | import java.util.EventListener; 4 | 5 | public interface ChangeListener extends EventListener { 6 | 7 | void onChanged(ChangeEvent event); 8 | } 9 | -------------------------------------------------------------------------------- /nvwa-utils/src/main/java/org/bigmouth/nvwa/utils/exception/SystemException.java: -------------------------------------------------------------------------------- 1 | package org.bigmouth.nvwa.utils.exception; 2 | 3 | public class SystemException extends Exception { 4 | 5 | private static final long serialVersionUID = 7353822421055809652L; 6 | 7 | public SystemException() { 8 | super(); 9 | } 10 | 11 | public SystemException(String message, Throwable cause) { 12 | super(message, cause); 13 | } 14 | 15 | public SystemException(String message) { 16 | super(message); 17 | } 18 | 19 | public SystemException(Throwable cause) { 20 | super(cause); 21 | } 22 | } 23 | -------------------------------------------------------------------------------- /nvwa-utils/src/main/java/org/bigmouth/nvwa/utils/jms/DefaultMessageBeanFactory.java: -------------------------------------------------------------------------------- 1 | package org.bigmouth.nvwa.utils.jms; 2 | 3 | /** 4 | * using java default serialize mechanism. 5 | * 6 | * @author nada 7 | * 8 | */ 9 | public class DefaultMessageBeanFactory implements MessageBeanFactory { 10 | 11 | @Override 12 | public MessageBean createMessageBean(String sql, Object[][] argumentsList) { 13 | return new DefaultMessageBean(sql, argumentsList); 14 | } 15 | 16 | } 17 | -------------------------------------------------------------------------------- /nvwa-utils/src/main/java/org/bigmouth/nvwa/utils/jms/MessageBean.java: -------------------------------------------------------------------------------- 1 | package org.bigmouth.nvwa.utils.jms; 2 | 3 | public interface MessageBean { 4 | 5 | public String getSql(); 6 | 7 | public Object[][] getArgumentsList(); 8 | 9 | } 10 | -------------------------------------------------------------------------------- /nvwa-utils/src/main/java/org/bigmouth/nvwa/utils/jms/MessageBeanFactory.java: -------------------------------------------------------------------------------- 1 | package org.bigmouth.nvwa.utils.jms; 2 | 3 | public interface MessageBeanFactory { 4 | 5 | public MessageBean createMessageBean(String sql, Object[][] argumentsList); 6 | 7 | } 8 | -------------------------------------------------------------------------------- /nvwa-utils/src/main/java/org/bigmouth/nvwa/utils/jmx/mina/IoServiceStatisticsGetter.java: -------------------------------------------------------------------------------- 1 | package org.bigmouth.nvwa.utils.jmx.mina; 2 | 3 | import org.apache.mina.core.service.IoServiceStatistics; 4 | 5 | public interface IoServiceStatisticsGetter { 6 | 7 | IoServiceStatistics getIoStatistics(); 8 | } 9 | -------------------------------------------------------------------------------- /nvwa-utils/src/main/java/org/bigmouth/nvwa/utils/jmx/server/ConnectProtocol.java: -------------------------------------------------------------------------------- 1 | package org.bigmouth.nvwa.utils.jmx.server; 2 | 3 | public enum ConnectProtocol { 4 | RMI, JMXMP; 5 | } 6 | -------------------------------------------------------------------------------- /nvwa-validate/.gitignore: -------------------------------------------------------------------------------- 1 | /target/ 2 | -------------------------------------------------------------------------------- /nvwa-validate/.settings/org.eclipse.core.resources.prefs: -------------------------------------------------------------------------------- 1 | eclipse.preferences.version=1 2 | encoding//src/main/java=UTF-8 3 | encoding//src/test/java=UTF-8 4 | encoding//src/test/resources=UTF-8 5 | -------------------------------------------------------------------------------- /nvwa-validate/.settings/org.eclipse.m2e.core.prefs: -------------------------------------------------------------------------------- 1 | activeProfiles= 2 | eclipse.preferences.version=1 3 | resolveWorkspaceProjects=true 4 | version=1 5 | -------------------------------------------------------------------------------- /nvwa-validate/.settings/org.eclipse.wst.common.component: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /nvwa-validate/.settings/org.eclipse.wst.common.project.facet.core.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /nvwa-validate/.settings/org.eclipse.wst.validation.prefs: -------------------------------------------------------------------------------- 1 | disabled=06target 2 | eclipse.preferences.version=1 3 | -------------------------------------------------------------------------------- /nvwa-validate/.settings/org.maven.ide.eclipse.prefs: -------------------------------------------------------------------------------- 1 | #Tue Apr 26 17:30:09 CST 2016 2 | activeProfiles= 3 | eclipse.preferences.version=1 4 | fullBuildGoals=process-test-resources 5 | includeModules=false 6 | resolveWorkspaceProjects=true 7 | resourceFilterGoals=process-resources resources\:testResources 8 | skipCompilerPlugin=true 9 | version=1 10 | -------------------------------------------------------------------------------- /nvwa-validate/src/main/java/org/bigmouth/nvwa/validate/NoopValidator.java: -------------------------------------------------------------------------------- 1 | package org.bigmouth.nvwa.validate; 2 | 3 | public class NoopValidator implements Validator { 4 | 5 | @Override 6 | public String getConstraintDesc() { 7 | return "Noop"; 8 | } 9 | 10 | @Override 11 | public void validate(Object input) throws ValidateException, ConstraintViolationException { 12 | // Empty Handler 13 | } 14 | } 15 | -------------------------------------------------------------------------------- /nvwa-validate/src/main/java/org/bigmouth/nvwa/validate/ValidateException.java: -------------------------------------------------------------------------------- 1 | package org.bigmouth.nvwa.validate; 2 | 3 | public class ValidateException extends RuntimeException { 4 | 5 | private static final long serialVersionUID = 4547484243849462306L; 6 | 7 | public ValidateException() { 8 | super(); 9 | } 10 | 11 | public ValidateException(String message, Throwable cause) { 12 | super(message, cause); 13 | } 14 | 15 | public ValidateException(String message) { 16 | super(message); 17 | } 18 | 19 | public ValidateException(Throwable cause) { 20 | super(cause); 21 | } 22 | } 23 | -------------------------------------------------------------------------------- /nvwa-validate/src/main/java/org/bigmouth/nvwa/validate/Validator.java: -------------------------------------------------------------------------------- 1 | package org.bigmouth.nvwa.validate; 2 | 3 | public interface Validator { 4 | 5 | void validate(Object input) throws ValidateException, ConstraintViolationException; 6 | 7 | String getConstraintDesc(); 8 | } 9 | -------------------------------------------------------------------------------- /nvwa-validate/src/main/java/org/bigmouth/nvwa/validate/annotation/ValidateCustom.java: -------------------------------------------------------------------------------- 1 | package org.bigmouth.nvwa.validate.annotation; 2 | 3 | import java.lang.annotation.ElementType; 4 | import java.lang.annotation.Retention; 5 | import java.lang.annotation.RetentionPolicy; 6 | import java.lang.annotation.Target; 7 | 8 | import org.bigmouth.nvwa.validate.NoopValidator; 9 | import org.bigmouth.nvwa.validate.Validator; 10 | 11 | 12 | @Target(ElementType.FIELD) 13 | @Retention(RetentionPolicy.RUNTIME) 14 | public @interface ValidateCustom { 15 | 16 | Class validator() default NoopValidator.class; 17 | } 18 | -------------------------------------------------------------------------------- /nvwa-validate/src/main/java/org/bigmouth/nvwa/validate/annotation/ValidateLength.java: -------------------------------------------------------------------------------- 1 | package org.bigmouth.nvwa.validate.annotation; 2 | 3 | import java.lang.annotation.ElementType; 4 | import java.lang.annotation.Retention; 5 | import java.lang.annotation.RetentionPolicy; 6 | import java.lang.annotation.Target; 7 | 8 | /** 9 | * Only for String. 10 | * 11 | * @author nada 12 | * 13 | */ 14 | @Target(ElementType.FIELD) 15 | @Retention(RetentionPolicy.RUNTIME) 16 | public @interface ValidateLength { 17 | 18 | int min() default 0; 19 | 20 | int max() default Integer.MAX_VALUE; 21 | } 22 | -------------------------------------------------------------------------------- /nvwa-validate/src/main/java/org/bigmouth/nvwa/validate/annotation/ValidateNotGreatThan.java: -------------------------------------------------------------------------------- 1 | package org.bigmouth.nvwa.validate.annotation; 2 | 3 | import java.lang.annotation.ElementType; 4 | import java.lang.annotation.Retention; 5 | import java.lang.annotation.RetentionPolicy; 6 | import java.lang.annotation.Target; 7 | 8 | /** 9 | * Only for numeric comparison. 10 | * 11 | * @author nada 12 | * 13 | */ 14 | @Target(ElementType.FIELD) 15 | @Retention(RetentionPolicy.RUNTIME) 16 | public @interface ValidateNotGreatThan { 17 | 18 | String compareField(); 19 | } 20 | -------------------------------------------------------------------------------- /nvwa-validate/src/main/java/org/bigmouth/nvwa/validate/annotation/ValidateNotLaterThan.java: -------------------------------------------------------------------------------- 1 | package org.bigmouth.nvwa.validate.annotation; 2 | 3 | import java.lang.annotation.ElementType; 4 | import java.lang.annotation.Retention; 5 | import java.lang.annotation.RetentionPolicy; 6 | import java.lang.annotation.Target; 7 | 8 | /** 9 | * Only for Date comparison. 10 | * 11 | * @author nada 12 | * 13 | */ 14 | @Target(ElementType.FIELD) 15 | @Retention(RetentionPolicy.RUNTIME) 16 | public @interface ValidateNotLaterThan { 17 | 18 | String compareField(); 19 | } 20 | -------------------------------------------------------------------------------- /nvwa-validate/src/main/java/org/bigmouth/nvwa/validate/annotation/ValidateNotNull.java: -------------------------------------------------------------------------------- 1 | package org.bigmouth.nvwa.validate.annotation; 2 | 3 | import java.lang.annotation.ElementType; 4 | import java.lang.annotation.Retention; 5 | import java.lang.annotation.RetentionPolicy; 6 | import java.lang.annotation.Target; 7 | 8 | @Target(ElementType.FIELD) 9 | @Retention(RetentionPolicy.RUNTIME) 10 | public @interface ValidateNotNull { 11 | 12 | } 13 | -------------------------------------------------------------------------------- /nvwa-validate/src/main/java/org/bigmouth/nvwa/validate/annotation/ValidateNumeric.java: -------------------------------------------------------------------------------- 1 | package org.bigmouth.nvwa.validate.annotation; 2 | 3 | import java.lang.annotation.ElementType; 4 | import java.lang.annotation.Retention; 5 | import java.lang.annotation.RetentionPolicy; 6 | import java.lang.annotation.Target; 7 | 8 | @Target(ElementType.FIELD) 9 | @Retention(RetentionPolicy.RUNTIME) 10 | public @interface ValidateNumeric { 11 | 12 | long min() default Long.MIN_VALUE; 13 | 14 | long max() default Long.MAX_VALUE; 15 | } 16 | -------------------------------------------------------------------------------- /nvwa-validate/src/main/java/org/bigmouth/nvwa/validate/annotation/ValidatePattern.java: -------------------------------------------------------------------------------- 1 | package org.bigmouth.nvwa.validate.annotation; 2 | 3 | import java.lang.annotation.ElementType; 4 | import java.lang.annotation.Retention; 5 | import java.lang.annotation.RetentionPolicy; 6 | import java.lang.annotation.Target; 7 | 8 | /** 9 | * Only for String. 10 | * 11 | * @author nada 12 | * 13 | */ 14 | @Target(ElementType.FIELD) 15 | @Retention(RetentionPolicy.RUNTIME) 16 | public @interface ValidatePattern { 17 | 18 | String value(); 19 | } 20 | -------------------------------------------------------------------------------- /nvwa-validate/src/main/java/org/bigmouth/nvwa/validate/factory/ValidatorFactory.java: -------------------------------------------------------------------------------- 1 | package org.bigmouth.nvwa.validate.factory; 2 | 3 | import org.bigmouth.nvwa.validate.Validator; 4 | 5 | public interface ValidatorFactory { 6 | 7 | // TODO: 8 | Validator create(Class beanClass); 9 | } 10 | -------------------------------------------------------------------------------- /nvwa-xmemcached/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/big-mouth-cn/nvwa/6a460cf62c65ed70478a6e9ef3b5a142e8775d19/nvwa-xmemcached/.DS_Store -------------------------------------------------------------------------------- /nvwa-xmemcached/.gitignore: -------------------------------------------------------------------------------- 1 | /target/ 2 | -------------------------------------------------------------------------------- /nvwa-xmemcached/.settings/org.eclipse.core.resources.prefs: -------------------------------------------------------------------------------- 1 | eclipse.preferences.version=1 2 | encoding//src/main/java=UTF-8 3 | encoding//src/test/java=UTF-8 4 | encoding//src/test/resources=UTF-8 5 | -------------------------------------------------------------------------------- /nvwa-xmemcached/.settings/org.eclipse.m2e.core.prefs: -------------------------------------------------------------------------------- 1 | activeProfiles= 2 | eclipse.preferences.version=1 3 | resolveWorkspaceProjects=true 4 | version=1 5 | -------------------------------------------------------------------------------- /nvwa-xmemcached/.settings/org.eclipse.wst.common.component: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /nvwa-xmemcached/.settings/org.eclipse.wst.common.project.facet.core.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /nvwa-xmemcached/.settings/org.eclipse.wst.validation.prefs: -------------------------------------------------------------------------------- 1 | disabled=06target 2 | eclipse.preferences.version=1 3 | -------------------------------------------------------------------------------- /nvwa-xmemcached/.settings/org.maven.ide.eclipse.prefs: -------------------------------------------------------------------------------- 1 | #Tue Apr 26 17:30:09 CST 2016 2 | activeProfiles= 3 | eclipse.preferences.version=1 4 | fullBuildGoals=process-test-resources 5 | includeModules=false 6 | resolveWorkspaceProjects=true 7 | resourceFilterGoals=process-resources resources\:testResources 8 | skipCompilerPlugin=true 9 | version=1 10 | -------------------------------------------------------------------------------- /nvwa-xmemcached/src/main/java/net/rubyeye/xmemcached/command/AssocCommandAware.java: -------------------------------------------------------------------------------- 1 | package net.rubyeye.xmemcached.command; 2 | 3 | import java.util.List; 4 | 5 | /** 6 | * Assoc commands aware interface.Association commands mean that commands has 7 | * the same key. 8 | * 9 | * @author dennis 10 | * 11 | */ 12 | public interface AssocCommandAware { 13 | public List getAssocCommands(); 14 | 15 | public void setAssocCommands(List assocCommands); 16 | } 17 | -------------------------------------------------------------------------------- /nvwa-xmemcached/src/main/java/net/rubyeye/xmemcached/command/CommandType.java: -------------------------------------------------------------------------------- 1 | package net.rubyeye.xmemcached.command; 2 | 3 | /** 4 | * Command Type for memcached protocol. 5 | * 6 | * @author dennis 7 | * 8 | */ 9 | public enum CommandType { 10 | 11 | NOOP, STATS, FLUSH_ALL, GET_ONE, GET_MANY, SET, REPLACE, ADD, EXCEPTION, DELETE, VERSION, QUIT, INCR, DECR, GETS_ONE, GETS_MANY, CAS, APPEND, PREPEND, GET_HIT, GET_MISS, VERBOSITY, AUTH_LIST, AUTH_START, AUTH_STEP; 12 | } -------------------------------------------------------------------------------- /nvwa-xmemcached/src/main/java/net/rubyeye/xmemcached/command/MapReturnValueAware.java: -------------------------------------------------------------------------------- 1 | package net.rubyeye.xmemcached.command; 2 | 3 | import java.util.Map; 4 | 5 | import net.rubyeye.xmemcached.transcoders.CachedData; 6 | 7 | /** 8 | * Command which implement this interface,it's return value is a map 9 | * 10 | * @author dennis 11 | * 12 | */ 13 | public interface MapReturnValueAware { 14 | 15 | public abstract Map getReturnValues(); 16 | 17 | } -------------------------------------------------------------------------------- /nvwa-xmemcached/src/main/java/net/rubyeye/xmemcached/command/MergeCommandsAware.java: -------------------------------------------------------------------------------- 1 | package net.rubyeye.xmemcached.command; 2 | 3 | import java.util.Map; 4 | 5 | /** 6 | * Merge commands aware interface.Merge commands mean that merge get commands to 7 | * a bulk-get commands. 8 | * 9 | * @author boyan 10 | * 11 | */ 12 | public interface MergeCommandsAware { 13 | 14 | public Map getMergeCommands(); 15 | 16 | public void setMergeCommands(Map mergeCommands); 17 | 18 | } 19 | -------------------------------------------------------------------------------- /nvwa-xmemcached/src/main/java/net/rubyeye/xmemcached/command/OperationStatus.java: -------------------------------------------------------------------------------- 1 | package net.rubyeye.xmemcached.command; 2 | /** 3 | * Command status. 4 | * @author dennis 5 | * 6 | */ 7 | public enum OperationStatus { 8 | SENDING,WRITING, SENT, PROCESSING, DONE, CANCEL; 9 | } 10 | -------------------------------------------------------------------------------- /nvwa-xmemcached/src/main/java/net/rubyeye/xmemcached/monitor/MemcachedClientNameHolder.java: -------------------------------------------------------------------------------- 1 | package net.rubyeye.xmemcached.monitor; 2 | 3 | /** 4 | * MemcachedClient insntance name holder 5 | * 6 | * @author dennis 7 | * 8 | */ 9 | public class MemcachedClientNameHolder { 10 | private static ThreadLocal cacheName = new ThreadLocal(); 11 | 12 | public static void setName(String name) { 13 | cacheName.set(name); 14 | } 15 | 16 | public static String getName(){ 17 | return cacheName.get(); 18 | } 19 | 20 | public static void clear() { 21 | cacheName.remove(); 22 | } 23 | 24 | } 25 | -------------------------------------------------------------------------------- /nvwa-xmemcached/src/main/java/net/rubyeye/xmemcached/networking/MemcachedSessionConnectListener.java: -------------------------------------------------------------------------------- 1 | package net.rubyeye.xmemcached.networking; 2 | 3 | import net.rubyeye.xmemcached.MemcachedClient; 4 | /** 5 | * 6 | * @author dennis 7 | * 8 | */ 9 | public interface MemcachedSessionConnectListener { 10 | 11 | public void onConnect(MemcachedSession session, MemcachedClient client); 12 | 13 | } 14 | -------------------------------------------------------------------------------- /nvwa-xmemcached/src/test/java/com/google/code/yanf4j/test/unittest/Main.java: -------------------------------------------------------------------------------- 1 | package com.google.code.yanf4j.test.unittest; 2 | 3 | public class Main { 4 | public static void main(String[] args) { 5 | long start = System.nanoTime(); 6 | int threadNum = 10000; 7 | int sum=0; 8 | for (int i = 0; i < threadNum; i++) 9 | sum+=testLock(i, i * 2); 10 | System.out.println((System.nanoTime() - start) / threadNum); 11 | System.out.println(sum); 12 | } 13 | 14 | public final static synchronized int testLock(int a, int b) { 15 | return a + b; 16 | } 17 | 18 | } 19 | -------------------------------------------------------------------------------- /nvwa-xmemcached/src/test/java/com/google/code/yanf4j/test/unittest/core/impl/ByteBufferCodecFactoryUnitTest.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/big-mouth-cn/nvwa/6a460cf62c65ed70478a6e9ef3b5a142e8775d19/nvwa-xmemcached/src/test/java/com/google/code/yanf4j/test/unittest/core/impl/ByteBufferCodecFactoryUnitTest.java -------------------------------------------------------------------------------- /nvwa-xmemcached/src/test/java/com/google/code/yanf4j/test/unittest/core/impl/FutureImplUnitTest.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/big-mouth-cn/nvwa/6a460cf62c65ed70478a6e9ef3b5a142e8775d19/nvwa-xmemcached/src/test/java/com/google/code/yanf4j/test/unittest/core/impl/FutureImplUnitTest.java -------------------------------------------------------------------------------- /nvwa-xmemcached/src/test/java/com/google/code/yanf4j/test/unittest/core/impl/FutureLockImplUnitTest.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/big-mouth-cn/nvwa/6a460cf62c65ed70478a6e9ef3b5a142e8775d19/nvwa-xmemcached/src/test/java/com/google/code/yanf4j/test/unittest/core/impl/FutureLockImplUnitTest.java -------------------------------------------------------------------------------- /nvwa-xmemcached/src/test/java/com/google/code/yanf4j/test/unittest/core/impl/TextLineCodecFactoryUnitTest.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/big-mouth-cn/nvwa/6a460cf62c65ed70478a6e9ef3b5a142e8775d19/nvwa-xmemcached/src/test/java/com/google/code/yanf4j/test/unittest/core/impl/TextLineCodecFactoryUnitTest.java -------------------------------------------------------------------------------- /nvwa-xmemcached/src/test/java/com/google/code/yanf4j/test/unittest/nio/impl/MockSelectableChannel.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/big-mouth-cn/nvwa/6a460cf62c65ed70478a6e9ef3b5a142e8775d19/nvwa-xmemcached/src/test/java/com/google/code/yanf4j/test/unittest/nio/impl/MockSelectableChannel.java -------------------------------------------------------------------------------- /nvwa-xmemcached/src/test/java/com/google/code/yanf4j/test/unittest/nio/impl/MockSelectionKey.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/big-mouth-cn/nvwa/6a460cf62c65ed70478a6e9ef3b5a142e8775d19/nvwa-xmemcached/src/test/java/com/google/code/yanf4j/test/unittest/nio/impl/MockSelectionKey.java -------------------------------------------------------------------------------- /nvwa-xmemcached/src/test/java/com/google/code/yanf4j/test/unittest/nio/impl/ReactorUnitTest.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/big-mouth-cn/nvwa/6a460cf62c65ed70478a6e9ef3b5a142e8775d19/nvwa-xmemcached/src/test/java/com/google/code/yanf4j/test/unittest/nio/impl/ReactorUnitTest.java -------------------------------------------------------------------------------- /nvwa-xmemcached/src/test/java/com/google/code/yanf4j/test/unittest/nio/impl/SelectorManagerUnitTest.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/big-mouth-cn/nvwa/6a460cf62c65ed70478a6e9ef3b5a142e8775d19/nvwa-xmemcached/src/test/java/com/google/code/yanf4j/test/unittest/nio/impl/SelectorManagerUnitTest.java -------------------------------------------------------------------------------- /nvwa-xmemcached/src/test/java/log4j.properties: -------------------------------------------------------------------------------- 1 | # For JBoss: Avoid to setup Log4J outside $JBOSS_HOME/server/default/deploy/log4j.xml! 2 | # For all other servers: Comment out the Log4J listener in web.xml to activate Log4J. 3 | log4j.rootLogger=INFO, stdout 4 | 5 | log4j.appender.stdout=org.apache.log4j.ConsoleAppender 6 | log4j.appender.stdout.layout=org.apache.log4j.PatternLayout 7 | log4j.appender.stdout.layout.ConversionPattern=%d{yyyy-MM-dd HH:mm:ss,SSS} %5p [%t] (%F:%L) - %m%n 8 | log4j.appender.stdout.Encoding=UTF-8 9 | 10 | -------------------------------------------------------------------------------- /nvwa-xmemcached/src/test/java/net/rubyeye/xmemcached/helper/BlankKeyChecker.java: -------------------------------------------------------------------------------- 1 | package net.rubyeye.xmemcached.helper; 2 | 3 | public class BlankKeyChecker extends AbstractChecker { 4 | 5 | public void check() throws Exception { 6 | try { 7 | call(); 8 | fail(); 9 | } catch (IllegalArgumentException e) { 10 | assertEquals("Key must not be blank", e.getMessage()); 11 | } 12 | } 13 | 14 | } 15 | -------------------------------------------------------------------------------- /nvwa-xmemcached/src/test/java/net/rubyeye/xmemcached/helper/ExceptionChecker.java: -------------------------------------------------------------------------------- 1 | package net.rubyeye.xmemcached.helper; 2 | 3 | /** 4 | * 单元测试包装接口,用于检测异常是否正确 5 | * 6 | * @author boyan 7 | * 8 | */ 9 | public interface ExceptionChecker { 10 | public void call() throws Exception; 11 | public void check() throws Exception; 12 | } 13 | -------------------------------------------------------------------------------- /nvwa-xmemcached/src/test/java/net/rubyeye/xmemcached/helper/InValidKeyChecker.java: -------------------------------------------------------------------------------- 1 | package net.rubyeye.xmemcached.helper; 2 | 3 | public class InValidKeyChecker extends AbstractChecker { 4 | 5 | public void check() throws Exception { 6 | try { 7 | call(); 8 | fail(); 9 | } catch (IllegalArgumentException e) { 10 | assertTrue(e.getMessage().startsWith( 11 | "Key contains invalid characters")); 12 | } 13 | 14 | } 15 | 16 | } 17 | -------------------------------------------------------------------------------- /nvwa-xmemcached/src/test/java/net/rubyeye/xmemcached/helper/TranscoderChecker.java: -------------------------------------------------------------------------------- 1 | package net.rubyeye.xmemcached.helper; 2 | 3 | public class TranscoderChecker extends AbstractChecker { 4 | private MockTranscoder mockTranscoder; 5 | private int expectCount; 6 | 7 | public TranscoderChecker(MockTranscoder mockTranscoder,int expectedCount) { 8 | super(); 9 | this.mockTranscoder = mockTranscoder; 10 | this.expectCount=expectedCount; 11 | } 12 | 13 | public void check() throws Exception { 14 | call(); 15 | assertEquals(expectCount, mockTranscoder.getCount()); 16 | } 17 | 18 | } 19 | -------------------------------------------------------------------------------- /nvwa-xmemcached/src/test/java/net/rubyeye/xmemcached/test/unittest/buffer/BufferAllocatorTestSuite.java: -------------------------------------------------------------------------------- 1 | package net.rubyeye.xmemcached.test.unittest.buffer; 2 | 3 | import junit.framework.Test; 4 | import junit.framework.TestSuite; 5 | 6 | public class BufferAllocatorTestSuite { 7 | 8 | public static Test suite() { 9 | TestSuite suite = new TestSuite( 10 | "Test for net.rubyeye.xmemcached.test.unittest.buffer"); 11 | //$JUnit-BEGIN$ 12 | suite.addTestSuite(SimpleBufferAllocatorUnitTest.class); 13 | suite.addTestSuite(CachedBufferAllocatorUnitTest.class); 14 | //$JUnit-END$ 15 | return suite; 16 | } 17 | 18 | } 19 | -------------------------------------------------------------------------------- /nvwa-xmemcached/src/test/java/net/rubyeye/xmemcached/test/unittest/buffer/CachedBufferAllocatorUnitTest.java: -------------------------------------------------------------------------------- 1 | package net.rubyeye.xmemcached.test.unittest.buffer; 2 | 3 | 4 | import net.rubyeye.xmemcached.buffer.CachedBufferAllocator; 5 | 6 | public class CachedBufferAllocatorUnitTest extends AbstractBufferAllocatorUnitTest { 7 | @Override 8 | public void createBufferAllocator() { 9 | this.allocator = CachedBufferAllocator.newInstance(); 10 | } 11 | 12 | } 13 | -------------------------------------------------------------------------------- /nvwa-xmemcached/src/test/java/net/rubyeye/xmemcached/test/unittest/buffer/SimpleBufferAllocatorUnitTest.java: -------------------------------------------------------------------------------- 1 | package net.rubyeye.xmemcached.test.unittest.buffer; 2 | 3 | import net.rubyeye.xmemcached.buffer.SimpleBufferAllocator; 4 | 5 | public class SimpleBufferAllocatorUnitTest extends 6 | AbstractBufferAllocatorUnitTest { 7 | 8 | @Override 9 | public void createBufferAllocator() { 10 | this.allocator = SimpleBufferAllocator.newInstance(); 11 | 12 | } 13 | 14 | } 15 | -------------------------------------------------------------------------------- /nvwa-xmemcached/src/test/java/net/rubyeye/xmemcached/test/unittest/mock/MockErrorCommand.java: -------------------------------------------------------------------------------- 1 | package net.rubyeye.xmemcached.test.unittest.mock; 2 | 3 | public interface MockErrorCommand { 4 | public boolean isDecoded(); 5 | 6 | } 7 | -------------------------------------------------------------------------------- /nvwa-xmemcached/src/test/java/net/rubyeye/xmemcached/test/unittest/monitor/Mock.java: -------------------------------------------------------------------------------- 1 | package net.rubyeye.xmemcached.test.unittest.monitor; 2 | 3 | public class Mock implements MockMBean { 4 | 5 | 6 | public String say(String name) { 7 | return "hello," + name; 8 | } 9 | 10 | } 11 | -------------------------------------------------------------------------------- /nvwa-xmemcached/src/test/java/net/rubyeye/xmemcached/test/unittest/monitor/MockMBean.java: -------------------------------------------------------------------------------- 1 | package net.rubyeye.xmemcached.test.unittest.monitor; 2 | 3 | public interface MockMBean { 4 | public String say(String name); 5 | } 6 | -------------------------------------------------------------------------------- /nvwa-xmemcached/src/test/resources/log4j.properties: -------------------------------------------------------------------------------- 1 | log4j.rootLogger=INFO,CONSOLE 2 | log4j.appender.CONSOLE=org.apache.log4j.ConsoleAppender 3 | log4j.appender.Threshold=WARN 4 | log4j.appender.CONSOLE.Target=System.out 5 | log4j.appender.CONSOLE.layout=org.apache.log4j.PatternLayout 6 | log4j.appender.CONSOLE.layout.ConversionPattern=[%-5p]%d{yyyy-MM-dd HH:mm:ssS} %c %m%n -------------------------------------------------------------------------------- /nvwa-xmemcached/src/test/resources/test.properties: -------------------------------------------------------------------------------- 1 | test.memcached.servers=localhost:12000 2 | test.kestrel.servers=localhost\:22133 3 | -------------------------------------------------------------------------------- /nvwa-zkadmin/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/big-mouth-cn/nvwa/6a460cf62c65ed70478a6e9ef3b5a142e8775d19/nvwa-zkadmin/.DS_Store -------------------------------------------------------------------------------- /nvwa-zkadmin/.gitignore: -------------------------------------------------------------------------------- 1 | /target/ 2 | -------------------------------------------------------------------------------- /nvwa-zkadmin/.settings/org.eclipse.core.resources.prefs: -------------------------------------------------------------------------------- 1 | eclipse.preferences.version=1 2 | encoding//src/main/java=utf-8 3 | encoding//src/main/resources=UTF-8 4 | encoding//src/main/webapp/index.jsp=UTF-8 5 | -------------------------------------------------------------------------------- /nvwa-zkadmin/.settings/org.eclipse.m2e.core.prefs: -------------------------------------------------------------------------------- 1 | activeProfiles= 2 | eclipse.preferences.version=1 3 | resolveWorkspaceProjects=true 4 | version=1 5 | -------------------------------------------------------------------------------- /nvwa-zkadmin/.settings/org.eclipse.wst.common.project.facet.core.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /nvwa-zkadmin/.settings/org.eclipse.wst.jsdt.ui.superType.container: -------------------------------------------------------------------------------- 1 | org.eclipse.wst.jsdt.launching.baseBrowserLibrary -------------------------------------------------------------------------------- /nvwa-zkadmin/.settings/org.eclipse.wst.jsdt.ui.superType.name: -------------------------------------------------------------------------------- 1 | Window -------------------------------------------------------------------------------- /nvwa-zkadmin/.settings/org.eclipse.wst.validation.prefs: -------------------------------------------------------------------------------- 1 | disabled=06target 2 | eclipse.preferences.version=1 3 | -------------------------------------------------------------------------------- /nvwa-zkadmin/.settings/org.maven.ide.eclipse.prefs: -------------------------------------------------------------------------------- 1 | #Thu Jul 30 13:41:18 CST 2015 2 | activeProfiles= 3 | eclipse.preferences.version=1 4 | fullBuildGoals=process-test-resources 5 | includeModules=false 6 | resolveWorkspaceProjects=true 7 | resourceFilterGoals=process-resources resources\:testResources 8 | skipCompilerPlugin=true 9 | version=1 10 | -------------------------------------------------------------------------------- /nvwa-zkadmin/src/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/big-mouth-cn/nvwa/6a460cf62c65ed70478a6e9ef3b5a142e8775d19/nvwa-zkadmin/src/.DS_Store -------------------------------------------------------------------------------- /nvwa-zkadmin/src/main/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/big-mouth-cn/nvwa/6a460cf62c65ed70478a6e9ef3b5a142e8775d19/nvwa-zkadmin/src/main/.DS_Store -------------------------------------------------------------------------------- /nvwa-zkadmin/src/main/resources/application.properties: -------------------------------------------------------------------------------- 1 | zk.servers=127.0.0.1:2181 2 | zk.sessionTimeout=60000 -------------------------------------------------------------------------------- /nvwa-zkadmin/src/main/resources/log4j.properties: -------------------------------------------------------------------------------- 1 | log4j.rootLogger=INFO, stdout, RollingFile 2 | 3 | log4j.appender.stdout=org.apache.log4j.ConsoleAppender 4 | log4j.appender.stdout.layout=org.apache.log4j.PatternLayout 5 | log4j.appender.stdout.layout.ConversionPattern=%d %p [%c] - %m%n 6 | 7 | #RollingFile 8 | log4j.appender.RollingFile=org.apache.log4j.DailyRollingFileAppender 9 | log4j.appender.RollingFile.File=../logs/nvwa-zkadmin.log 10 | log4j.appender.RollingFile.layout=org.apache.log4j.PatternLayout 11 | log4j.appender.RollingFile.layout.ConversionPattern=%d [%t][%p] %c -%m%n -------------------------------------------------------------------------------- /nvwa-zkadmin/src/main/webapp/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/big-mouth-cn/nvwa/6a460cf62c65ed70478a6e9ef3b5a142e8775d19/nvwa-zkadmin/src/main/webapp/.DS_Store -------------------------------------------------------------------------------- /nvwa-zkadmin/src/main/webapp/fonts/glyphicons-halflings-regular.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/big-mouth-cn/nvwa/6a460cf62c65ed70478a6e9ef3b5a142e8775d19/nvwa-zkadmin/src/main/webapp/fonts/glyphicons-halflings-regular.eot -------------------------------------------------------------------------------- /nvwa-zkadmin/src/main/webapp/fonts/glyphicons-halflings-regular.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/big-mouth-cn/nvwa/6a460cf62c65ed70478a6e9ef3b5a142e8775d19/nvwa-zkadmin/src/main/webapp/fonts/glyphicons-halflings-regular.ttf -------------------------------------------------------------------------------- /nvwa-zkadmin/src/main/webapp/fonts/glyphicons-halflings-regular.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/big-mouth-cn/nvwa/6a460cf62c65ed70478a6e9ef3b5a142e8775d19/nvwa-zkadmin/src/main/webapp/fonts/glyphicons-halflings-regular.woff -------------------------------------------------------------------------------- /nvwa-zkadmin/src/main/webapp/fonts/glyphicons-halflings-regular.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/big-mouth-cn/nvwa/6a460cf62c65ed70478a6e9ef3b5a142e8775d19/nvwa-zkadmin/src/main/webapp/fonts/glyphicons-halflings-regular.woff2 -------------------------------------------------------------------------------- /nvwa-zkadmin/src/main/webapp/js/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/big-mouth-cn/nvwa/6a460cf62c65ed70478a6e9ef3b5a142e8775d19/nvwa-zkadmin/src/main/webapp/js/.DS_Store -------------------------------------------------------------------------------- /nvwa-zkadmin/src/main/webapp/js/npm.js: -------------------------------------------------------------------------------- 1 | // This file is autogenerated via the `commonjs` Grunt task. You can require() this file in a CommonJS environment. 2 | require('../../js/transition.js') 3 | require('../../js/alert.js') 4 | require('../../js/button.js') 5 | require('../../js/carousel.js') 6 | require('../../js/collapse.js') 7 | require('../../js/dropdown.js') 8 | require('../../js/modal.js') 9 | require('../../js/tooltip.js') 10 | require('../../js/popover.js') 11 | require('../../js/scrollspy.js') 12 | require('../../js/tab.js') 13 | require('../../js/affix.js') -------------------------------------------------------------------------------- /nvwa-zkadmin/src/main/webapp/js/ztree/css/zTreeStyle/img/diy/1_close.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/big-mouth-cn/nvwa/6a460cf62c65ed70478a6e9ef3b5a142e8775d19/nvwa-zkadmin/src/main/webapp/js/ztree/css/zTreeStyle/img/diy/1_close.png -------------------------------------------------------------------------------- /nvwa-zkadmin/src/main/webapp/js/ztree/css/zTreeStyle/img/diy/1_open.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/big-mouth-cn/nvwa/6a460cf62c65ed70478a6e9ef3b5a142e8775d19/nvwa-zkadmin/src/main/webapp/js/ztree/css/zTreeStyle/img/diy/1_open.png -------------------------------------------------------------------------------- /nvwa-zkadmin/src/main/webapp/js/ztree/css/zTreeStyle/img/diy/2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/big-mouth-cn/nvwa/6a460cf62c65ed70478a6e9ef3b5a142e8775d19/nvwa-zkadmin/src/main/webapp/js/ztree/css/zTreeStyle/img/diy/2.png -------------------------------------------------------------------------------- /nvwa-zkadmin/src/main/webapp/js/ztree/css/zTreeStyle/img/diy/3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/big-mouth-cn/nvwa/6a460cf62c65ed70478a6e9ef3b5a142e8775d19/nvwa-zkadmin/src/main/webapp/js/ztree/css/zTreeStyle/img/diy/3.png -------------------------------------------------------------------------------- /nvwa-zkadmin/src/main/webapp/js/ztree/css/zTreeStyle/img/diy/4.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/big-mouth-cn/nvwa/6a460cf62c65ed70478a6e9ef3b5a142e8775d19/nvwa-zkadmin/src/main/webapp/js/ztree/css/zTreeStyle/img/diy/4.png -------------------------------------------------------------------------------- /nvwa-zkadmin/src/main/webapp/js/ztree/css/zTreeStyle/img/diy/5.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/big-mouth-cn/nvwa/6a460cf62c65ed70478a6e9ef3b5a142e8775d19/nvwa-zkadmin/src/main/webapp/js/ztree/css/zTreeStyle/img/diy/5.png -------------------------------------------------------------------------------- /nvwa-zkadmin/src/main/webapp/js/ztree/css/zTreeStyle/img/diy/6.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/big-mouth-cn/nvwa/6a460cf62c65ed70478a6e9ef3b5a142e8775d19/nvwa-zkadmin/src/main/webapp/js/ztree/css/zTreeStyle/img/diy/6.png -------------------------------------------------------------------------------- /nvwa-zkadmin/src/main/webapp/js/ztree/css/zTreeStyle/img/diy/7.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/big-mouth-cn/nvwa/6a460cf62c65ed70478a6e9ef3b5a142e8775d19/nvwa-zkadmin/src/main/webapp/js/ztree/css/zTreeStyle/img/diy/7.png -------------------------------------------------------------------------------- /nvwa-zkadmin/src/main/webapp/js/ztree/css/zTreeStyle/img/diy/8.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/big-mouth-cn/nvwa/6a460cf62c65ed70478a6e9ef3b5a142e8775d19/nvwa-zkadmin/src/main/webapp/js/ztree/css/zTreeStyle/img/diy/8.png -------------------------------------------------------------------------------- /nvwa-zkadmin/src/main/webapp/js/ztree/css/zTreeStyle/img/diy/9.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/big-mouth-cn/nvwa/6a460cf62c65ed70478a6e9ef3b5a142e8775d19/nvwa-zkadmin/src/main/webapp/js/ztree/css/zTreeStyle/img/diy/9.png -------------------------------------------------------------------------------- /nvwa-zkadmin/src/main/webapp/js/ztree/css/zTreeStyle/img/line_conn.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/big-mouth-cn/nvwa/6a460cf62c65ed70478a6e9ef3b5a142e8775d19/nvwa-zkadmin/src/main/webapp/js/ztree/css/zTreeStyle/img/line_conn.gif -------------------------------------------------------------------------------- /nvwa-zkadmin/src/main/webapp/js/ztree/css/zTreeStyle/img/loading.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/big-mouth-cn/nvwa/6a460cf62c65ed70478a6e9ef3b5a142e8775d19/nvwa-zkadmin/src/main/webapp/js/ztree/css/zTreeStyle/img/loading.gif -------------------------------------------------------------------------------- /nvwa-zkadmin/src/main/webapp/js/ztree/css/zTreeStyle/img/zTreeStandard.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/big-mouth-cn/nvwa/6a460cf62c65ed70478a6e9ef3b5a142e8775d19/nvwa-zkadmin/src/main/webapp/js/ztree/css/zTreeStyle/img/zTreeStandard.gif -------------------------------------------------------------------------------- /nvwa-zkadmin/src/main/webapp/js/ztree/css/zTreeStyle/img/zTreeStandard.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/big-mouth-cn/nvwa/6a460cf62c65ed70478a6e9ef3b5a142e8775d19/nvwa-zkadmin/src/main/webapp/js/ztree/css/zTreeStyle/img/zTreeStandard.png -------------------------------------------------------------------------------- /nvwa-zookeeper/.gitignore: -------------------------------------------------------------------------------- 1 | /target/ 2 | -------------------------------------------------------------------------------- /nvwa-zookeeper/.settings/org.eclipse.core.resources.prefs: -------------------------------------------------------------------------------- 1 | eclipse.preferences.version=1 2 | encoding//src/main/java=UTF-8 3 | -------------------------------------------------------------------------------- /nvwa-zookeeper/.settings/org.eclipse.m2e.core.prefs: -------------------------------------------------------------------------------- 1 | activeProfiles= 2 | eclipse.preferences.version=1 3 | resolveWorkspaceProjects=true 4 | version=1 5 | -------------------------------------------------------------------------------- /nvwa-zookeeper/.settings/org.eclipse.wst.common.component: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /nvwa-zookeeper/.settings/org.eclipse.wst.common.project.facet.core.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /nvwa-zookeeper/.settings/org.eclipse.wst.validation.prefs: -------------------------------------------------------------------------------- 1 | disabled=06target 2 | eclipse.preferences.version=1 3 | -------------------------------------------------------------------------------- /nvwa-zookeeper/.settings/org.maven.ide.eclipse.prefs: -------------------------------------------------------------------------------- 1 | #Mon Mar 30 11:43:21 CST 2015 2 | activeProfiles= 3 | eclipse.preferences.version=1 4 | fullBuildGoals=process-test-resources 5 | includeModules=false 6 | resolveWorkspaceProjects=true 7 | resourceFilterGoals=process-resources resources\:testResources 8 | skipCompilerPlugin=true 9 | version=1 10 | -------------------------------------------------------------------------------- /nvwa-zookeeper/src/main/java/org/bigmouth/nvwa/zookeeper/listener/Change.java: -------------------------------------------------------------------------------- 1 | package org.bigmouth.nvwa.zookeeper.listener; 2 | 3 | import org.bigmouth.nvwa.zookeeper.listener.children.ChildrenMonitor; 4 | 5 | 6 | 7 | public interface Change { 8 | 9 | void add(ChildrenMonitor monitor, String path, byte[] data); 10 | 11 | void update(ChildrenMonitor monitor, String path, byte[] data); 12 | 13 | void remove(ChildrenMonitor monitor, String path, byte[] data); 14 | } 15 | -------------------------------------------------------------------------------- /nvwa-zookeeper/src/test/etc/application.properties: -------------------------------------------------------------------------------- 1 | zk.servers=127.0.0.1:2181 2 | zk.sessionTimeout=60000 -------------------------------------------------------------------------------- /nvwa-zookeeper/src/test/etc/log4j.properties: -------------------------------------------------------------------------------- 1 | log4j.rootLogger=INFO, stdout 2 | 3 | log4j.appender.stdout=org.apache.log4j.ConsoleAppender 4 | log4j.appender.stdout.layout=org.apache.log4j.PatternLayout 5 | log4j.appender.stdout.layout.ConversionPattern=%d %p [%c] - %m%n 6 | 7 | #log4j.logger.org.bigmouth.nvwa.zookeeper=DEBUG -------------------------------------------------------------------------------- /nvwa-zookeeper/src/test/etc/test/config/application.properties: -------------------------------------------------------------------------------- 1 | zk.servers=127.0.0.1:2181 2 | zk.sessionTimeout=60000 -------------------------------------------------------------------------------- /nvwa-zookeeper/src/test/etc/test/config/log4j.properties: -------------------------------------------------------------------------------- 1 | log4j.rootLogger=INFO, stdout 2 | 3 | log4j.appender.stdout=org.apache.log4j.ConsoleAppender 4 | log4j.appender.stdout.layout=org.apache.log4j.PatternLayout 5 | log4j.appender.stdout.layout.ConversionPattern=%d %p [%c] - %m%n 6 | 7 | log4j.logger.org.bigmouth.nvwa.zookeeper=DEBUG -------------------------------------------------------------------------------- /nvwa/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/big-mouth-cn/nvwa/6a460cf62c65ed70478a6e9ef3b5a142e8775d19/nvwa/.DS_Store -------------------------------------------------------------------------------- /nvwa/.gitignore: -------------------------------------------------------------------------------- 1 | /target 2 | -------------------------------------------------------------------------------- /nvwa/.settings/org.eclipse.m2e.core.prefs: -------------------------------------------------------------------------------- 1 | activeProfiles= 2 | eclipse.preferences.version=1 3 | resolveWorkspaceProjects=true 4 | version=1 5 | -------------------------------------------------------------------------------- /nvwa/.settings/org.eclipse.wst.common.component: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /nvwa/.settings/org.eclipse.wst.common.project.facet.core.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /nvwa/.settings/org.eclipse.wst.validation.prefs: -------------------------------------------------------------------------------- 1 | disabled=06target 2 | eclipse.preferences.version=1 3 | -------------------------------------------------------------------------------- /nvwa/.settings/org.maven.ide.eclipse.prefs: -------------------------------------------------------------------------------- 1 | #Tue Apr 26 17:06:08 CST 2016 2 | activeProfiles= 3 | eclipse.preferences.version=1 4 | fullBuildGoals=process-test-resources 5 | includeModules=false 6 | resolveWorkspaceProjects=true 7 | resourceFilterGoals=process-resources resources\:testResources 8 | skipCompilerPlugin=true 9 | version=1 10 | --------------------------------------------------------------------------------