├── src ├── test │ ├── resources │ │ ├── jp │ │ │ └── ossc │ │ │ │ └── nimbus │ │ │ │ ├── io │ │ │ │ ├── xx.pp │ │ │ │ ├── test2.ini │ │ │ │ ├── csv1.txt │ │ │ │ ├── split2 │ │ │ │ ├── split0 │ │ │ │ └── split1 │ │ │ │ ├── service │ │ │ │ ├── http │ │ │ │ │ └── httpclient │ │ │ │ │ │ ├── help_response.txt │ │ │ │ │ │ ├── help_responsenull.txt │ │ │ │ │ │ ├── service-conv.xml │ │ │ │ │ │ └── help_output.txt │ │ │ │ ├── message │ │ │ │ │ ├── en │ │ │ │ │ │ └── eutest.def │ │ │ │ │ ├── test.def │ │ │ │ │ └── nimbus-service.xml │ │ │ │ ├── msgresource │ │ │ │ │ ├── msgdata │ │ │ │ │ │ ├── test4.txt │ │ │ │ │ │ ├── test2.txt │ │ │ │ │ │ ├── test1.txt │ │ │ │ │ │ ├── test5.txt │ │ │ │ │ │ ├── test6.txt │ │ │ │ │ │ ├── FileInputTest1.txt │ │ │ │ │ │ ├── FileInputTest3.txt │ │ │ │ │ │ ├── FileInputTest4.txt │ │ │ │ │ │ ├── FileInputTest5.txt │ │ │ │ │ │ ├── FileInputTest6.txt │ │ │ │ │ │ ├── FileInputTest2.txt │ │ │ │ │ │ └── test3.txt │ │ │ │ │ ├── def │ │ │ │ │ │ └── msgResourceDef2.xml │ │ │ │ │ └── nimbus-service.xml │ │ │ │ ├── properties │ │ │ │ │ ├── xerces.jar │ │ │ │ │ ├── test1.properties.new │ │ │ │ │ ├── test1.properties.org │ │ │ │ │ └── nimbus-service.xml │ │ │ │ ├── loader │ │ │ │ │ ├── jar-test │ │ │ │ │ │ ├── lib │ │ │ │ │ │ │ └── Msg.jar │ │ │ │ │ │ ├── after │ │ │ │ │ │ │ └── Msg.jar │ │ │ │ │ │ └── before │ │ │ │ │ │ │ └── Msg.jar │ │ │ │ │ ├── class-test │ │ │ │ │ │ ├── lib │ │ │ │ │ │ │ ├── ReMessage2.class │ │ │ │ │ │ │ └── GetMessage2.class │ │ │ │ │ │ ├── after │ │ │ │ │ │ │ ├── ReMessage2.class │ │ │ │ │ │ │ └── GetMessage2.class │ │ │ │ │ │ └── before │ │ │ │ │ │ │ ├── GetMessage2.class │ │ │ │ │ │ │ └── ReMessage2.class │ │ │ │ │ └── nimbus-service.xml │ │ │ │ ├── aop │ │ │ │ │ └── interceptor │ │ │ │ │ │ └── servlet │ │ │ │ │ │ ├── service-definition_Invalid.xml │ │ │ │ │ │ ├── service-definitionTestdef.xml │ │ │ │ │ │ └── service-definitionTest.xml │ │ │ │ ├── log │ │ │ │ │ └── def │ │ │ │ │ │ └── logserviceTest.def │ │ │ │ ├── context │ │ │ │ │ ├── nimbus-service.xml │ │ │ │ │ ├── nimbus-service2.xml │ │ │ │ │ └── nimbus-service3.xml │ │ │ │ ├── beancontrol │ │ │ │ │ ├── beanflow │ │ │ │ │ │ └── beanflow1.xml │ │ │ │ │ └── nimbus-service.xml │ │ │ │ ├── performance │ │ │ │ │ └── nimbus-service.xml │ │ │ │ ├── jndi │ │ │ │ │ └── nimbus-service.xml │ │ │ │ ├── sequence │ │ │ │ │ └── nimbus-service.xml │ │ │ │ ├── resource │ │ │ │ │ └── jmsqueue │ │ │ │ │ │ └── nimbus-service.xml │ │ │ │ └── cui │ │ │ │ │ └── def │ │ │ │ │ ├── command_def.xml │ │ │ │ │ └── command_def2.xml │ │ │ │ ├── util │ │ │ │ ├── test.properties │ │ │ │ ├── test1.csv │ │ │ │ ├── test1.properties │ │ │ │ ├── test2.properties │ │ │ │ ├── converter │ │ │ │ │ ├── DataSetHtmlConverterTest.html │ │ │ │ │ ├── DataSetXMLConverterTest.xml │ │ │ │ │ └── DataSetXpathConverterTest.xml │ │ │ │ └── test0.properties │ │ │ │ └── core │ │ │ │ └── resources │ │ │ │ ├── Message1.def │ │ │ │ ├── nimbus-service.xml │ │ │ │ ├── nimbus-service1.xml │ │ │ │ ├── nimbus-service11.xml │ │ │ │ ├── nimbus-service12.xml │ │ │ │ ├── nimbus-service4.xml │ │ │ │ ├── nimbus-service5.xml │ │ │ │ ├── nimbus-service7.xml │ │ │ │ ├── nimbus-service9.xml │ │ │ │ ├── nimbus-service8.xml │ │ │ │ ├── nimbus-service3.xml │ │ │ │ ├── nimbus-service10.xml │ │ │ │ └── nimbus-service2.xml │ │ ├── nimbus-service.xml │ │ └── nimbus-service1.xml │ └── java │ │ └── jp │ │ └── ossc │ │ └── nimbus │ │ ├── service │ │ ├── msgresource │ │ │ └── msgdata │ │ │ │ ├── test4.txt │ │ │ │ ├── test2.txt │ │ │ │ ├── test5.txt │ │ │ │ ├── test6.txt │ │ │ │ ├── test1.txt │ │ │ │ ├── FileInputTest1.txt │ │ │ │ ├── FileInputTest3.txt │ │ │ │ ├── FileInputTest4.txt │ │ │ │ ├── FileInputTest5.txt │ │ │ │ ├── FileInputTest6.txt │ │ │ │ ├── FileInputTest2.txt │ │ │ │ └── test3.txt │ │ ├── log │ │ │ └── def │ │ │ │ └── logserviceTest.def │ │ ├── aop │ │ │ └── interceptor │ │ │ │ └── servlet │ │ │ │ ├── MockFilterChain.javapp_sapi │ │ │ │ └── MockServletInputStream.javapp_sapi │ │ └── beancontrol │ │ │ └── TestBeanFlow1.java │ │ ├── recset │ │ ├── RecordSetTest.java │ │ └── TestRecSet.java │ │ ├── core │ │ ├── TestServiceBaseMBean.java │ │ └── TestApplication.java │ │ ├── beans │ │ └── dataset │ │ │ └── HeaderTest.java │ │ └── util │ │ └── TestMain.java └── main │ ├── java │ └── jp │ │ └── ossc │ │ └── nimbus │ │ ├── core │ │ ├── ServiceManagerFactoryUsage.txt │ │ ├── package.html │ │ └── DefaultServiceManagerServiceMBean.java │ │ ├── service │ │ ├── trade │ │ │ ├── IndexTimeSeries.java │ │ │ ├── TechnicalCalc.java │ │ │ ├── IndexCalc.java │ │ │ └── MovingAvgCalc.java │ │ ├── beancontrol │ │ │ ├── CompilerUsage.txt │ │ │ ├── package.html │ │ │ ├── BeanFlowCoverageRepoter.java │ │ │ └── BeanFlowAsynchInvokeCallback.java │ │ ├── test │ │ │ ├── TestSwingRunnerUsage.txt │ │ │ ├── TestReporter.java │ │ │ ├── swing │ │ │ │ └── TestCaseControlListener.java │ │ │ └── TestActionEstimation.java │ │ ├── http │ │ │ ├── proxy │ │ │ │ └── package.html │ │ │ ├── package.html │ │ │ └── httpclient │ │ │ │ └── package.html │ │ ├── scheduler │ │ │ ├── package.html │ │ │ └── ScheduleTask.java │ │ ├── crypt │ │ │ ├── package.html │ │ │ └── NullCryptServiceMBean.java │ │ ├── interpreter │ │ │ └── package.html │ │ ├── writer │ │ │ ├── jms │ │ │ │ └── package.html │ │ │ ├── db │ │ │ │ └── package.html │ │ │ ├── mail │ │ │ │ └── package.html │ │ │ ├── log4j │ │ │ │ └── package.html │ │ │ ├── package.html │ │ │ ├── CryptElement.java │ │ │ └── prometheus │ │ │ │ └── HelpProvider.java │ │ ├── graph │ │ │ ├── package.html │ │ │ ├── TickUnitAdjustCommonDivisorMap.java │ │ │ └── TickUnitAdjuster.java │ │ ├── repository │ │ │ └── package.html │ │ ├── sequence │ │ │ └── package.html │ │ ├── converter │ │ │ ├── package.html │ │ │ ├── CodeMasterConverterServiceMBean.java │ │ │ └── CodeMasterConverter.java │ │ ├── validator │ │ │ └── package.html │ │ ├── semaphore │ │ │ └── package.html │ │ ├── scheduler2 │ │ │ ├── package.html │ │ │ └── DefaultScheduleMakerServiceMBean.java │ │ ├── journal │ │ │ ├── editorfinder │ │ │ │ └── package.html │ │ │ ├── editor │ │ │ │ ├── package.html │ │ │ │ └── ObjectKeyMapEditorServiceMBean.java │ │ │ └── package.html │ │ ├── aop │ │ │ ├── interceptor │ │ │ │ ├── package.html │ │ │ │ └── servlet │ │ │ │ │ └── package.html │ │ │ ├── invoker │ │ │ │ └── package.html │ │ │ └── javassist │ │ │ │ └── package.html │ │ ├── context │ │ │ ├── package.html │ │ │ └── ServerInfoServiceMBean.java │ │ ├── queue │ │ │ ├── package.html │ │ │ └── DistributedQueueSelector.java │ │ ├── proxy │ │ │ ├── invoker │ │ │ │ └── package.html │ │ │ └── package.html │ │ ├── jndi │ │ │ └── package.html │ │ ├── ejb │ │ │ └── package.html │ │ ├── message │ │ │ └── package.html │ │ ├── cache │ │ │ ├── package.html │ │ │ ├── PersistableCache.java │ │ │ ├── KeyCachedReference.java │ │ │ └── RemoveOverflowActionServiceMBean.java │ │ ├── connection │ │ │ └── package.html │ │ ├── jms │ │ │ └── package.html │ │ ├── log │ │ │ └── package.html │ │ ├── publish │ │ │ ├── MessageFilter.java │ │ │ ├── PublishContainerFactory.java │ │ │ ├── tcp │ │ │ │ └── ByeMessage.java │ │ │ ├── udp │ │ │ │ ├── ConnectionFactoryFactoryServiceMBean.java │ │ │ │ └── ServerCloseRequestMessage.java │ │ │ └── MessageListener.java │ │ ├── ftp │ │ │ └── FTPClientFactory.java │ │ ├── scp │ │ │ └── SCPClientFactory.java │ │ ├── sftp │ │ │ └── SFTPClientFactory.java │ │ ├── cui │ │ │ ├── Display.java │ │ │ ├── CuiFactory.java │ │ │ └── DisplayConstructer.java │ │ ├── mail │ │ │ └── MailSenderFactory.java │ │ ├── system │ │ │ └── Time.java │ │ ├── ioccall │ │ │ └── UnsynchFacadeCallerServiceMBean.java │ │ ├── codemaster │ │ │ └── PartUpdate.java │ │ ├── keepalive │ │ │ └── KeepAliveListener.java │ │ ├── resource │ │ │ └── jmstopic │ │ │ │ └── JmsTopicSession.java │ │ └── performance │ │ │ └── ResourceUsage.java │ │ ├── beans │ │ ├── dataset │ │ │ ├── DataSetCodeGeneratorUsage.txt │ │ │ └── package.html │ │ └── package.html │ │ ├── util │ │ ├── package.html │ │ ├── sql │ │ │ └── package.html │ │ ├── crypt │ │ │ └── package.html │ │ ├── validator │ │ │ └── package.html │ │ └── converter │ │ │ └── package.html │ │ ├── servlet │ │ └── package.html │ │ ├── io │ │ └── package.html │ │ └── daemon │ │ └── package.html │ └── resources │ ├── jp │ └── ossc │ │ └── nimbus │ │ ├── service │ │ ├── aop │ │ │ └── CompilerUsage.txt │ │ ├── test │ │ │ ├── TestRunnerUsage.txt │ │ │ ├── TestSwingRunnerUsage.txt │ │ │ └── testrunner_1_0.dtd │ │ └── beancontrol │ │ │ ├── coverage_ng.png │ │ │ ├── coverage_ok.png │ │ │ └── CompilerUsage.txt │ │ ├── core │ │ └── ServiceManagerFactoryUsage.txt │ │ └── beans │ │ └── dataset │ │ └── DataSetCodeGeneratorUsage.txt │ └── META-INF │ ├── MANIFEST.MF │ └── LICENSE.txt ├── .settings ├── org.eclipse.m2e.core.prefs ├── org.eclipse.jdt.apt.core.prefs ├── org.eclipse.core.resources.prefs └── org.eclipse.jdt.core.prefs ├── .gitignore ├── .project ├── README.md └── LICENSE /src/test/resources/jp/ossc/nimbus/io/xx.pp: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/test/resources/jp/ossc/nimbus/io/test2.ini: -------------------------------------------------------------------------------- 1 | test -------------------------------------------------------------------------------- /src/test/resources/jp/ossc/nimbus/service/http/httpclient/help_response.txt: -------------------------------------------------------------------------------- 1 | testdata -------------------------------------------------------------------------------- /src/test/resources/jp/ossc/nimbus/service/http/httpclient/help_responsenull.txt: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/test/resources/jp/ossc/nimbus/util/test.properties: -------------------------------------------------------------------------------- 1 | test0=aaa 2 | test1=ccc 3 | test2=ddd 4 | dummy4=xxx -------------------------------------------------------------------------------- /src/test/resources/jp/ossc/nimbus/service/message/en/eutest.def: -------------------------------------------------------------------------------- 1 | TEST000,test000eu 2 | TEST001,test001eu 3 | TEST002,test003eu -------------------------------------------------------------------------------- /src/test/resources/jp/ossc/nimbus/io/csv1.txt: -------------------------------------------------------------------------------- 1 | 1a,1b,1c 2 | 2a,2b,2c,2d 3 | 4 | 5 | 3a,3\,b,3c 6 | 4a,4b, 7 | "5a,5b","5 8 | c",5d -------------------------------------------------------------------------------- /.settings/org.eclipse.m2e.core.prefs: -------------------------------------------------------------------------------- 1 | activeProfiles= 2 | eclipse.preferences.version=1 3 | resolveWorkspaceProjects=true 4 | version=1 5 | -------------------------------------------------------------------------------- /src/test/resources/jp/ossc/nimbus/util/test1.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nimbus-org/nimbus/HEAD/src/test/resources/jp/ossc/nimbus/util/test1.csv -------------------------------------------------------------------------------- /src/test/resources/jp/ossc/nimbus/util/test1.properties: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nimbus-org/nimbus/HEAD/src/test/resources/jp/ossc/nimbus/util/test1.properties -------------------------------------------------------------------------------- /src/test/resources/jp/ossc/nimbus/util/test2.properties: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nimbus-org/nimbus/HEAD/src/test/resources/jp/ossc/nimbus/util/test2.properties -------------------------------------------------------------------------------- /src/test/java/jp/ossc/nimbus/service/msgresource/msgdata/test4.txt: -------------------------------------------------------------------------------- 1 | prop4=Let,prop5=World:1,Hello 2 | prop4=it,prop5=World:2,real 3 | prop4=be,prop5=World:3,world. 4 | -------------------------------------------------------------------------------- /src/test/resources/jp/ossc/nimbus/service/msgresource/msgdata/test4.txt: -------------------------------------------------------------------------------- 1 | prop4=Let,prop5=World:1,Hello 2 | prop4=it,prop5=World:2,real 3 | prop4=be,prop5=World:3,world. 4 | -------------------------------------------------------------------------------- /src/main/java/jp/ossc/nimbus/core/ServiceManagerFactoryUsage.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nimbus-org/nimbus/HEAD/src/main/java/jp/ossc/nimbus/core/ServiceManagerFactoryUsage.txt -------------------------------------------------------------------------------- /src/main/java/jp/ossc/nimbus/service/trade/IndexTimeSeries.java: -------------------------------------------------------------------------------- 1 | package jp.ossc.nimbus.service.trade; 2 | 3 | public class IndexTimeSeries extends TimeSeries{ 4 | 5 | 6 | } 7 | -------------------------------------------------------------------------------- /src/main/resources/jp/ossc/nimbus/service/aop/CompilerUsage.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nimbus-org/nimbus/HEAD/src/main/resources/jp/ossc/nimbus/service/aop/CompilerUsage.txt -------------------------------------------------------------------------------- /src/test/resources/jp/ossc/nimbus/service/properties/xerces.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nimbus-org/nimbus/HEAD/src/test/resources/jp/ossc/nimbus/service/properties/xerces.jar -------------------------------------------------------------------------------- /src/main/java/jp/ossc/nimbus/service/beancontrol/CompilerUsage.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nimbus-org/nimbus/HEAD/src/main/java/jp/ossc/nimbus/service/beancontrol/CompilerUsage.txt -------------------------------------------------------------------------------- /src/main/java/jp/ossc/nimbus/service/test/TestSwingRunnerUsage.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nimbus-org/nimbus/HEAD/src/main/java/jp/ossc/nimbus/service/test/TestSwingRunnerUsage.txt -------------------------------------------------------------------------------- /src/main/resources/jp/ossc/nimbus/service/test/TestRunnerUsage.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nimbus-org/nimbus/HEAD/src/main/resources/jp/ossc/nimbus/service/test/TestRunnerUsage.txt -------------------------------------------------------------------------------- /src/test/java/jp/ossc/nimbus/service/msgresource/msgdata/test2.txt: -------------------------------------------------------------------------------- 1 | prop4=Let,prop5=World:101,201,301 2 | prop4=it,prop5=World:102,202,302 3 | prop4=be,prop5=World:103,203,303 4 | 5 | -------------------------------------------------------------------------------- /src/test/java/jp/ossc/nimbus/service/msgresource/msgdata/test5.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nimbus-org/nimbus/HEAD/src/test/java/jp/ossc/nimbus/service/msgresource/msgdata/test5.txt -------------------------------------------------------------------------------- /src/test/java/jp/ossc/nimbus/service/msgresource/msgdata/test6.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nimbus-org/nimbus/HEAD/src/test/java/jp/ossc/nimbus/service/msgresource/msgdata/test6.txt -------------------------------------------------------------------------------- /src/main/resources/jp/ossc/nimbus/service/beancontrol/coverage_ng.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nimbus-org/nimbus/HEAD/src/main/resources/jp/ossc/nimbus/service/beancontrol/coverage_ng.png -------------------------------------------------------------------------------- /src/main/resources/jp/ossc/nimbus/service/beancontrol/coverage_ok.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nimbus-org/nimbus/HEAD/src/main/resources/jp/ossc/nimbus/service/beancontrol/coverage_ok.png -------------------------------------------------------------------------------- /src/test/java/jp/ossc/nimbus/service/msgresource/msgdata/test1.txt: -------------------------------------------------------------------------------- 1 | prop4=Let,prop5=World:This is test. 2 | prop4=it,prop5=World:That's good. 3 | prop4=be,prop5=World:What's wrong? 4 | 5 | -------------------------------------------------------------------------------- /src/test/resources/jp/ossc/nimbus/service/loader/jar-test/lib/Msg.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nimbus-org/nimbus/HEAD/src/test/resources/jp/ossc/nimbus/service/loader/jar-test/lib/Msg.jar -------------------------------------------------------------------------------- /src/test/resources/jp/ossc/nimbus/service/msgresource/msgdata/test2.txt: -------------------------------------------------------------------------------- 1 | prop4=Let,prop5=World:101,201,301 2 | prop4=it,prop5=World:102,202,302 3 | prop4=be,prop5=World:103,203,303 4 | 5 | -------------------------------------------------------------------------------- /src/main/java/jp/ossc/nimbus/beans/dataset/DataSetCodeGeneratorUsage.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nimbus-org/nimbus/HEAD/src/main/java/jp/ossc/nimbus/beans/dataset/DataSetCodeGeneratorUsage.txt -------------------------------------------------------------------------------- /src/test/resources/jp/ossc/nimbus/service/loader/jar-test/after/Msg.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nimbus-org/nimbus/HEAD/src/test/resources/jp/ossc/nimbus/service/loader/jar-test/after/Msg.jar -------------------------------------------------------------------------------- /src/test/resources/jp/ossc/nimbus/service/loader/jar-test/before/Msg.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nimbus-org/nimbus/HEAD/src/test/resources/jp/ossc/nimbus/service/loader/jar-test/before/Msg.jar -------------------------------------------------------------------------------- /src/test/resources/jp/ossc/nimbus/service/msgresource/msgdata/test1.txt: -------------------------------------------------------------------------------- 1 | prop4=Let,prop5=World:This is test. 2 | prop4=it,prop5=World:That's good. 3 | prop4=be,prop5=World:What's wrong? 4 | 5 | -------------------------------------------------------------------------------- /src/test/resources/jp/ossc/nimbus/service/msgresource/msgdata/test5.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nimbus-org/nimbus/HEAD/src/test/resources/jp/ossc/nimbus/service/msgresource/msgdata/test5.txt -------------------------------------------------------------------------------- /src/test/resources/jp/ossc/nimbus/service/msgresource/msgdata/test6.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nimbus-org/nimbus/HEAD/src/test/resources/jp/ossc/nimbus/service/msgresource/msgdata/test6.txt -------------------------------------------------------------------------------- /src/test/java/jp/ossc/nimbus/service/msgresource/msgdata/FileInputTest1.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nimbus-org/nimbus/HEAD/src/test/java/jp/ossc/nimbus/service/msgresource/msgdata/FileInputTest1.txt -------------------------------------------------------------------------------- /src/test/java/jp/ossc/nimbus/service/msgresource/msgdata/FileInputTest3.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nimbus-org/nimbus/HEAD/src/test/java/jp/ossc/nimbus/service/msgresource/msgdata/FileInputTest3.txt -------------------------------------------------------------------------------- /src/test/java/jp/ossc/nimbus/service/msgresource/msgdata/FileInputTest4.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nimbus-org/nimbus/HEAD/src/test/java/jp/ossc/nimbus/service/msgresource/msgdata/FileInputTest4.txt -------------------------------------------------------------------------------- /src/test/java/jp/ossc/nimbus/service/msgresource/msgdata/FileInputTest5.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nimbus-org/nimbus/HEAD/src/test/java/jp/ossc/nimbus/service/msgresource/msgdata/FileInputTest5.txt -------------------------------------------------------------------------------- /src/test/java/jp/ossc/nimbus/service/msgresource/msgdata/FileInputTest6.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nimbus-org/nimbus/HEAD/src/test/java/jp/ossc/nimbus/service/msgresource/msgdata/FileInputTest6.txt -------------------------------------------------------------------------------- /src/test/resources/jp/ossc/nimbus/service/properties/test1.properties.new: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nimbus-org/nimbus/HEAD/src/test/resources/jp/ossc/nimbus/service/properties/test1.properties.new -------------------------------------------------------------------------------- /src/test/resources/jp/ossc/nimbus/service/properties/test1.properties.org: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nimbus-org/nimbus/HEAD/src/test/resources/jp/ossc/nimbus/service/properties/test1.properties.org -------------------------------------------------------------------------------- /src/test/resources/jp/ossc/nimbus/service/loader/class-test/lib/ReMessage2.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nimbus-org/nimbus/HEAD/src/test/resources/jp/ossc/nimbus/service/loader/class-test/lib/ReMessage2.class -------------------------------------------------------------------------------- /src/test/resources/jp/ossc/nimbus/service/msgresource/msgdata/FileInputTest1.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nimbus-org/nimbus/HEAD/src/test/resources/jp/ossc/nimbus/service/msgresource/msgdata/FileInputTest1.txt -------------------------------------------------------------------------------- /src/test/resources/jp/ossc/nimbus/service/msgresource/msgdata/FileInputTest3.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nimbus-org/nimbus/HEAD/src/test/resources/jp/ossc/nimbus/service/msgresource/msgdata/FileInputTest3.txt -------------------------------------------------------------------------------- /src/test/resources/jp/ossc/nimbus/service/msgresource/msgdata/FileInputTest4.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nimbus-org/nimbus/HEAD/src/test/resources/jp/ossc/nimbus/service/msgresource/msgdata/FileInputTest4.txt -------------------------------------------------------------------------------- /src/test/resources/jp/ossc/nimbus/service/msgresource/msgdata/FileInputTest5.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nimbus-org/nimbus/HEAD/src/test/resources/jp/ossc/nimbus/service/msgresource/msgdata/FileInputTest5.txt -------------------------------------------------------------------------------- /src/test/resources/jp/ossc/nimbus/service/msgresource/msgdata/FileInputTest6.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nimbus-org/nimbus/HEAD/src/test/resources/jp/ossc/nimbus/service/msgresource/msgdata/FileInputTest6.txt -------------------------------------------------------------------------------- /src/test/resources/jp/ossc/nimbus/util/converter/DataSetHtmlConverterTest.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nimbus-org/nimbus/HEAD/src/test/resources/jp/ossc/nimbus/util/converter/DataSetHtmlConverterTest.html -------------------------------------------------------------------------------- /src/test/resources/jp/ossc/nimbus/service/loader/class-test/after/ReMessage2.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nimbus-org/nimbus/HEAD/src/test/resources/jp/ossc/nimbus/service/loader/class-test/after/ReMessage2.class -------------------------------------------------------------------------------- /src/test/resources/jp/ossc/nimbus/service/loader/class-test/lib/GetMessage2.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nimbus-org/nimbus/HEAD/src/test/resources/jp/ossc/nimbus/service/loader/class-test/lib/GetMessage2.class -------------------------------------------------------------------------------- /src/test/resources/jp/ossc/nimbus/service/loader/class-test/after/GetMessage2.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nimbus-org/nimbus/HEAD/src/test/resources/jp/ossc/nimbus/service/loader/class-test/after/GetMessage2.class -------------------------------------------------------------------------------- /src/test/resources/jp/ossc/nimbus/service/loader/class-test/before/GetMessage2.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nimbus-org/nimbus/HEAD/src/test/resources/jp/ossc/nimbus/service/loader/class-test/before/GetMessage2.class -------------------------------------------------------------------------------- /src/test/resources/jp/ossc/nimbus/service/loader/class-test/before/ReMessage2.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nimbus-org/nimbus/HEAD/src/test/resources/jp/ossc/nimbus/service/loader/class-test/before/ReMessage2.class -------------------------------------------------------------------------------- /src/test/resources/jp/ossc/nimbus/util/test0.properties: -------------------------------------------------------------------------------- 1 | #test1=1_1 2 | !test2=2_1 3 | #test3 = 3_1 4 | #test4 = 4_1 5 | test1=1_2 6 | test2=2_2 7 | test3 = 3_2 \ 8 | aa 9 | test4 = 4_2 10 | -------------------------------------------------------------------------------- /src/test/java/jp/ossc/nimbus/service/msgresource/msgdata/FileInputTest2.txt: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | prop1=property1,prop2=property2:Hello World 6 | 7 | prop1=property3,prop2=property4:What's the matter? 8 | 9 | 10 | -------------------------------------------------------------------------------- /src/test/resources/jp/ossc/nimbus/io/split2: -------------------------------------------------------------------------------- 1 | tttttetttttetttttettttaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa 2 | tetttttetttttetttttetttttetttttetttttettttaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa 3 | -------------------------------------------------------------------------------- /src/test/resources/jp/ossc/nimbus/service/msgresource/msgdata/FileInputTest2.txt: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | prop1=property1,prop2=property2:Hello World 6 | 7 | prop1=property3,prop2=property4:What's the matter? 8 | 9 | 10 | -------------------------------------------------------------------------------- /src/test/resources/nimbus-service.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /src/test/resources/nimbus-service1.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /src/main/resources/META-INF/MANIFEST.MF: -------------------------------------------------------------------------------- 1 | Extension-Name: nimbus 2 | Specification-Title: Nimbus - Application server indendent service ... 3 | Specification-Vendor: Nimbus Project 4 | Implementation-Title: jp.ossc.nimbus 5 | Implementation-Vendor: Nimbus Project 6 | -------------------------------------------------------------------------------- /src/test/resources/jp/ossc/nimbus/service/message/test.def: -------------------------------------------------------------------------------- 1 | TEST000,test000,50,CAT1:CAT2:CAT3 2 | TEST001,test001,50,CAT1:CAT2 3 | TEST002,test003,50,CAT1 4 | TST000001,test004@0,50,CAT1 5 | TST000002,test@0test@1test@2test@3test@4,50,CAT1 6 | TST000011,test#0#1,50,CAT1 -------------------------------------------------------------------------------- /.settings/org.eclipse.jdt.apt.core.prefs: -------------------------------------------------------------------------------- 1 | eclipse.preferences.version=1 2 | org.eclipse.jdt.apt.aptEnabled=true 3 | org.eclipse.jdt.apt.genSrcDir=target\\generated-sources\\annotations 4 | org.eclipse.jdt.apt.genTestSrcDir=target\\generated-test-sources\\test-annotations 5 | -------------------------------------------------------------------------------- /src/test/resources/jp/ossc/nimbus/core/resources/Message1.def: -------------------------------------------------------------------------------- 1 | TEST09999,Test DEBUG!!,0,APPLICATION 2 | TEST19999,Test INFORMATION!!,10,APPLICATION 3 | TEST29999,Test WARNING!!,20,APPLICATION 4 | TEST39999,Test ERROR!!,30,APPLICATION 5 | TEST49999,Test FATAL!!,40,APPLICATION 6 | -------------------------------------------------------------------------------- /src/main/java/jp/ossc/nimbus/service/trade/TechnicalCalc.java: -------------------------------------------------------------------------------- 1 | package jp.ossc.nimbus.service.trade; 2 | 3 | import jp.ossc.nimbus.beans.dataset.DataSet; 4 | 5 | public interface TechnicalCalc { 6 | 7 | public DataSet calc(TimeSeries series); 8 | 9 | } 10 | -------------------------------------------------------------------------------- /src/test/java/jp/ossc/nimbus/service/msgresource/msgdata/test3.txt: -------------------------------------------------------------------------------- 1 | prop4=Let,prop5=World:map_payload1=101,map_payload2=201,map_payload3=301 2 | prop4=it,prop5=World:map_payload1=102,map_payload2=202,map_payload3=302 3 | prop4=be,prop5=World:map_payload1=103,map_payload2=203,map_payload3=303 4 | -------------------------------------------------------------------------------- /src/test/resources/jp/ossc/nimbus/service/msgresource/msgdata/test3.txt: -------------------------------------------------------------------------------- 1 | prop4=Let,prop5=World:map_payload1=101,map_payload2=201,map_payload3=301 2 | prop4=it,prop5=World:map_payload1=102,map_payload2=202,map_payload3=302 3 | prop4=be,prop5=World:map_payload1=103,map_payload2=203,map_payload3=303 4 | -------------------------------------------------------------------------------- /src/main/java/jp/ossc/nimbus/util/package.html: -------------------------------------------------------------------------------- 1 | 4 | 5 | 6 | 7 | Nimbus Utility パッケージコメントファイル 8 | 9 | 10 | 汎用的なユーティリティを提供します。

11 | 12 | 13 | -------------------------------------------------------------------------------- /src/main/java/jp/ossc/nimbus/util/sql/package.html: -------------------------------------------------------------------------------- 1 | 4 | 5 | 6 | 7 | Nimbus JDBC Utility パッケージコメントファイル 8 | 9 | 10 | 汎用的なJDBCユーティリティを提供します。

11 | 12 | 13 | -------------------------------------------------------------------------------- /src/main/java/jp/ossc/nimbus/service/http/proxy/package.html: -------------------------------------------------------------------------------- 1 | 4 | 5 | 6 | 7 | Nimbus プロキシ パッケージコメントファイル 8 | 9 | 10 | NimbusのHTTPプロキシサービスを提供します。

11 | 12 | 13 | -------------------------------------------------------------------------------- /src/main/java/jp/ossc/nimbus/service/scheduler/package.html: -------------------------------------------------------------------------------- 1 | 4 | 5 | 6 | 7 | Nimbus スケジューラ パッケージコメントファイル 8 | 9 | 10 | Nimbusのスケジューラサービスを提供します。

11 | 12 | 13 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | # Compiled class file 2 | #*.class 3 | 4 | # Log file 5 | *.log 6 | 7 | # BlueJ files 8 | *.ctxt 9 | 10 | # Mobile Tools for Java (J2ME) 11 | .mtj.tmp/ 12 | 13 | # Package Files # 14 | #*.jar 15 | *.war 16 | *.ear 17 | *.zip 18 | *.tar.gz 19 | *.rar 20 | 21 | # virtual machine crash logs, see http://www.java.com/en/download/help/error_hotspot.xml 22 | hs_err_pid* 23 | /target/ 24 | 25 | -------------------------------------------------------------------------------- /src/main/java/jp/ossc/nimbus/servlet/package.html: -------------------------------------------------------------------------------- 1 | 4 | 5 | 6 | 7 | Nimbus サーブレット パッケージコメントファイル 8 | 9 | 10 | Nimbusのサービスをサーブレットコンテナ上で使用するためのサーブレット部品を提供します。

11 | 12 | 13 | -------------------------------------------------------------------------------- /src/test/resources/jp/ossc/nimbus/core/resources/nimbus-service.xml: -------------------------------------------------------------------------------- 1 | 2 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /src/main/java/jp/ossc/nimbus/io/package.html: -------------------------------------------------------------------------------- 1 | 4 | 5 | 6 | 7 | Nimbus IO パッケージコメントファイル 8 | 9 | 10 | Nimbusの入出力ライブラリを提供します。

11 | Javaの入出力ライブラリで、不足している機能をサポートします。
12 | 13 | 14 | -------------------------------------------------------------------------------- /src/test/resources/jp/ossc/nimbus/core/resources/nimbus-service1.xml: -------------------------------------------------------------------------------- 1 | 2 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /src/test/resources/jp/ossc/nimbus/core/resources/nimbus-service11.xml: -------------------------------------------------------------------------------- 1 | 2 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /src/main/java/jp/ossc/nimbus/util/crypt/package.html: -------------------------------------------------------------------------------- 1 | 4 | 5 | 6 | 7 | Nimbus 暗号化 Utility パッケージコメントファイル 8 | 9 | 10 | JCE(Java Cryptographic Extension)を用いた暗号化ユーティリティを提供します。

11 | 12 | 13 | -------------------------------------------------------------------------------- /src/main/java/jp/ossc/nimbus/service/crypt/package.html: -------------------------------------------------------------------------------- 1 | 4 | 5 | 6 | 7 | Nimbus 暗号 パッケージコメントファイル 8 | 9 | 10 | Nimbusの暗号サービスを提供します。

11 | このパッケージでは、暗号化、複合化、ハッシュ等の、暗号サービスを提供します。
12 | 13 | 14 | -------------------------------------------------------------------------------- /src/main/java/jp/ossc/nimbus/service/http/package.html: -------------------------------------------------------------------------------- 1 | 4 | 5 | 6 | 7 | Nimbus HTTP パッケージコメントファイル 8 | 9 | 10 | NimbusのHTTPサービスを提供します。

11 | このパッケージでは、HTTPプロトコルによる外部接続機能を提供します。
12 | 13 | 14 | -------------------------------------------------------------------------------- /src/test/resources/jp/ossc/nimbus/core/resources/nimbus-service12.xml: -------------------------------------------------------------------------------- 1 | 2 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /src/main/java/jp/ossc/nimbus/service/trade/IndexCalc.java: -------------------------------------------------------------------------------- 1 | package jp.ossc.nimbus.service.trade; 2 | 3 | import java.util.List; 4 | import java.util.Map; 5 | 6 | public interface IndexCalc { 7 | 8 | 9 | /** 10 | * 引数に設定されている各keyに対する時系列データを計算する。 11 | * @param param 12 | * @return 13 | */ 14 | public Map> calc(Map param, TimeSeries elements); 15 | } 16 | -------------------------------------------------------------------------------- /src/main/java/jp/ossc/nimbus/service/interpreter/package.html: -------------------------------------------------------------------------------- 1 | 4 | 5 | 6 | 7 | Nimbus インタープリタ パッケージコメントファイル 8 | 9 | 10 | Nimbusのインタープリタサービスを提供します。

11 | 任意のソースコードをインタプリタ的に実行する機能を提供します。
12 | 13 | 14 | -------------------------------------------------------------------------------- /src/main/java/jp/ossc/nimbus/service/writer/jms/package.html: -------------------------------------------------------------------------------- 1 | 4 | 5 | 6 | 7 | Nimbus JMS Writer パッケージコメントファイル 8 | 9 | 10 | NimbusのJMS出力サービスを提供します。

11 | JMSへの書き込みを行うMessageWriterサービスを提供します。
12 | 13 | 14 | -------------------------------------------------------------------------------- /src/main/java/jp/ossc/nimbus/service/graph/package.html: -------------------------------------------------------------------------------- 1 | 4 | 5 | 6 | 7 | Nimbus グラフ パッケージコメントファイル 8 | 9 | 10 | Nimbusのグラフ生成サービスを提供します。

11 | このパッケージでは、JFreeChartを使ったグラフ生成機能を提供します。
12 | 13 | 14 | -------------------------------------------------------------------------------- /.settings/org.eclipse.core.resources.prefs: -------------------------------------------------------------------------------- 1 | eclipse.preferences.version=1 2 | encoding//src/main/java=UTF-8 3 | encoding//src/main/java/jp/ossc/nimbus/beans/dataset/DataSet.java=UTF-8 4 | encoding//src/main/java/jp/ossc/nimbus/beans/dataset/Record.java=UTF-8 5 | encoding//src/main/java/jp/ossc/nimbus/beans/dataset/RecordSchema.java=UTF-8 6 | encoding//src/main/resources=UTF-8 7 | encoding//src/test/java=UTF-8 8 | encoding//src/test/resources=UTF-8 9 | encoding/=UTF-8 10 | -------------------------------------------------------------------------------- /src/main/java/jp/ossc/nimbus/service/writer/db/package.html: -------------------------------------------------------------------------------- 1 | 4 | 5 | 6 | 7 | Nimbus データベースWriter パッケージコメントファイル 8 | 9 | 10 | Nimbusのデータベース出力サービスを提供します。

11 | データベースへの書き込みを行うMessageWriterサービスを提供します。
12 | 13 | 14 | -------------------------------------------------------------------------------- /src/main/java/jp/ossc/nimbus/service/repository/package.html: -------------------------------------------------------------------------------- 1 | 4 | 5 | 6 | 7 | Nimbus リポジトリ パッケージコメントファイル 8 | 9 | 10 | Nimbusのリポジトリサービスを提供します。

11 | オブジェクトを登録して管理する機能を提供します。
12 | 登録する先が事なる場合でも、このインタフェースによって隠蔽する事で、登録先を意識せずにオブジェクトの管理を行う事ができます。
13 | 14 | 15 | -------------------------------------------------------------------------------- /src/main/java/jp/ossc/nimbus/service/writer/mail/package.html: -------------------------------------------------------------------------------- 1 | 4 | 5 | 6 | 7 | Nimbus Mail Writer パッケージコメントファイル 8 | 9 | 10 | Nimbusのメール出力サービスを提供します。

11 | Java Mailを使って、SMTPサーバにメールを送信するMessageWriterサービスを提供します。
12 | 13 | 14 | -------------------------------------------------------------------------------- /src/test/resources/jp/ossc/nimbus/core/resources/nimbus-service4.xml: -------------------------------------------------------------------------------- 1 | 2 | 5 | 6 | 7 | 8 | Nimbus 9 | Service1 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /src/main/java/jp/ossc/nimbus/util/validator/package.html: -------------------------------------------------------------------------------- 1 | 4 | 5 | 6 | 7 | Nimbus Validator Utility パッケージコメントファイル 8 | 9 | 10 | 汎用的なバリデータユーティリティを提供します。

11 | バリデータは任意のオブジェクトを検証する機能です。
12 | バリデータは、通常再入可能です。従って、バリデータのインスタンスは再利用可能です。
13 | 14 | 15 | -------------------------------------------------------------------------------- /src/main/java/jp/ossc/nimbus/service/sequence/package.html: -------------------------------------------------------------------------------- 1 | 4 | 5 | 6 | 7 | Nimbus 通番発番 パッケージコメントファイル 8 | 9 | 10 | Nimbusの通番発番サービスを提供します。

11 | 任意のフォーマットの通番を発番する機能を抽象化したインタフェースが、Sequenceです。
12 |

13 | このパッケージでは、そのSequenceインタフェースを実装したサービスを提供します。
14 | 15 | 16 | -------------------------------------------------------------------------------- /src/test/resources/jp/ossc/nimbus/service/aop/interceptor/servlet/service-definition_Invalid.xml: -------------------------------------------------------------------------------- 1 | 2 | 5 | 6 | 7 | 8 | 9 | 11 | 12 | 13 | 14 | 15 | -------------------------------------------------------------------------------- /src/main/java/jp/ossc/nimbus/service/converter/package.html: -------------------------------------------------------------------------------- 1 | 4 | 5 | 6 | 7 | Nimbus Converter パッケージコメントファイル 8 | 9 | 10 | Nimbusの変換サービスを提供します。

11 | Converterインタフェースを実装したサービスを提供します。
12 | Converterは、本来ユーティリティとして位置づけられてますが、他のサービスとの連携が必要な複雑な実装をサービスとして実装しています。
13 | 14 | 15 | -------------------------------------------------------------------------------- /src/test/resources/jp/ossc/nimbus/service/http/httpclient/service-conv.xml: -------------------------------------------------------------------------------- 1 | 2 | 5 | 6 | 7 | 8 | 9 | 10 | 12 | 13 | 14 | 15 | -------------------------------------------------------------------------------- /src/test/resources/jp/ossc/nimbus/util/converter/DataSetXMLConverterTest.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 |

5 | :A,java.util.Date,"jp.ossc.nimbus.util.converter.DateFormatConverter{ConvertType=2;Format="yyyy-MM-DD"}","jp.ossc.nimbus.util.converter.DateFormatConverter{ConvertType=1;Format="yyyy-MM-DD"}","@value@ != null" 6 | :B,java.lang.String,,,
7 | 8 |
9 | 2008-01-28 10 | TestValue 11 |
12 | -------------------------------------------------------------------------------- /src/main/java/jp/ossc/nimbus/service/validator/package.html: -------------------------------------------------------------------------------- 1 | 4 | 5 | 6 | 7 | Nimbus Validator パッケージコメントファイル 8 | 9 | 10 | Nimbusのバリデータサービスを提供します。

11 | Validatorインタフェースを実装したサービスを提供します。
12 | Validatorは、本来ユーティリティとして位置づけられてますが、他のサービスとの連携が必要な複雑な実装をサービスとして実装しています。
13 | 14 | 15 | -------------------------------------------------------------------------------- /src/main/java/jp/ossc/nimbus/service/semaphore/package.html: -------------------------------------------------------------------------------- 1 | 4 | 5 | 6 | 7 | Nimbus セマフォ パッケージコメントファイル 8 | 9 | 10 | Nimbusのセマフォサービスを提供します。

11 | マルチスレッドで、限られたリソースにアクセスする際の、同期制御を行う機能 12 | を抽象化したインタフェースが、Semaphoreです。
13 |

14 | このパッケージでは、そのSemaphoreインタフェースを実装したサービスを提供します。
15 | 16 | 17 | -------------------------------------------------------------------------------- /src/main/java/jp/ossc/nimbus/service/writer/log4j/package.html: -------------------------------------------------------------------------------- 1 | 4 | 5 | 6 | 7 | Nimbus Log4J Writer パッケージコメントファイル 8 | 9 | 10 | NimbusのLog4J出力サービスを提供します。

11 | The Apache Jakarta ProjectのLog4JのAppenderを使用したMessageWriterサービスを提供します。
12 | 13 | 14 | -------------------------------------------------------------------------------- /src/test/java/jp/ossc/nimbus/service/log/def/logserviceTest.def: -------------------------------------------------------------------------------- 1 | TST000001,MESSAGE_1_@0,55,CATEGORY1 2 | TST000002,MESSAGE_2_@0_@1_@2_@3_@4,55,CATEGORY1 3 | TST000003,MESSAGE_3,50,CATEGORY1 4 | TST000004,MESSAGE_4,51,CATEGORY1 5 | TST000005,MESSAGE_5,100,CATEGORY1 6 | TST000006,MESSAGE_6,101,CATEGORY1 7 | TST000007,MESSAGE_7,150,CATEGORY1 8 | TST000008,MESSAGE_8,151,CATEGORY1 9 | TST000009,MESSAGE_9,200,CATEGORY1 10 | TST000010,MESSAGE_10,201,CATEGORY1 11 | TST999998,==========START==========,999999,CATEGORY1 12 | TST999999,==========END==========,999999,CATEGORY1 -------------------------------------------------------------------------------- /src/test/resources/jp/ossc/nimbus/service/log/def/logserviceTest.def: -------------------------------------------------------------------------------- 1 | TST000001,MESSAGE_1_@0,55,CATEGORY1 2 | TST000002,MESSAGE_2_@0_@1_@2_@3_@4,55,CATEGORY1 3 | TST000003,MESSAGE_3,50,CATEGORY1 4 | TST000004,MESSAGE_4,51,CATEGORY1 5 | TST000005,MESSAGE_5,100,CATEGORY1 6 | TST000006,MESSAGE_6,101,CATEGORY1 7 | TST000007,MESSAGE_7,150,CATEGORY1 8 | TST000008,MESSAGE_8,151,CATEGORY1 9 | TST000009,MESSAGE_9,200,CATEGORY1 10 | TST000010,MESSAGE_10,201,CATEGORY1 11 | TST999998,==========START==========,999999,CATEGORY1 12 | TST999999,==========END==========,999999,CATEGORY1 -------------------------------------------------------------------------------- /src/main/java/jp/ossc/nimbus/daemon/package.html: -------------------------------------------------------------------------------- 1 | 4 | 5 | 6 | 7 | Nimbus Daemon パッケージコメントファイル 8 | 9 | 10 | Nimbusのデーモンスレッドライブラリを提供します。

11 | Javaのスレッドは、デッドロックを回避するために、スレッドの一時停止及び再開、 12 | 停止などの操作をフラグ操作によって自前で実装する事を推奨しています。
13 | そのため、スレッドAPIの使用には、テクニックを要求されます。
14 | Nimbusでは、そのような煩雑なスレッドの操作を簡単に行えるように、このライブラリ 15 | を提供しています。
16 | 17 | 18 | -------------------------------------------------------------------------------- /src/main/java/jp/ossc/nimbus/service/http/httpclient/package.html: -------------------------------------------------------------------------------- 1 | 4 | 5 | 6 | 7 | Nimbus HttpClient パッケージコメントファイル 8 | 9 | 10 | NimbusのHTTPサービスJakarta Commons HttpClient実装を提供します。

11 | このパッケージでは、Jakarta Commons HttpClientを使ったHTTPプロトコルによる外部接続機能を提供します。
12 | 13 | 14 | -------------------------------------------------------------------------------- /src/test/resources/jp/ossc/nimbus/service/http/httpclient/help_output.txt: -------------------------------------------------------------------------------- 1 | POST http://10.250.1.12:8180/cds/user_contents/web/html/tilettl_help_actcusemldelaccept_desc.html HTTP/1.1 2 | Content-Type: application/xml;charset=Shift_JIS 3 | User-Agent: Jakarta Commons-HttpClient/3.1 4 | Host: 10.250.1.12:8180 5 | Proxy-Connection: Keep-Alive 6 | Content-Length: 241 7 | 8 |

:name,java.lang.String,,, 9 | :age,int,,,
hoge25
-------------------------------------------------------------------------------- /src/test/resources/jp/ossc/nimbus/service/context/nimbus-service.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | hirotaka 14 | 15 | 16 | 17 | -------------------------------------------------------------------------------- /src/test/resources/jp/ossc/nimbus/service/context/nimbus-service2.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | hirotaka 14 | 15 | 16 | 17 | -------------------------------------------------------------------------------- /src/main/java/jp/ossc/nimbus/service/scheduler2/package.html: -------------------------------------------------------------------------------- 1 | 4 | 5 | 6 | 7 | Nimbus スケジューラ パッケージコメントファイル 8 | 9 | 10 | Nimbusのスケジューラサービスを提供します。

11 | jp.ossc.nimbus.service.schedulerパッケージのスケジューラは、 12 | 単体のサーバ上でのスケジュール実行しかサポートしていませんでしたが、 13 | このパッケージのスケジューラは、分散環境のサポート、スケジュールの依存関係、 14 | スケジュールのリトライなど、エンタープライズなスケジュール機能をサポートしています。
15 | 従って、バッチフレームワークとして使用可能なレベルになっています。
16 | 17 | 18 | -------------------------------------------------------------------------------- /src/main/java/jp/ossc/nimbus/util/converter/package.html: -------------------------------------------------------------------------------- 1 | 4 | 5 | 6 | 7 | Nimbus Converter Utility パッケージコメントファイル 8 | 9 | 10 | 汎用的なコンバータユーティリティを提供します。

11 | コンバータは任意のオブジェクトを別の任意のオブジェクトに変換する機能です。
12 | コンバータは、通常再入可能です。従って、コンバータのインスタンスは再利用可能です。 13 | シングルトンなコンバータのインスタンスを取得できるようにConvertersクラスを提供しています。
14 | 15 | 16 | -------------------------------------------------------------------------------- /src/main/resources/jp/ossc/nimbus/service/test/TestSwingRunnerUsage.txt: -------------------------------------------------------------------------------- 1 | コマンド使用方法: 2 | java jp.ossc.nimbus.service.test.TestSwingRunner [options] [service paths] 3 | 4 | [options] 5 | 6 | [-validate] 7 | サービス定義をDTDで検証する。 8 | 9 | [-servicedir] 10 | ロードするサービス定義ファイルのディレクトリとサービス定義ファイルを特定するフィルタを指定する。 11 | 12 | [-postservicedir] 13 | 最後にロードするサービス定義ファイルのディレクトリとサービス定義ファイルを特定するフィルタを指定する。 14 | 15 | [-help] 16 | ヘルプを表示します。 17 | 18 | [service paths] 19 | ロードするサービス定義ファイルのパス 20 | 21 | 使用例 : 22 | java -classpath nimbus.jar jp.ossc.nimbus.service.test.TestSwingRunner service-definition.xml 23 | -------------------------------------------------------------------------------- /src/main/java/jp/ossc/nimbus/service/journal/editorfinder/package.html: -------------------------------------------------------------------------------- 1 | 4 | 5 | 6 | 7 | Nimbus エディタファインダ パッケージコメントファイル 8 | 9 | 10 | Nimbusのジャーナル編集検索サービスを提供します。

11 | ジャーナルに出力する任意のオブジェクトを毎に出力編集を行うJournalEditorをマッピングする機能を抽象化したインタフェースが、EditorFinderです。
12 |

13 | このパッケージでは、EditorFinderインタフェースを実装したサービスを提供します。
14 | 15 | 16 | -------------------------------------------------------------------------------- /src/test/resources/jp/ossc/nimbus/core/resources/nimbus-service5.xml: -------------------------------------------------------------------------------- 1 | 2 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | -------------------------------------------------------------------------------- /src/main/java/jp/ossc/nimbus/service/aop/interceptor/package.html: -------------------------------------------------------------------------------- 1 | 4 | 5 | 6 | 7 | Nimbus AOP Interceptor パッケージコメントファイル 8 | 9 | 10 | Nimbusのアスペクト指向サービスにおけるインターセプタサービスを提供します。

11 | アスペクト指向を考える時、利用用途として最も重要な概念は、 12 | 「任意の処理の前または後もしくはその両方で、特定の処理を行う」でしょう。
13 | その概念を抽象化したインタフェースが、Interceptorです。
14 |

15 | このパッケージでは、そのInterceptorインタフェースを実装したサービスを提供します。
16 | 17 | 18 | -------------------------------------------------------------------------------- /src/test/resources/jp/ossc/nimbus/service/aop/interceptor/servlet/service-definitionTestdef.xml: -------------------------------------------------------------------------------- 1 | 2 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 14 | 15 | 16 | 17 | -------------------------------------------------------------------------------- /src/main/resources/jp/ossc/nimbus/core/ServiceManagerFactoryUsage.txt: -------------------------------------------------------------------------------- 1 | コマンド使用方法: 2 | java jp.ossc.nimbus.core.ServiceManagerFactory [options] [paths] 3 | 4 | [options] 5 | 6 | [-validate] 7 | サービス定義をDTDで検証する。 8 | 9 | [-server] 10 | メインスレッドを待機させて、サーバとして動かす。 11 | 12 | [-dir path] 13 | サービス定義ファイルのディレクトリとサービス定義ファイルを特定するフィルタを指定する。 14 | 15 | [-postdir path] 16 | 最後に読み込むサービス定義ファイルのディレクトリとサービス定義ファイルを特定するフィルタを指定する。 17 | 18 | [-help] 19 | ヘルプを表示します。 20 | 21 | [paths] 22 | ロードするサービス定義ファイルのパス 23 | 24 | 使用例 : 25 | java -classpath classes;lib/nimbus.jar jp.ossc.nimbus.core.ServiceManagerFactory service-definition.xml 26 | -------------------------------------------------------------------------------- /src/main/java/jp/ossc/nimbus/service/aop/invoker/package.html: -------------------------------------------------------------------------------- 1 | 4 | 5 | 6 | 7 | Nimbus AOP Invoker パッケージコメントファイル 8 | 9 | 10 | Nimbusのアスペクト指向サービスにおける呼び出しサービスを提供します。

11 | アスペクト指向プログラミングでは、「本来の処理」を横断的に捉えて、それに対して「特定の処理」を行います。
12 | その「特定の処理」の先には、「本来の処理」があります。
13 | そのアスペクトされた「本来の処理」を呼び出すという概念を抽象化したインタフェースが、Invokerです。
14 |

15 | このパッケージでは、そのInvokerインタフェースを実装したサービスを提供します。
16 | 17 | 18 | -------------------------------------------------------------------------------- /.project: -------------------------------------------------------------------------------- 1 | 2 | 3 | nimbus 4 | Nimbus Framework. NO_M2ECLIPSE_SUPPORT: Project files created with the maven-eclipse-plugin are not supported in M2Eclipse. 5 | 6 | 7 | 8 | org.eclipse.jdt.core.javabuilder 9 | 10 | 11 | org.eclipse.m2e.core.maven2Builder 12 | 13 | 14 | 15 | org.eclipse.m2e.core.maven2Nature 16 | org.eclipse.jdt.core.javanature 17 | 18 | -------------------------------------------------------------------------------- /.settings/org.eclipse.jdt.core.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 | org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.6 7 | org.eclipse.jdt.core.compiler.compliance=1.6 8 | org.eclipse.jdt.core.compiler.problem.enablePreviewFeatures=disabled 9 | org.eclipse.jdt.core.compiler.problem.forbiddenReference=warning 10 | org.eclipse.jdt.core.compiler.problem.reportPreviewFeatures=ignore 11 | org.eclipse.jdt.core.compiler.processAnnotations=enabled 12 | org.eclipse.jdt.core.compiler.release=disabled 13 | org.eclipse.jdt.core.compiler.source=1.6 14 | -------------------------------------------------------------------------------- /src/test/resources/jp/ossc/nimbus/service/beancontrol/beanflow/beanflow1.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 8 | 9 | 14 | 15 | 16 | 17 | -------------------------------------------------------------------------------- /src/test/resources/jp/ossc/nimbus/core/resources/nimbus-service7.xml: -------------------------------------------------------------------------------- 1 | 2 | 5 | 6 | 7 | 8 | Nimbus1 9 | Nimbus2 10 | 100 11 | http://nimbus.org/index.html 12 | 13 | 14 | 15 | -------------------------------------------------------------------------------- /src/main/java/jp/ossc/nimbus/service/context/package.html: -------------------------------------------------------------------------------- 1 | 4 | 5 | 6 | 7 | Nimbus コンテキスト パッケージコメントファイル 8 | 9 | 10 | Nimbusのコンテキストサービスを提供します。

11 | アプリケーションを開発する上で、一意なキーに関連付けられたオブジェクトを保持する場所が必要になります。
12 | また、その場所は、一般的にスコープと呼ばれる概念で、ライフサイクルが異なったり、意味付けが異なったりします。
13 | しかしながら、アプリケーションから見ると「一意なキーに関連付けられたオブジェクトを保持する場所」という概念だけは、一定です。
14 | そこで、その概念を抽象化したインタフェースが、Contextです。
15 |

16 | このパッケージでは、そのContextインタフェースを実装したサービスを提供します。
17 | 18 | 19 | -------------------------------------------------------------------------------- /src/main/java/jp/ossc/nimbus/service/aop/javassist/package.html: -------------------------------------------------------------------------------- 1 | 4 | 5 | 6 | 7 | Nimbus AOP Javassist パッケージコメントファイル 8 | 9 | 10 | Nimbusのアスペクト指向サービスにおけるJavassistアスペクトサービスを提供します。

11 | アスペクト指向における「横断要素」を、Javaクラスのメソッドに対して定義し、 12 | クラスファイルのバイトコードを操作する事で、 13 | そこにInterceptorChainを挟み込むサービスを提供します。
14 | クラスファイルのバイトコード操作には、アスペクト指向プログラミングのオープンソースライブラリ 15 | Javassist 16 | を使います。
17 | 18 | 19 | -------------------------------------------------------------------------------- /src/test/resources/jp/ossc/nimbus/service/performance/nimbus-service.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | jp.ossc.nimbus.service.performance.PerformanceRecordImpl 15 | 16 | 17 | 18 | 19 | -------------------------------------------------------------------------------- /src/main/java/jp/ossc/nimbus/service/beancontrol/package.html: -------------------------------------------------------------------------------- 1 | 4 | 5 | 6 | 7 | Nimbus 業務フロー パッケージコメントファイル 8 | 9 | 10 | Nimbusの業務フローを提供します。

11 | 業務設計者が業務フローを定義し、その詳細実装をプログラマーが行うという、 12 | 業務設計者とプログラマーの分業をサポートするための業務フロー機能を提供します。
13 | 業務フローの定義は、構造化言語であるXMLで行います。
14 | そこでは、通常フローチャートで記述可能な、ステップ単位での処理、条件分岐、繰り返し処理などが可能です。 15 | また、Java Beanの操作を主眼に置いているため、様々なBeanのプロパティ操作によるインジェクションが可能です。 16 | さらに、J2EEアプリケーションサーバ上では、JTAを使ったトランザクション制御もサポートします。
17 | (詳細は、ここを参照)
18 | 19 | 20 | -------------------------------------------------------------------------------- /src/main/java/jp/ossc/nimbus/service/journal/editor/package.html: -------------------------------------------------------------------------------- 1 | 4 | 5 | 6 | 7 | Nimbus ジャーナルエディタ パッケージコメントファイル 8 | 9 | 10 | Nimbusのジャーナル編集サービスを提供します。

11 | アプリケーションは、任意のオブジェクトをジャーナルに出力します。
12 | その際、渡したオブジェクト毎に違うフォーマットで出力したくなるかもしれません。
13 | 例えば、文字列はそのままだけど、java.util.Dateオブジェクトは一定の日付フォーマットで出力したいとか。
14 | 例外オブジェクトならば、スタックトレースを出力したいとか。
15 | そのようなオブジェクト毎の出力編集を行う概念を抽象化したインタフェースが、JournalEditorです。
16 |

17 | このパッケージでは、JournalEditorインタフェースを実装したサービスを提供します。
18 | 19 | 20 | -------------------------------------------------------------------------------- /src/main/resources/jp/ossc/nimbus/beans/dataset/DataSetCodeGeneratorUsage.txt: -------------------------------------------------------------------------------- 1 | コマンド使用方法: 2 | java jp.ossc.nimbus.beans.dataset.DataSetCodeGenerator [options] [definition files] 3 | 4 | [options] 5 | 6 | [-validate true|false] 7 | 定義ファイルのXMLバリデーションを行うかどうかを指定します。 8 | このオプションの指定がない場合は、バリデーションを行います。 9 | 10 | [-encoding encoding] 11 | 生成するソースファイルの文字コードを指定します。 12 | このオプションの指定がない場合は、OSの文字コードに依存します。 13 | 14 | [-d directory] 15 | 出力先のディレクトリを指定します。 16 | このオプションの指定がない場合は、実行時のカレントに出力します。 17 | 18 | [-v] 19 | 実行の詳細を表示します。 20 | 21 | [-help] 22 | ヘルプを表示します。 23 | 24 | [definition files] 25 | 定義ファイル名を指定します。 26 | スペース区切りで複数指定可能です。 27 | 28 | 使用例 : 29 | java -classpath classes;lib/nimbus.jar jp.ossc.nimbus.beans.dataset.DataSetCodeGenerator dataset-definition.xml 30 | -------------------------------------------------------------------------------- /src/test/resources/jp/ossc/nimbus/service/jndi/nimbus-service.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | CacheService 14 | 15 | 16 | 17 | 18 | 19 | 20 | -------------------------------------------------------------------------------- /src/test/resources/jp/ossc/nimbus/core/resources/nimbus-service9.xml: -------------------------------------------------------------------------------- 1 | 2 | 5 | 6 | 7 | 8 | AAA 9 | AAA,BBB,CCC 10 | 100 11 | http://nimbus.org/index.html 12 | 13 | key1=1 14 | key2=2 15 | key3=3 16 | 17 | 18 | 19 | 20 | -------------------------------------------------------------------------------- /src/test/resources/jp/ossc/nimbus/core/resources/nimbus-service8.xml: -------------------------------------------------------------------------------- 1 | 2 | 5 | 6 | 7 | 8 | AAA 9 | AAA,BBB,CCC 10 | 100 11 | http://nimbus.org/index.html 12 | 13 | key1=1 14 | key2=2 15 | key3=3 16 | 17 | 18 | 19 | 20 | -------------------------------------------------------------------------------- /src/test/resources/jp/ossc/nimbus/util/converter/DataSetXpathConverterTest.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | テキスト1-1 5 | テキスト1-2 6 | テキスト1-3 7 | 8 | 9 | テキスト2-1 10 | テキスト2-2 11 | テキスト2-3 12 | 13 | 14 | テキスト3-1 15 | テキスト3-2 16 | テキスト3-3 17 | 18 | -------------------------------------------------------------------------------- /src/test/resources/jp/ossc/nimbus/core/resources/nimbus-service3.xml: -------------------------------------------------------------------------------- 1 | 2 | 5 | 6 | 7 | 8 | AAA 9 | AAA,BBB,CCC 10 | 100 11 | http://nimbus.org/index.html 12 | 13 | key1=1 14 | key2=2 15 | key3=3 16 | 17 | 18 | 19 | 20 | -------------------------------------------------------------------------------- /src/test/resources/jp/ossc/nimbus/core/resources/nimbus-service10.xml: -------------------------------------------------------------------------------- 1 | 2 | 5 | 6 | 7 | 8 | AAA 9 | AAA,BBB,CCC 10 | 100 11 | http://nimbus.org/index.html 12 | 13 | key1=1 14 | key2=2 15 | key3=3 16 | 17 | 18 | 19 | 20 | -------------------------------------------------------------------------------- /src/main/java/jp/ossc/nimbus/beans/dataset/package.html: -------------------------------------------------------------------------------- 1 | 4 | 5 | 6 | 7 | Nimbus Beans DataSetパッケージコメントファイル 8 | 9 | 10 | Nimbusの汎用データセットライブラリを提供します。

11 | 通常、アプリケーションで使用するデータ構造には、1次元で表現できるデータと、2次元で表現できるデータ、またその組み合わせで表現できるデータがあります。
12 | Nimbusでは、このような汎用的なデータ構造を表現するクラスを、その時々に応じてクラスを実装して開発するコストを削減するために、データ構造を動的に定義して、汎用的なデータ構造を表現できる機能を提供します。
13 | 汎用データセットでは、データ構造を文字列で指定する事で、データ構造をプログラミングする事が可能となります。
14 | データ構造の定義では、通常、名前、型の情報がありますが、汎用データセットでは、データ構造の定義に様々な付加的情報を与える事が可能です。また、データ構造の定義情報自体も拡張可能です。
15 | 16 | 17 | -------------------------------------------------------------------------------- /src/test/java/jp/ossc/nimbus/service/aop/interceptor/servlet/MockFilterChain.javapp_sapi: -------------------------------------------------------------------------------- 1 | package jp.ossc.nimbus.service.aop.interceptor.servlet; 2 | 3 | import java.io.IOException; 4 | 5 | @START=SERVLET_API6@ 12 | import jakarta.servlet.FilterChain; 13 | import jakarta.servlet.ServletException; 14 | import jakarta.servlet.ServletRequest; 15 | import jakarta.servlet.ServletResponse; 16 | @END>=SERVLET_API6@ 17 | 18 | public class MockFilterChain implements FilterChain { 19 | 20 | public void doFilter(ServletRequest arg0, ServletResponse arg1) 21 | throws IOException, ServletException { 22 | // TODO 自動生成されたメソッド・スタブ 23 | 24 | } 25 | 26 | } 27 | -------------------------------------------------------------------------------- /src/test/resources/jp/ossc/nimbus/core/resources/nimbus-service2.xml: -------------------------------------------------------------------------------- 1 | 2 | 5 | 6 | 7 | 8 | AAA 9 | AAA,BBB,CCC 10 | 100 11 | http://nimbus.org/index.html 12 | 13 | key1=1 14 | key2=2 15 | key3=3 16 | 17 | 200 18 | 19 | 20 | 21 | -------------------------------------------------------------------------------- /src/main/java/jp/ossc/nimbus/service/queue/package.html: -------------------------------------------------------------------------------- 1 | 4 | 5 | 6 | 7 | Nimbus キュー パッケージコメントファイル 8 | 9 | 10 | Nimbusのキューサービスを提供します。

11 | FIFOのキュー機能を抽象化したインタフェースがQueueです。
12 | FIFOの概念はもちろん、マルチスレッドによる取得待ちに対して、取得待ち順序通りにキューデータを渡していきます。
13 |

14 | このパッケージでは、Queueインタフェースを実装したサービスを提供します。
15 |

16 | また、Queueは、通常非同期処理を行うために使用します。
17 | その際に、Queueに詰められた事を検知して、非同期に任意の処理を行う機能が必要になります。
18 | そのような非同期処理コンテナ機能を実装したQueueHandlerContainerServiceを提供します。
19 | また、非同期処理コンテナ上で「任意の処理を行う」機能を抽象化したインタフェースが、QueueHandlerです。
20 | 21 | 22 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # Nimbusとは 2 | 3 | Nimbus は、SIerによるSIerのためのSI部品ライブラリです。 4 | 5 | 部品は、サービスと呼ばれるライフサイクルを持ったJavaアプリケーションで、JMXのMBeanとして実装する事で、JMXからも管理できます。 6 | 7 | 基盤としてDIコンテナを持ちます。 XMLの定義ファイルによって、ホスティングするサービスを定義し、サービス間の依存関係や、サービスへのインジェクションを行います。 8 | 9 | # 機能一覧 10 | 11 | [こちら](https://osdn.net/projects/nimbus/wiki/FunctionList "機能一覧") 12 | 13 | # インストール 14 | 15 | jarをクラスパス上に配置して利用します。 16 | 17 | # 使用方法 18 | 19 | サービス定義XMLファイルを記述して、Nimbusに読み込ませる事で、サービスをホスティングし、利用可能な状態にします。詳細は、Wikiを参照。 20 | 21 | # JavaDoc 22 | 23 | [こちら](https://nimbus-org.github.io/gh-pages/javadoc/1.2.5/index.html "JavaDoc") 24 | 25 | 26 | # ドキュメント 27 | 28 | [こちら](https://nimbus-org.github.io/gh-pages/documents/index.html "ドキュメント") 29 | 30 | # サンプル 31 | 32 | [こちら](https://github.com/nimbus-org/nimbus-sample "Nimbusサンプル") 33 | 34 | # FAQ 35 | 36 | [こちら](https://osdn.net/projects/nimbus/wiki/FAQ "FAQ") 37 | 38 | -------------------------------------------------------------------------------- /src/test/resources/jp/ossc/nimbus/service/sequence/nimbus-service.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 15 | 16 | 17 | N,N;A,A;K,K;0,9;0,1 18 | 19 | 20 | 21 | 22 | 0;105 23 | 24 | 25 | 26 | 27 | -------------------------------------------------------------------------------- /src/main/java/jp/ossc/nimbus/service/proxy/invoker/package.html: -------------------------------------------------------------------------------- 1 | 4 | 5 | 6 | 7 | Nimbus プロキシInvoker パッケージコメントファイル 8 | 9 | 10 | Nimbusのプロキシサービス用のInvokerサービスを提供します。

11 | プロキシのInvokerとして、以下のものを用意してます。
12 |

18 | 19 | 20 | -------------------------------------------------------------------------------- /src/main/java/jp/ossc/nimbus/service/converter/CodeMasterConverterServiceMBean.java: -------------------------------------------------------------------------------- 1 | package jp.ossc.nimbus.service.converter; 2 | 3 | import jp.ossc.nimbus.core.*; 4 | 5 | /** 6 | * {@link CodeMasterConverterService}サービスMBeanインタフェース。

7 | * 8 | * @author M.Takata 9 | */ 10 | public interface CodeMasterConverterServiceMBean extends ServiceBaseMBean{ 11 | 12 | public void setThreadContextServiceName(ServiceName name); 13 | public ServiceName getThreadContextServiceName(); 14 | 15 | public void setThreadContextKey(String key); 16 | public String getThreadContextKey(); 17 | 18 | public void setCodeMasterFinderServiceName(ServiceName name); 19 | public ServiceName getCodeMasterFinderServiceName(); 20 | 21 | public void setMasterName(String name); 22 | public String getMasterName(); 23 | 24 | public void setCodeMasterConverterServiceName(ServiceName name); 25 | public ServiceName getCodeMasterConverterServiceName(); 26 | } -------------------------------------------------------------------------------- /src/main/java/jp/ossc/nimbus/service/jndi/package.html: -------------------------------------------------------------------------------- 1 | 4 | 5 | 6 | 7 | Nimbus JNDI パッケージコメントファイル 8 | 9 | 10 | NimbusのJNDIサービスを提供します。

11 | JNDI(Java Naming and Directory Interface)の接続には、接続先のJNDIサーバ等の接続情報を引数で指定する必要があります。 12 | (jndi.propertiesで設定する方法もありますが、その場合接続先が1つに限られるので複数のJNDIサーバに接続する場合などに問題になります)
13 | また、接続したJNDIコンテキストからリモートオブジェクトを取得するのは、通常は通信コストがかかるため、処理性能に影響します。 14 | この問題を解決するために、JNDIコンテキストから取得したリモートオブジェクトを保持しておいて、毎回取得しないでも済むように対策したりします。 15 |

16 | このように、JNDIからのリモートオブジェクトの取得は、複雑なパラメータの指定や、性能対策などが必要になり、簡単に取得できるとは言いがたいものがあります。
17 | そこで、取得方法やパラメータの設定等を、サービスの実装や属性設定に置き換える事で、 18 | JNDIからリモートオブジェクトを取得するという簡潔な手段だけを抽象化したインタフェースが、 19 | JndiFinderです。
20 |

21 | このパッケージでは、そのJndiFinderインタフェースを実装したサービスを提供します。
22 | 23 | 24 | -------------------------------------------------------------------------------- /src/main/java/jp/ossc/nimbus/service/ejb/package.html: -------------------------------------------------------------------------------- 1 | 4 | 5 | 6 | 7 | Nimbus EJB パッケージコメントファイル 8 | 9 | 10 | NimbusのEJBサービスを提供します。

11 | EJB2.0までのEJBは、EJBの参照を取得するのに、以下のような複雑なAPIの呼び出し手続きが必要になる。
12 |

    13 |
  1. JNDI環境変数を指定して(またはjndi.propertiesをクラスパスに置いて)、JNDIコンテキストを生成する。
  2. 14 |
  3. JNDIコンテキストからEJBホームオブジェクトをlookupする。
  4. 15 |
  5. EJBホームオブジェクトを必要なインタフェースへnarrowする。
  6. 16 |
  7. EJBホームオブジェクトからEJBリモートオブジェクトをcreateする。
  8. 17 |
  9. EJBリモートオブジェクトのメソッドを呼び出す。
  10. 18 |
19 | また、毎回JNDIコンテキストからEJBホームオブジェクトをlookupすると、 20 | そのたびにJNDIサーバとの通信が発生するため、通常はEJBホームオブジェクトをキャッシュする仕組み等を考える必要もある。
21 |

22 | このようなEJBの取得に際して発生し得る問題を隠蔽し、EJBの参照を取得するという簡潔な手段だけを抽象化したインタフェースが、 23 | EJBFactoryです。
24 |

25 | このパッケージでは、そのEJBFactoryインタフェースを実装したサービスを提供します。
26 | 27 | 28 | -------------------------------------------------------------------------------- /src/test/java/jp/ossc/nimbus/recset/RecordSetTest.java: -------------------------------------------------------------------------------- 1 | // パッケージ 2 | package jp.ossc.nimbus.recset; 3 | //インポート 4 | 5 | import junit.framework.TestCase; 6 | 7 | /** 8 | * ファイル操作クラス

9 | * ファイルのコピーやリネームと言った操作を行う 10 | * @version $Name: $ 11 | * @author H.Nakano 12 | * @since 1.0 13 | * @see 14 | */ 15 | public class RecordSetTest extends TestCase { 16 | //メッセージファイルパスを1個指定した場合 17 | public void testInsertRecord() throws Exception{ 18 | TestRecSet tmp = new TestRecSet() ; 19 | RowData rd = tmp.createNewRecord() ; 20 | rd.setValue("OPERATIONDATE","20030303"); 21 | rd.setValue("GYOUMUCD","111") ; 22 | rd.setValue("MEMOSEQ",1) ; 23 | rd.setValue("LINENO",1) ; 24 | rd.setValue("MEMODATA","aaaa") ; 25 | tmp.insertRecord(rd); 26 | rd = tmp.createNewRecord() ; 27 | rd.setValue("OPERATIONDATE","20030303"); 28 | rd.setValue("GYOUMUCD","111") ; 29 | rd.setValue("MEMOSEQ",1) ; 30 | rd.setValue("LINENO",1) ; 31 | rd.setValue("MEMODATA","aaaa") ; 32 | tmp.insertRecord(rd); 33 | } 34 | 35 | } 36 | -------------------------------------------------------------------------------- /src/test/java/jp/ossc/nimbus/recset/TestRecSet.java: -------------------------------------------------------------------------------- 1 | // パッケージ 2 | // インポート 3 | package jp.ossc.nimbus.recset; 4 | 5 | /** 6 | * ファイル操作クラス

7 | * ファイルのコピーやリネームと言った操作を行う 8 | * @version $Name: $ 9 | * @author H.Nakano 10 | * @since 1.0 11 | * @see 12 | */ 13 | public class TestRecSet extends RecordSet { 14 | 15 | private static final long serialVersionUID = -393903869827407791L; 16 | /** スキーマ定義 */ 17 | private static final String C_SCHEMA = 18 | "OPERATIONDATE,CHAR,8,3,0" + C_SEPARATOR 19 | + "GYOUMUCD,CHAR,3,3,0" + C_SEPARATOR 20 | + "MEMOSEQ,INT,2,3,0" + C_SEPARATOR 21 | + "LINENO,INT,3,3,0" + C_SEPARATOR 22 | + "MEMODATA,VARCHAR,100,3,0" + C_SEPARATOR 23 | + "ROWVERSION,INT,9,1,0"; 24 | /** テーブル名 */ 25 | private static final String TABLE_NAME = "COMMON_MEMO_DATA"; 26 | public TestRecSet() { 27 | /** 28 | * コンストラクター 29 | */ 30 | super(); 31 | super.initSchema(C_SCHEMA); 32 | super.setFromTable(TABLE_NAME); 33 | super.setOrderbyStr("MEMOSEQ,LINENO"); 34 | } 35 | 36 | } 37 | -------------------------------------------------------------------------------- /src/test/resources/jp/ossc/nimbus/io/split0: -------------------------------------------------------------------------------- 1 | tetttttetttttetttttetttttetttttetttttettttaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa 2 | tetttttetttttetttttetttttetttttetttttettttaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa 3 | tetttttetttttetttttetttttetttttetttttettttaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa 4 | tetttttetttttetttttetttttetttttetttttettttaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa 5 | tetttttetttttetttttetttttetttttetttttettttaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa 6 | tetttttetttttetttttetttttetttttetttttettttaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa 7 | tetttttetttttetttttetttttetttttetttttettttaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa 8 | tetttttetttttetttttetttttetttttetttttettttaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa 9 | tetttttetttttetttttetttttetttttetttttettttaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa 10 | tetttttetttttetttttetttttetttttetttttettttaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa 11 | tetttttett -------------------------------------------------------------------------------- /src/test/resources/jp/ossc/nimbus/io/split1: -------------------------------------------------------------------------------- 1 | tttetttttetttttetttttetttttettttaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa 2 | tetttttetttttetttttetttttetttttetttttettttaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa 3 | tetttttetttttetttttetttttetttttetttttettttaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa 4 | tetttttetttttetttttetttttetttttetttttettttaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa 5 | tetttttetttttetttttetttttetttttetttttettttaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa 6 | tetttttetttttetttttetttttetttttetttttettttaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa 7 | tetttttetttttetttttetttttetttttetttttettttaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa 8 | tetttttetttttetttttetttttetttttetttttettttaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa 9 | tetttttetttttetttttetttttetttttetttttettttaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa 10 | tetttttetttttetttttetttttetttttetttttettttaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa 11 | tetttttetttttettttte -------------------------------------------------------------------------------- /src/main/java/jp/ossc/nimbus/service/message/package.html: -------------------------------------------------------------------------------- 1 | 4 | 5 | 6 | 7 | Nimbus メッセージ パッケージコメントファイル 8 | 9 | 10 | Nimbusのメッセージレコード生成サービスを提供します。

11 | アプリケーションで何らかのメッセージ出力を行う場合、必要となる要件を列挙します。
12 |

    13 |
  1. メッセージを管理するためにメッセージには一意に識別するIDを付与する必要があります。
  2. 14 |
  3. IDを付与したメッセージの定義は、変更が容易にできるように外部リソースに外出しする必要があります。
  4. 15 |
  5. 国際化対応するために、メッセージ定義リソースは、国や言語などのロケール毎に定義できる必要があります。
  6. 16 |
  7. メッセージを出力する際には、動的に変わる部分もあるので、埋め込みメッセージが可能である必要があります。
    また、動的に変わる部分は、実運用上マスクする必要がある場合があります。
  8. 17 |
  9. メッセージ定義には、IDとメッセージ以外にも、任意の情報を持たせる事ができるように拡張が容易である必要があります。
  10. 18 |
19 | 1から4の要件を満たすべく抽象化されたインタフェースが、MessageRecordFactoryです。
20 | また、5の要件を満たすべく抽象化されたインタフェースが、MessageRecordMessageRecordOperatorです。
21 |

22 | このパッケージでは、これらのインタフェースを実装したサービスを提供します。
23 | 24 | 25 | -------------------------------------------------------------------------------- /src/main/java/jp/ossc/nimbus/service/writer/package.html: -------------------------------------------------------------------------------- 1 | 4 | 5 | 6 | 7 | Nimbus Writer パッケージコメントファイル 8 | 9 | 10 | Nimbusの出力サービスを提供します。

11 | 出力するという概念を抽象化すると、「どこにどのように出力するか」でしょう。
12 |

13 | 「どのように出力するか」という概念を抽象化すると、順序性とマッピングが考えられます。
14 | こういう順番で、この項目とこの項目を出力したいといった感じです。
15 | この概念を抽象化したインタフェースがWritableRecordです。
16 | ここで、任意のオブジェクトを出力するためには、任意のオブジェクトを入力として受け取って、 17 | 特定のフォーマットに従ったWritableRecordに変換する必要があります。
18 | この概念を抽象化したインタフェースがWritableRecordFactoryです。
19 |

20 | 次は、このようにしてフォーマットされたWritableRecordを「どこに出力するか」となります。
21 | その概念を抽象化したインタフェースがMessageWriterです。
22 |

23 | さらに、これらの大きな2つの概念、「どこにどのように出力するか」をまとめて抽象化したインタフェースがCategoryです。
24 |

25 | このパッケージでは、これらの概念を具体化したサービスを提供します。
26 | 27 | 28 | -------------------------------------------------------------------------------- /src/test/resources/jp/ossc/nimbus/service/resource/jmsqueue/nimbus-service.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | #JndiFinderService 14 | JndiFinderService 15 | 16 | 17 | 18 | #CacheService 19 | CacheService 20 | 21 | 22 | 23 | 24 | 25 | 26 | -------------------------------------------------------------------------------- /src/main/java/jp/ossc/nimbus/service/aop/interceptor/servlet/package.html: -------------------------------------------------------------------------------- 1 | 4 | 5 | 6 | 7 | Nimbus AOP Servlet Interceptor パッケージコメントファイル 8 | 9 | 10 | Nimbusのアスペクト指向サービスにおけるサーブレットインターセプタサービスを提供します。

11 | NimbusアスペクトのInterceptorの中でも、サーブレット層に特化したInterceptorを提供します。
12 | 従来のJ2EEのサーブレットフィルタでは、web.xmlで初期化パラメータを渡す程度しかできず、フィルタに細かな設定を行う事が困難でした。
13 | Nimbusでは、InterceptorChainCallFilterを使って、 14 | サーブレットフィルタの役割をNimbusアスペクトのInterceptorに委譲する事で、多機能なインジェクション、Nimbusサービスとの親和性を得る事ができます。
15 | このパッケージのInterceptorは、InterceptorChainCallFilterを使って、サーブレットフィルタに挟み込まれる事を前提としており、抽象サービスServletFilterInterceptorServiceを継承しています。
16 | そのため、サーブレットフィルタと同様に、インターセプタ毎にリクエストパスに対してマッピングする事が可能です。 17 | 更に、サーブレットフィルタのような中途半端な正規表現ではなく、java.util.regexを使った正規表現によるパスマッピングが可能です。
18 | 19 | 20 | -------------------------------------------------------------------------------- /src/test/resources/jp/ossc/nimbus/service/properties/nimbus-service.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | src/test/resources/jp/ossc/nimbus/service/properties/xerces.jar 15 | 16 | 17 | ISO-8859-1 18 | 19 | 20 | 21 | 22 | target/test-classes 23 | 24 | 25 | MS932 26 | 27 | 28 | 29 | 30 | -------------------------------------------------------------------------------- /src/main/java/jp/ossc/nimbus/service/proxy/package.html: -------------------------------------------------------------------------------- 1 | 4 | 5 | 6 | 7 | Nimbus プロキシ パッケージコメントファイル 8 | 9 | 10 | Nimbusのプロキシサービスを提供します。

11 | リモートサーバ上のサービスをあたかもローカルにあるサービスのように呼び出すプロキシ機能を提供します。
12 | クライアント側のプロキシと、サーバ側のプロキシが存在し、各プロキシには、インターセプタを挟み込む機能を持ちます。
13 | また、クライアントプロキシには、サーバプロキシを呼び出すためのInvoker機能があり、自由に差し替える事ができます。
14 | 同様に、サーバプロキシにも、呼び出し対象のサービスを呼び出すためのInvoker機能があり、自由に差し替える事ができます。
15 |

16 | クライアントプロキシとしては、RemoteClientServiceを用意しています。
17 | サーバプロキシとしては、以下のものを用意してます。
18 |

22 | また、プロキシのInvokerについては、プロキシサービス用のInvokerサービスを参照して下さい。
23 | 24 | 25 | -------------------------------------------------------------------------------- /src/test/resources/jp/ossc/nimbus/service/message/nimbus-service.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 16 | ServiceRepository 17 | 18 | src/test/resources/jp/ossc/nimbus/service/message 19 | def 20 | true 21 | 22 | 23 | src/test/resources/jp/ossc/nimbus/service/message 24 | def 25 | false 26 | 27 | 28 | 29 | -------------------------------------------------------------------------------- /src/main/resources/jp/ossc/nimbus/service/beancontrol/CompilerUsage.txt: -------------------------------------------------------------------------------- 1 | コマンド使用方法: 2 | java jp.ossc.nimbus.service.beancontrol.Compiler [options] [beanflow files] 3 | 4 | [options] 5 | 6 | [-v] 7 | 実行の詳細を表示します。 8 | 9 | [-class] 10 | jp.ossc.nimbus.service.beancontrol.interfaces.BeanFlowInvokerの実装クラス。 11 | 12 | [-interpreterClass] 13 | jp.ossc.nimbus.service.interpreter.Interpreterの実装クラス。 14 | 15 | [-testInterpreterClass] 16 | jp.ossc.nimbus.service.interpreter.Interpreterの実装クラス。 17 | 18 | [-expressionInterpreterClass] 19 | jp.ossc.nimbus.service.interpreter.Interpreterの実装クラス。 20 | 21 | [-servicedir path filter] 22 | DefaultBeanFlowInvokerFactoryServiceの起動に必要なサービス定義ファイルのディレクトリとサービス定義ファイルを特定するフィルタを指定します。 23 | 24 | [-servicepath paths] 25 | DefaultBeanFlowInvokerFactoryServiceの起動に必要なサービス定義ファイルのパスを指定します。 26 | パスセパレータ区切りで複数指定可能です。 27 | 指定しない場合は、自動で生成します。 28 | 29 | [-servicename name] 30 | DefaultBeanFlowInvokerFactoryServiceのサービス名を指定します。 31 | 指定しない場合はNimbus#BeanFlowInvokerFactoryとみなします。 32 | 33 | [-help] 34 | ヘルプを表示します。 35 | 36 | [beanflow files] 37 | コンパイルする業務フロー定義ファイル、またはディレクトリを指定します。 38 | スペース区切りで複数指定可能です。 39 | 40 | 使用例 : 41 | java -classpath classes;lib/nimbus.jar jp.ossc.nimbus.service.beancontrol.Compiler beanflow-def.xml 42 | -------------------------------------------------------------------------------- /src/main/java/jp/ossc/nimbus/service/cache/package.html: -------------------------------------------------------------------------------- 1 | 4 | 5 | 6 | 7 | Nimbus Cache パッケージコメントファイル 8 | 9 | 10 | Nimbusのキャッシュサービスを提供します。

11 | キャッシュとは、一般的には使用頻度の高いデータを高速な記憶装置に蓄えておく事により、 12 | いちいち低速な装置から読み出す無駄を省いて高速化することを指します。
13 | Nimbusのキャッシュは、あるオブジェクトを一時的に保持しておく機能を抽象化したインタフェースです。
14 | オブジェクトを集合的にキャッシュするCacheインタフェースと、 15 | オブジェクトをキーに関連付けてキャッシュするCacheMapインタフェースがあります。
16 |

17 | また、ここで言う「一時的に保持する」とは、ある条件において、保持しておいたオブジェクトが揮発したり、 18 | 実際に保持する場所(メモリ、ファイル等)が変わってしまう可能性がある事を示唆します。
19 | この事をNimbusのキャッシュでは「あふれ」と呼び、あふれの制御を行う概念を抽象化したインタフェースがOverflowControllerです。
20 |

21 | また、あふれ制御は、大きく3つの概念に分ける事ができます。
22 |

27 | 28 | 29 | -------------------------------------------------------------------------------- /src/main/java/jp/ossc/nimbus/service/connection/package.html: -------------------------------------------------------------------------------- 1 | 4 | 5 | 6 | 7 | Nimbus JDBCコネクション パッケージコメントファイル 8 | 9 | 10 | NimbusのJDBCコネクション生成サービスを提供します。

11 | JDBCのコネクション取得方法は、JDBCの標準的手法として2種類あります。
12 | java.sql.DriverManagerを使って取得する方法と、javax.sql.DataSourceを使って取得する方法です。
13 |

14 | 前者は、JDBCドライバを直接使用する低レベルなAPIで、DBMSに接続するためのプロパティ等を引数で指定する必要があります。
15 | そのため、ソース内にDBMSに接続するためのプロパティ等を直接コーディングするか、自前で外出しする仕組みを作る必要があります。
16 |

17 | 後者は、アプリケーションサーバ等の中間層を挟んでJDBCドライバを使用するAPIで、DBMSに接続するためのプロパティは、アプリケーションサーバの設定ファイル等に記述します。
18 | そのため、前者のような、DBMSに接続するためのプロパティ等を外出しする仕組みを自前で作る必要はありません。
19 | しかし、分散環境対応などのために、DataSourceの取得は、JNDIを経由します。
20 | JNDIの接続には、接続先のJNDIサーバ等の接続情報を引数で指定する必要があります。(jndi.propertiesで設定する方法もありますが、その場合接続先が1つに限られるので複数のJNDIサーバに接続する場合などに問題になります)
21 |

22 | このように、JDBCコネクションを取得するのは、複数の方法、複雑なパラメータの指定や設定が必要になり、簡単に取得できるとは言いがたいものがあります。
23 | そこで、取得方法やパラメータの設定等を、サービスの実装や属性設定に置き換える事で、コネクションを取得するという概念だけを抽出したConnectionFactoryインタフェースを定義しました。
24 |

25 | このパッケージでは、そのConnectionFactoryインタフェースを実装したサービスを提供します。
26 | 27 | 28 | -------------------------------------------------------------------------------- /src/test/resources/jp/ossc/nimbus/service/context/nimbus-service3.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 14 | 15 | #ChildContext1 16 | #ChildContext2 17 | 18 | 19 | 21 | value1 22 | value2 23 | value3 24 | 25 | 27 | value4 28 | value5 29 | value6 30 | 31 | 32 | 33 | -------------------------------------------------------------------------------- /src/main/java/jp/ossc/nimbus/core/package.html: -------------------------------------------------------------------------------- 1 | 4 | 5 | 6 | 7 | Nimbus Core パッケージコメントファイル 8 | 9 | 10 | Nimbusのサービス基盤を提供します。

11 | サービス基盤とは、POJO(Plain Old Java Objects)オブジェクトを、WindowsのサービスのようにJavaVM上に、ホスティングする基盤機能である。
12 |

13 | サービス基盤上にホスティングされるPOJOは、サービスと呼ばれる。
14 | サービスは、Java Beansで言うプロパティの設定、サービス間の依存関係の設定を行う事ができる。 15 | また、「生成」、「起動」、「停止」、「破棄」の4つの状態遷移を制御する事ができる。サービスはJ2EEのJMX(Java Management Extension)に対応しており、JMX管理リソースとして制御可能である。
16 |

17 | サービス基盤上にホスティングされたサービスは、サービス管理によって管理される。
18 | サービス管理は、ネーミングサービス機能を持ち、サービスの名前を指定する事で、ホスティングされたサービスを提供する。 19 | また、サービス管理は、サービスをグルーピングする役割を持ち、サービス基盤上に複数のサービス管理を起動する事ができる。
20 |

21 | サービスやサービス管理の定義は、サービスローダによってロードされる。
22 | サービスローダの実装によって、定義の方法は入れ替え可能であるが、デフォルトの実装としては、XMLファイルによるサービス定義の読み込みをサポートしている。 23 | サービス定義XMLの詳細は、サービス定義ファイルDTDを参照。
24 |

25 | Nimbusプロジェクトでは、様々な機能が提供されているが、それぞれの機能は、サービスとして実装されている。 26 | そのため、ユーザは必要な機能だけを、プロパティをカスタマイズしてJavaVM上にホスティングして、使用する事ができる。
27 | 28 | 29 | -------------------------------------------------------------------------------- /src/main/java/jp/ossc/nimbus/service/jms/package.html: -------------------------------------------------------------------------------- 1 | 4 | 5 | 6 | 7 | Nimbus JMS パッケージコメントファイル 8 | 9 | 10 | NimbusのJMSラップサービスを提供します。

11 | JMSのインタフェースは、JMSクライアントの観点から見ると、javax.jms.Connection、javax.jms.Session、javax.jms.MessageConsumer、javax.jms.MessageProducer、javax.jms.Queue、javax.jms.Topicが主なインタフェースでしょう。 12 | これらのインタフェースを使用する上で、各インタフェース毎に、パラメータが必要になります。 13 | そのパラメータは、ある使用意図の元では、固定の値である事の方が多いと言えます。 14 | つまり、アプリケーションからJMSを使用する場合、それらのパラメータは、 15 | アプリケーションの業務要件ではなく、アプリケーションの方式設計から決まる基盤的な要件と言えるでしょう。
16 | NimbusのJMSラップサービスは、これらのパラメータをサービスの属性で設定する事によって、 17 | アプリケーションがパラメータを意識する事なく、定型的にJMSを利用できるようにラップしたものです。
18 |

19 | JMS Connectionを取得する簡潔な手段を抽象化したインタフェースがJMSConnectionFactoryです。
20 |

21 | JMS Sessionを取得する簡潔な手段を抽象化したインタフェースがJMSSessionFactoryです。
22 |

23 | JMS MessageConsumerを取得する簡潔な手段を抽象化したインタフェースがJMSMessageConsumerFactoryです。
24 |

25 | JMS MessageProducerを取得する簡潔な手段を抽象化したインタフェースがJMSMessageProducerFactoryです。
26 |

27 | このパッケージでは、これらのインタフェースを実装したサービスを提供します。
28 | 29 | 30 | -------------------------------------------------------------------------------- /src/main/java/jp/ossc/nimbus/service/journal/package.html: -------------------------------------------------------------------------------- 1 | 4 | 5 | 6 | 7 | Nimbus ジャーナル パッケージコメントファイル 8 | 9 | 10 | Nimbusのジャーナルサービスを提供します。

11 | エンタープライズなシステムを構築する場合、各層でジャーナルを取得する必要があります。
12 | ジャーナルには、
13 |

20 | などのある程度決まった情報を取得します。
21 | 但し、入出力情報はシステムや取得する層によって異なり、出力するフォーマットや媒体も様々です。
22 |

23 | まず、アプリケーションは、任意のオブジェクトをジャーナルに出力します。
24 | その際、渡したオブジェクト毎に違うフォーマットで出力したくなるかもしれません。
25 | 例えば、文字列はそのままだけど、java.util.Dateオブジェクトは一定の日付フォーマットで出力したいとか。
26 | 例外オブジェクトならば、スタックトレースを出力したいとか。
27 | そのようなオブジェクト毎の出力編集を行う概念を抽象化したインタフェースが、JournalEditorです。
28 | また、オブジェクト毎に出力編集を行うJournalEditorをマッピングする機能を抽象化したインタフェースが、EditorFinderです。
29 |

30 | 次に実際の媒体への出力ですが、その機能はWriterパッケージCategoryを使用します。
31 |

32 | これらの要件を満たしつつ、ジャーナルを取得する機能を抽象化したのがJournalインタフェースです。
33 |

34 | このパッケージでは、Journalインタフェースを実装したサービスを提供します。
35 | 36 | 37 | -------------------------------------------------------------------------------- /src/main/java/jp/ossc/nimbus/service/trade/MovingAvgCalc.java: -------------------------------------------------------------------------------- 1 | package jp.ossc.nimbus.service.trade; 2 | 3 | import java.util.ArrayList; 4 | import java.util.HashMap; 5 | import java.util.Iterator; 6 | import java.util.List; 7 | import java.util.Map; 8 | import java.util.Set; 9 | 10 | import jp.ossc.nimbus.service.trade.TradeSignCalcUtil.PeriodicPrice; 11 | 12 | public class MovingAvgCalc implements IndexCalc{ 13 | 14 | @Override 15 | public Map> calc(Map paramMap, TimeSeries elements) { 16 | 17 | Map> calcMap = new HashMap>(); 18 | Set keySet = paramMap.keySet(); 19 | Iterator ite = keySet.iterator(); 20 | List dataList = new ArrayList(); 21 | while(ite.hasNext()) { 22 | String key = ite.next(); 23 | int param = (Integer)paramMap.get(key); 24 | for(int i = 0; i < elements.size(); i++){ 25 | OHLCVTimeSeries.OHLCVElement element = (OHLCVTimeSeries.OHLCVElement)elements.get(i); 26 | PeriodicPrice periodicPrice = new PeriodicPrice(param); 27 | double average = periodicPrice.addAverage(element.getCloseValue()); 28 | dataList.add(average); 29 | } 30 | calcMap.put(key, dataList); 31 | } 32 | 33 | return calcMap; 34 | } 35 | 36 | } 37 | -------------------------------------------------------------------------------- /src/test/resources/jp/ossc/nimbus/service/msgresource/def/msgResourceDef2.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | heat.rr.pattern1 6 | 7 | 8 | heat.r.pattern1 9 | 10 | 11 | trn.rr.pattern1 12 | 13 | 14 | trn.r.pattern1 15 | 16 | 17 | jp/ossc/nimbus/service/msgresource/msgdata/test6.txt 18 | 19 | 20 | 21 | jp.ossc.nimbus.service.msgresource.PayloadObjectForTest 22 | 0 23 | 1 24 | 2 25 | 3 26 | 4 27 | 5 28 | 6 29 | 7 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | -------------------------------------------------------------------------------- /src/main/java/jp/ossc/nimbus/beans/package.html: -------------------------------------------------------------------------------- 1 | 4 | 5 | 6 | 7 | Nimbus Beans パッケージコメントファイル 8 | 9 | 10 | NimbusのJava Beansライブラリを提供します。

11 | 12 | Java Beans規約に則ったBeanのプロパティ編集、及びJava Beans規約を拡張したBeanのプロパティアクセスをサポートするライブラリを提供します。

13 | 14 | Java Beans規約に則ったBeanのプロパティを編集する機能として、J2SEにはjava.beans.PropertyEditorインタフェースが定義されています。
15 | しかしながら、その実装クラスは、公開されておらず、実装されているクラスもわずかです。そこで、Nimbusでは、java.beans.PropertyEditorインタフェースの実装クラスを拡充して提供します。
16 | また、それらの実装クラスは、Nimbusのサービス定義やBeanFlow定義のインジェクションで使用します。

17 | 18 | Java Beans規約を拡張したBeanのプロパティに、汎用的にアクセスする機能が、The Apache Jakarta Projectの Commons BeanUtils(http://jakarta.apache.org/beanutils/)で提供されています。
19 | BeanUtilsでは、プロパティにアクセスする際に、インタプリタ的にプロパティ文字列を解析して、リフレクションを利用してプロパティにアクセスします。
20 | しかしながら、実際の用途としては、ある特定のプロパティに対して、プログラムが動作する度にアクセスするため、インタプリタ的に毎回プロパティ文字列の解析を行うのは無駄であるし、その後のリフレクションメソッドを毎回検索するのも無駄になってしまいます。
21 | これは、staticに簡単に呼び出せる利便性を追求した一つの形ではありますが、エンタープライズシステムを構築するプログラマとしては、性能への悪影響を考えざる得ません。
22 | そこで、Nimbusでは、プロパティ文字列の解析をプリコンパイル的に行い、更にリフレクションメソッドをキャッシュすることで、性能への影響を低減させたプロパティ汎用アクセス機能を提供します。
23 | また、Java Beans規約の拡張という意味でも、BeanUtilsよりも拡張したアクセス機能を持っています。
24 | さらに、オーバーロードメソッドの呼び出しや、publicなインタフェースを実装したpublicでないクラスのプロパティへのアクセスなど、細かな点が考慮されています。
25 | 26 | 27 | -------------------------------------------------------------------------------- /src/main/java/jp/ossc/nimbus/service/writer/CryptElement.java: -------------------------------------------------------------------------------- 1 | package jp.ossc.nimbus.service.writer; 2 | 3 | import jp.ossc.nimbus.service.crypt.Crypt; 4 | 5 | /** 6 | * 任意の文字列を暗号化する{@link WritableElement}実装クラス。

7 | */ 8 | public class CryptElement extends SimpleElement { 9 | 10 | private static final long serialVersionUID = -1736395385754458771L; 11 | 12 | /** 暗号化サービス */ 13 | private Crypt crypt; 14 | 15 | /** 16 | * 暗号化サービスを設定する。

17 | * 18 | * @param crypt 暗号化サービス 19 | */ 20 | public void setCrypt(Crypt crypt){ 21 | this.crypt = crypt; 22 | } 23 | 24 | /** 25 | * 暗号化サービスを取得する。

26 | * 27 | * @return 暗号化サービス 28 | */ 29 | public Crypt getCrypt(){ 30 | return crypt; 31 | } 32 | 33 | /** 34 | * この要素(文字列)を暗号化して取得する。

35 | * 36 | * @return この要素(文字列)を暗号化したもの 37 | */ 38 | public String toString(){ 39 | if(mValue == null){ 40 | return null; 41 | } 42 | 43 | String ret = null; 44 | if(crypt != null 45 | && mValue instanceof String){ 46 | ret = crypt.doEncode((String) mValue); 47 | } 48 | 49 | return convertString(ret); 50 | } 51 | 52 | /** 53 | * この要素(文字列)を暗号化して取得する。

54 | * {@link #toString()}と同じ値を返す。
55 | * 56 | * @return この要素(文字列)を暗号化したもの 57 | */ 58 | public Object toObject(){ 59 | return toString(); 60 | } 61 | 62 | } 63 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | BSD 3-Clause License 2 | 3 | Copyright (c) 2018, nimbus-org 4 | All rights reserved. 5 | 6 | Redistribution and use in source and binary forms, with or without 7 | modification, are permitted provided that the following conditions are met: 8 | 9 | * Redistributions of source code must retain the above copyright notice, this 10 | list of conditions and the following disclaimer. 11 | 12 | * Redistributions in binary form must reproduce the above copyright notice, 13 | this list of conditions and the following disclaimer in the documentation 14 | and/or other materials provided with the distribution. 15 | 16 | * Neither the name of the copyright holder nor the names of its 17 | contributors may be used to endorse or promote products derived from 18 | this software without specific prior written permission. 19 | 20 | THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" 21 | AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 22 | IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE 23 | DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE 24 | FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 25 | DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR 26 | SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER 27 | CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, 28 | OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 29 | OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 30 | -------------------------------------------------------------------------------- /src/test/java/jp/ossc/nimbus/service/aop/interceptor/servlet/MockServletInputStream.javapp_sapi: -------------------------------------------------------------------------------- 1 | package jp.ossc.nimbus.service.aop.interceptor.servlet; 2 | 3 | import java.io.ByteArrayInputStream; 4 | import java.io.IOException; 5 | 6 | @START=SERVLET_API6@ 10 | import jakarta.servlet.ReadListener; 11 | import jakarta.servlet.ServletInputStream; 12 | @END>=SERVLET_API6@ 13 | 14 | public class MockServletInputStream extends ServletInputStream { 15 | 16 | static int off = 0; 17 | protected byte[] b; 18 | 19 | public MockServletInputStream(byte[] b) { 20 | super(); 21 | this.b = b; 22 | } 23 | 24 | public int read() throws IOException { 25 | return 0; 26 | } 27 | public int read(byte[]b) throws IOException { 28 | ByteArrayInputStream is = new ByteArrayInputStream(this.b); 29 | if (off < this.b.length){ 30 | int len = is.read(b, off, b.length); 31 | off = off + len; 32 | return len; 33 | } 34 | else{ 35 | return -1; 36 | } 37 | } 38 | 39 | @START>=SERVLET_API6@ 40 | @Override 41 | public boolean isFinished() { 42 | // TODO 自動生成されたメソッド・スタブ 43 | return false; 44 | } 45 | 46 | @Override 47 | public boolean isReady() { 48 | // TODO 自動生成されたメソッド・スタブ 49 | return false; 50 | } 51 | 52 | @Override 53 | public void setReadListener(ReadListener readListener) { 54 | // TODO 自動生成されたメソッド・スタブ 55 | 56 | } 57 | @END>=SERVLET_API6@ 58 | 59 | } 60 | -------------------------------------------------------------------------------- /src/main/java/jp/ossc/nimbus/service/log/package.html: -------------------------------------------------------------------------------- 1 | 4 | 5 | 6 | 7 | Nimbus ログ パッケージコメントファイル 8 | 9 | 10 | Nimbusのログサービスを提供します。

11 | ロギングと言えば、The Apache Jakarta ProjectのCommons LoggingやLog4Jなどが有名です。 12 | それらのロギングの概念は、クライアント側が出力するメッセージを決め、メッセージの出力レベルに合ったメソッドを呼び出すと言うものです。 13 | 以下にその実装例を示します。
14 |

15 |  Logger logger = Logger.getInstance(this.getClass());
16 |  logger.info("Information Level Message");
17 |  logger.error("Error Level Message");
18 | 
19 | このロギングのインタフェースは、非常にシンプルで使いやすい事は分かります。 20 | しかし、実際のエンタープライズなアプリケーションにおいて、運用・保守まで考えてロギングを行う場合、このようなインタフェースでは、以下のような問題が生じます。
21 | 26 | Nimbusのロギングの概念は、メッセージには、文言や出力レベル、出力先など様々な付加情報があり、それを意識するのは、ロギングを行うアプリケーションではないと言うものです。 27 | そのため、Nimbusのロギングのインタフェースでは、メッセージに一意に付与されるIDを渡して、出力を依頼するというだけです。 28 | そのインタフェースには、出力レベルどころか、メッセージすら現れません。
29 |
30 |  Logger logger = (Logger)ServiceManagerFactory.getServiceObject("LogService");
31 |  logger.write("NIMBUS_0001");
32 |  logger.write("NIMBUS_0002");
33 | 
34 | それらの付加情報は、別の場所で定義するのです。付加情報を外出しにする事で、メッセージの管理や、出力レベル・出力先の変更など、メッセージに付加される情報の変更が、アプリケーションに影響を及ぼさなくなります。
35 | このように、一意なメッセージIDのみでログの出力を依頼する簡潔な機能を抽象化したインタフェースが、Loggerです。
36 |

37 | このパッケージでは、Loggerインタフェースを実装したサービスを提供します。
38 | 39 | 40 | -------------------------------------------------------------------------------- /src/test/resources/jp/ossc/nimbus/service/beancontrol/nimbus-service.xml: -------------------------------------------------------------------------------- 1 | 2 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 17 | beanflow 18 | #CommandResourceManager 19 | CommandResourceManager 20 | 21 | 23 | beanflow 24 | 25 | #CommandResourceManager 26 | 27 | CommandResourceManager 28 | 29 | 31 | 32 | jp.ossc.nimbus.service.beancontrol.resource.ResourceManagerImpl 33 | 34 | 35 | 36 | -------------------------------------------------------------------------------- /src/test/resources/jp/ossc/nimbus/service/aop/interceptor/servlet/service-definitionTest.xml: -------------------------------------------------------------------------------- 1 | 2 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 14 | text/xml; charset=UTF-8 15 | #DataSetXMLConverter 16 | #DataSetXMLConverter 17 | 18 | 20 | false 21 | 22 | 23 | 24 | :name,java.lang.String 25 | :password,java.lang.String 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | -------------------------------------------------------------------------------- /src/test/resources/jp/ossc/nimbus/service/loader/nimbus-service.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | target/test-classes/jp/ossc/nimbus/service/loader/class-test/lib 14 | 15 | 16 | 17 | 18 | 19 | target/test-classes/jp/ossc/nimbus/service/loader/jar-test/before/Msg.jar 20 | 21 | 22 | 2005.11.11 01:01:02 23 | 24 | 25 | 26 | 27 | target/test-classes/jp/ossc/nimbus/service/loader/jar-test/after/Msg.jar 28 | 29 | 30 | 2005.11.11 01:01:02 31 | 32 | 33 | 34 | 35 | target/test-classes/jp/ossc/nimbus/service/loader/jar-test/lib/Msg.jar 36 | 37 | 38 | 2005.11.11 01:01:02 39 | 40 | 41 | 42 | -------------------------------------------------------------------------------- /src/main/resources/META-INF/LICENSE.txt: -------------------------------------------------------------------------------- 1 | /* 2 | * This software is distributed under following license based on modified BSD 3 | * style license. 4 | * ---------------------------------------------------------------------- 5 | * 6 | * Copyright 2003 The Nimbus Project. All rights reserved. 7 | * 8 | * Redistribution and use in source and binary forms, with or without 9 | * modification, are permitted provided that the following conditions are met: 10 | * 11 | * 1. Redistributions of source code must retain the above copyright notice, 12 | * this list of conditions and the following disclaimer. 13 | * 2. Redistributions in binary form must reproduce the above copyright notice, 14 | * this list of conditions and the following disclaimer in the documentation 15 | * and/or other materials provided with the distribution. 16 | * 17 | * THIS SOFTWARE IS PROVIDED BY THE NIMBUS PROJECT ``AS IS'' AND ANY EXPRESS 18 | * OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES 19 | * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN 20 | * NO EVENT SHALL THE NIMBUS PROJECT OR CONTRIBUTORS BE LIABLE FOR ANY 21 | * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES 22 | * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; 23 | * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND 24 | * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 25 | * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 26 | * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 27 | * 28 | * The views and conclusions contained in the software and documentation are 29 | * those of the authors and should not be interpreted as representing official 30 | * policies, either expressed or implied, of the Nimbus Project. 31 | */ 32 | -------------------------------------------------------------------------------- /src/test/resources/jp/ossc/nimbus/service/cui/def/command_def.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | /****** Hub Simulator Main Menu ******/ 6 | ラッシュパターンを選択してください。 7 | 1 ヒートラッシュ 8 | 2 トランザンクションラッシュ 9 | 1,2 10 | ThreadCntInput 11 | JMSRequestSelect 12 | 13 | 14 | トランザンクション数を入力してください 15 | 16 | 1-99999 17 | 18 | 19 | JMSリクエスト種別を選択してください 20 | Request 21 | RequestReply 22 | Request,RequestReply 23 | 24 | 25 | 電文種別を選択してください 26 | 1.テスト電文その1 27 | 2.テスト電文その2 28 | 3.テスト電文その3 29 | 4.テスト電文その4 30 | 1,2,3,4 31 | 32 | 33 | 設定完了しました 34 | 実行します。よろしいですか? 35 | 1.実行 2.キャンセル 3.最初からやりなおす 36 | 1,2,3 37 | Redo 38 | Interrupt 39 | End 40 | 実行します 41 | 42 | 43 | 実行スレッド数を入力してください 44 | 1-100 45 | 1-100 46 | MessageSelect 47 | 48 | 49 | 50 | -------------------------------------------------------------------------------- /src/test/resources/jp/ossc/nimbus/service/cui/def/command_def2.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | /****** Hub Simulator Main Menu ******/ 6 | ラッシュパターンを選択してください。 7 | 1 ヒートラッシュ 8 | 2 トランザンクションラッシュ 9 | 1,2 10 | ThreadCntInput 11 | JMSRequestSelect 12 | 13 | 14 | トランザンクション数を入力してください 15 | 16 | 1-99999 17 | 18 | 19 | JMSリクエスト種別を選択してください 20 | Request 21 | RequestReply 22 | Request,RequestReply 23 | 24 | 25 | 電文種別を選択してください 26 | 1.テスト電文その1 27 | 2.テスト電文その2 28 | 3.テスト電文その3 29 | 4.テスト電文その4 30 | 1,2,3,4 31 | 32 | 33 | 設定完了しました 34 | 実行します。よろしいですか? 35 | 1.実行 2.キャンセル 3.最初からやりなおす 36 | 1,2,3 37 | Redo 38 | Interrupt 39 | End 40 | 実行します 41 | 42 | 43 | 実行スレッド数を入力してください 44 | 1-100 45 | 1-100 46 | MessageSelect 47 | 48 | 49 | 50 | -------------------------------------------------------------------------------- /src/test/resources/jp/ossc/nimbus/service/msgresource/nimbus-service.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | xml 14 | jp/ossc/nimbus/service/msgresource/def 15 | #ByteConverter 16 | ByteConverter 17 | 18 | 19 | 20 | jp.ossc.nimbus.service.byteconvert.ByteConverterDifferentEndian 21 | jp.ossc.nimbus.service.byteconvert.ByteConverterSameEndian 22 | 23 | 24 | 25 | #JndiFinderService 26 | JndiFinderService 27 | 28 | 29 | 30 | #CacheService 31 | CacheService 32 | 33 | 34 | 35 | 36 | 37 | 38 | -------------------------------------------------------------------------------- /src/test/java/jp/ossc/nimbus/core/TestServiceBaseMBean.java: -------------------------------------------------------------------------------- 1 | /* 2 | * This software is distributed under following license based on modified BSD 3 | * style license. 4 | * ---------------------------------------------------------------------- 5 | * 6 | * Copyright 2003 The Nimbus Project. All rights reserved. 7 | * 8 | * Redistribution and use in source and binary forms, with or without 9 | * modification, are permitted provided that the following conditions are met: 10 | * 11 | * 1. Redistributions of source code must retain the above copyright notice, 12 | * this list of conditions and the following disclaimer. 13 | * 2. Redistributions in binary form must reproduce the above copyright notice, 14 | * this list of conditions and the following disclaimer in the documentation 15 | * and/or other materials provided with the distribution. 16 | * 17 | * THIS SOFTWARE IS PROVIDED BY THE NIMBUS PROJECT ``AS IS'' AND ANY EXPRESS 18 | * OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES 19 | * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN 20 | * NO EVENT SHALL THE NIMBUS PROJECT OR CONTRIBUTORS BE LIABLE FOR ANY 21 | * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES 22 | * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; 23 | * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND 24 | * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 25 | * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 26 | * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 27 | * 28 | * The views and conclusions contained in the software and documentation are 29 | * those of the authors and should not be interpreted as representing official 30 | * policies, either expressed or implied, of the Nimbus Project. 31 | */ 32 | package jp.ossc.nimbus.core; 33 | 34 | public interface TestServiceBaseMBean extends TestServiceMBean{ 35 | } 36 | -------------------------------------------------------------------------------- /src/test/java/jp/ossc/nimbus/core/TestApplication.java: -------------------------------------------------------------------------------- 1 | /* 2 | * This software is distributed under following license based on modified BSD 3 | * style license. 4 | * ---------------------------------------------------------------------- 5 | * 6 | * Copyright 2003 The Nimbus Project. All rights reserved. 7 | * 8 | * Redistribution and use in source and binary forms, with or without 9 | * modification, are permitted provided that the following conditions are met: 10 | * 11 | * 1. Redistributions of source code must retain the above copyright notice, 12 | * this list of conditions and the following disclaimer. 13 | * 2. Redistributions in binary form must reproduce the above copyright notice, 14 | * this list of conditions and the following disclaimer in the documentation 15 | * and/or other materials provided with the distribution. 16 | * 17 | * THIS SOFTWARE IS PROVIDED BY THE NIMBUS PROJECT ``AS IS'' AND ANY EXPRESS 18 | * OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES 19 | * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN 20 | * NO EVENT SHALL THE NIMBUS PROJECT OR CONTRIBUTORS BE LIABLE FOR ANY 21 | * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES 22 | * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; 23 | * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND 24 | * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 25 | * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 26 | * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 27 | * 28 | * The views and conclusions contained in the software and documentation are 29 | * those of the authors and should not be interpreted as representing official 30 | * policies, either expressed or implied, of the Nimbus Project. 31 | */ 32 | package jp.ossc.nimbus.core; 33 | 34 | public interface TestApplication{ 35 | 36 | public void call(String message); 37 | } -------------------------------------------------------------------------------- /src/main/java/jp/ossc/nimbus/service/writer/prometheus/HelpProvider.java: -------------------------------------------------------------------------------- 1 | /* 2 | * This software is distributed under following license based on modified BSD 3 | * style license. 4 | * ---------------------------------------------------------------------- 5 | * 6 | * Copyright 2003 The Nimbus Project. All rights reserved. 7 | * 8 | * Redistribution and use in source and binary forms, with or without 9 | * modification, are permitted provided that the following conditions are met: 10 | * 11 | * 1. Redistributions of source code must retain the above copyright notice, 12 | * this list of conditions and the following disclaimer. 13 | * 2. Redistributions in binary form must reproduce the above copyright notice, 14 | * this list of conditions and the following disclaimer in the documentation 15 | * and/or other materials provided with the distribution. 16 | * 17 | * THIS SOFTWARE IS PROVIDED BY THE NIMBUS PROJECT ``AS IS'' AND ANY EXPRESS 18 | * OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES 19 | * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN 20 | * NO EVENT SHALL THE NIMBUS PROJECT OR CONTRIBUTORS BE LIABLE FOR ANY 21 | * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES 22 | * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; 23 | * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND 24 | * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 25 | * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 26 | * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 27 | * 28 | * The views and conclusions contained in the software and documentation are 29 | * those of the authors and should not be interpreted as representing official 30 | * policies, either expressed or implied, of the Nimbus Project. 31 | */ 32 | package jp.ossc.nimbus.service.writer.prometheus; 33 | 34 | public interface HelpProvider{ 35 | public String getHelp(); 36 | public String getHelp(String key); 37 | } -------------------------------------------------------------------------------- /src/main/java/jp/ossc/nimbus/service/publish/MessageFilter.java: -------------------------------------------------------------------------------- 1 | /* 2 | * This software is distributed under following license based on modified BSD 3 | * style license. 4 | * ---------------------------------------------------------------------- 5 | * 6 | * Copyright 2003 The Nimbus Project. All rights reserved. 7 | * 8 | * Redistribution and use in source and binary forms, with or without 9 | * modification, are permitted provided that the following conditions are met: 10 | * 11 | * 1. Redistributions of source code must retain the above copyright notice, 12 | * this list of conditions and the following disclaimer. 13 | * 2. Redistributions in binary form must reproduce the above copyright notice, 14 | * this list of conditions and the following disclaimer in the documentation 15 | * and/or other materials provided with the distribution. 16 | * 17 | * THIS SOFTWARE IS PROVIDED BY THE NIMBUS PROJECT ``AS IS'' AND ANY EXPRESS 18 | * OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES 19 | * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN 20 | * NO EVENT SHALL THE NIMBUS PROJECT OR CONTRIBUTORS BE LIABLE FOR ANY 21 | * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES 22 | * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; 23 | * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND 24 | * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 25 | * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 26 | * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 27 | * 28 | * The views and conclusions contained in the software and documentation are 29 | * those of the authors and should not be interpreted as representing official 30 | * policies, either expressed or implied, of the Nimbus Project. 31 | */ 32 | package jp.ossc.nimbus.service.publish; 33 | 34 | 35 | public interface MessageFilter{ 36 | 37 | public Object filter(Object msg); 38 | } -------------------------------------------------------------------------------- /src/main/java/jp/ossc/nimbus/service/beancontrol/BeanFlowCoverageRepoter.java: -------------------------------------------------------------------------------- 1 | /* 2 | * This software is distributed under following license based on modified BSD 3 | * style license. 4 | * ---------------------------------------------------------------------- 5 | * 6 | * Copyright 2003 The Nimbus Project. All rights reserved. 7 | * 8 | * Redistribution and use in source and binary forms, with or without 9 | * modification, are permitted provided that the following conditions are met: 10 | * 11 | * 1. Redistributions of source code must retain the above copyright notice, 12 | * this list of conditions and the following disclaimer. 13 | * 2. Redistributions in binary form must reproduce the above copyright notice, 14 | * this list of conditions and the following disclaimer in the documentation 15 | * and/or other materials provided with the distribution. 16 | * 17 | * THIS SOFTWARE IS PROVIDED BY THE NIMBUS PROJECT ``AS IS'' AND ANY EXPRESS 18 | * OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES 19 | * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN 20 | * NO EVENT SHALL THE NIMBUS PROJECT OR CONTRIBUTORS BE LIABLE FOR ANY 21 | * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES 22 | * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; 23 | * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND 24 | * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 25 | * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 26 | * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 27 | * 28 | * The views and conclusions contained in the software and documentation are 29 | * those of the authors and should not be interpreted as representing official 30 | * policies, either expressed or implied, of the Nimbus Project. 31 | */ 32 | package jp.ossc.nimbus.service.beancontrol; 33 | 34 | public interface BeanFlowCoverageRepoter{ 35 | 36 | public void report() throws Exception; 37 | } 38 | -------------------------------------------------------------------------------- /src/main/java/jp/ossc/nimbus/service/publish/PublishContainerFactory.java: -------------------------------------------------------------------------------- 1 | /* 2 | * This software is distributed under following license based on modified BSD 3 | * style license. 4 | * ---------------------------------------------------------------------- 5 | * 6 | * Copyright 2003 The Nimbus Project. All rights reserved. 7 | * 8 | * Redistribution and use in source and binary forms, with or without 9 | * modification, are permitted provided that the following conditions are met: 10 | * 11 | * 1. Redistributions of source code must retain the above copyright notice, 12 | * this list of conditions and the following disclaimer. 13 | * 2. Redistributions in binary form must reproduce the above copyright notice, 14 | * this list of conditions and the following disclaimer in the documentation 15 | * and/or other materials provided with the distribution. 16 | * 17 | * THIS SOFTWARE IS PROVIDED BY THE NIMBUS PROJECT ``AS IS'' AND ANY EXPRESS 18 | * OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES 19 | * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN 20 | * NO EVENT SHALL THE NIMBUS PROJECT OR CONTRIBUTORS BE LIABLE FOR ANY 21 | * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES 22 | * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; 23 | * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND 24 | * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 25 | * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 26 | * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 27 | * 28 | * The views and conclusions contained in the software and documentation are 29 | * those of the authors and should not be interpreted as representing official 30 | * policies, either expressed or implied, of the Nimbus Project. 31 | */ 32 | package jp.ossc.nimbus.service.publish; 33 | 34 | public interface PublishContainerFactory{ 35 | 36 | public PublishContainer createContainer() throws Exception; 37 | 38 | } 39 | -------------------------------------------------------------------------------- /src/main/resources/jp/ossc/nimbus/service/test/testrunner_1_0.dtd: -------------------------------------------------------------------------------- 1 | 29 | 30 | 32 | 33 | 34 | 38 | 39 | 40 | 43 | 44 | 45 | 48 | 49 | 50 | 52 | 53 | 54 | 56 | 57 | 58 | 60 | 61 | 62 | 64 | 65 | 66 | 68 | 69 | 70 | 72 | 73 | 74 | 76 | 77 | -------------------------------------------------------------------------------- /src/main/java/jp/ossc/nimbus/service/ftp/FTPClientFactory.java: -------------------------------------------------------------------------------- 1 | /* 2 | * This software is distributed under following license based on modified BSD 3 | * style license. 4 | * ---------------------------------------------------------------------- 5 | * 6 | * Copyright 2003 The Nimbus Project. All rights reserved. 7 | * 8 | * Redistribution and use in source and binary forms, with or without 9 | * modification, are permitted provided that the following conditions are met: 10 | * 11 | * 1. Redistributions of source code must retain the above copyright notice, 12 | * this list of conditions and the following disclaimer. 13 | * 2. Redistributions in binary form must reproduce the above copyright notice, 14 | * this list of conditions and the following disclaimer in the documentation 15 | * and/or other materials provided with the distribution. 16 | * 17 | * THIS SOFTWARE IS PROVIDED BY THE NIMBUS PROJECT ``AS IS'' AND ANY EXPRESS 18 | * OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES 19 | * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN 20 | * NO EVENT SHALL THE NIMBUS PROJECT OR CONTRIBUTORS BE LIABLE FOR ANY 21 | * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES 22 | * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; 23 | * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND 24 | * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 25 | * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 26 | * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 27 | * 28 | * The views and conclusions contained in the software and documentation are 29 | * those of the authors and should not be interpreted as representing official 30 | * policies, either expressed or implied, of the Nimbus Project. 31 | */ 32 | package jp.ossc.nimbus.service.ftp; 33 | 34 | /** 35 | * FTPクライアントファクトリ。

36 | * 37 | * @author M.Takata 38 | */ 39 | public interface FTPClientFactory{ 40 | 41 | public FTPClient createFTPClient() throws FTPException; 42 | } -------------------------------------------------------------------------------- /src/main/java/jp/ossc/nimbus/service/scp/SCPClientFactory.java: -------------------------------------------------------------------------------- 1 | /* 2 | * This software is distributed under following license based on modified BSD 3 | * style license. 4 | * ---------------------------------------------------------------------- 5 | * 6 | * Copyright 2003 The Nimbus Project. All rights reserved. 7 | * 8 | * Redistribution and use in source and binary forms, with or without 9 | * modification, are permitted provided that the following conditions are met: 10 | * 11 | * 1. Redistributions of source code must retain the above copyright notice, 12 | * this list of conditions and the following disclaimer. 13 | * 2. Redistributions in binary form must reproduce the above copyright notice, 14 | * this list of conditions and the following disclaimer in the documentation 15 | * and/or other materials provided with the distribution. 16 | * 17 | * THIS SOFTWARE IS PROVIDED BY THE NIMBUS PROJECT ``AS IS'' AND ANY EXPRESS 18 | * OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES 19 | * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN 20 | * NO EVENT SHALL THE NIMBUS PROJECT OR CONTRIBUTORS BE LIABLE FOR ANY 21 | * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES 22 | * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; 23 | * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND 24 | * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 25 | * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 26 | * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 27 | * 28 | * The views and conclusions contained in the software and documentation are 29 | * those of the authors and should not be interpreted as representing official 30 | * policies, either expressed or implied, of the Nimbus Project. 31 | */ 32 | package jp.ossc.nimbus.service.scp; 33 | 34 | /** 35 | * SCPクライアントファクトリ。

36 | * 37 | * @author M.Takata 38 | */ 39 | public interface SCPClientFactory{ 40 | 41 | public SCPClient createSCPClient() throws SCPException; 42 | } -------------------------------------------------------------------------------- /src/main/java/jp/ossc/nimbus/service/sftp/SFTPClientFactory.java: -------------------------------------------------------------------------------- 1 | /* 2 | * This software is distributed under following license based on modified BSD 3 | * style license. 4 | * ---------------------------------------------------------------------- 5 | * 6 | * Copyright 2003 The Nimbus Project. All rights reserved. 7 | * 8 | * Redistribution and use in source and binary forms, with or without 9 | * modification, are permitted provided that the following conditions are met: 10 | * 11 | * 1. Redistributions of source code must retain the above copyright notice, 12 | * this list of conditions and the following disclaimer. 13 | * 2. Redistributions in binary form must reproduce the above copyright notice, 14 | * this list of conditions and the following disclaimer in the documentation 15 | * and/or other materials provided with the distribution. 16 | * 17 | * THIS SOFTWARE IS PROVIDED BY THE NIMBUS PROJECT ``AS IS'' AND ANY EXPRESS 18 | * OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES 19 | * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN 20 | * NO EVENT SHALL THE NIMBUS PROJECT OR CONTRIBUTORS BE LIABLE FOR ANY 21 | * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES 22 | * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; 23 | * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND 24 | * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 25 | * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 26 | * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 27 | * 28 | * The views and conclusions contained in the software and documentation are 29 | * those of the authors and should not be interpreted as representing official 30 | * policies, either expressed or implied, of the Nimbus Project. 31 | */ 32 | package jp.ossc.nimbus.service.sftp; 33 | 34 | /** 35 | * SFTPクライアントファクトリ。

36 | * 37 | * @author M.Takata 38 | */ 39 | public interface SFTPClientFactory{ 40 | 41 | public SFTPClient createSFTPClient() throws SFTPException; 42 | } -------------------------------------------------------------------------------- /src/main/java/jp/ossc/nimbus/service/converter/CodeMasterConverter.java: -------------------------------------------------------------------------------- 1 | /* 2 | * This software is distributed under following license based on modified BSD 3 | * style license. 4 | * ---------------------------------------------------------------------- 5 | * 6 | * Copyright 2003 The Nimbus Project. All rights reserved. 7 | * 8 | * Redistribution and use in source and binary forms, with or without 9 | * modification, are permitted provided that the following conditions are met: 10 | * 11 | * 1. Redistributions of source code must retain the above copyright notice, 12 | * this list of conditions and the following disclaimer. 13 | * 2. Redistributions in binary form must reproduce the above copyright notice, 14 | * this list of conditions and the following disclaimer in the documentation 15 | * and/or other materials provided with the distribution. 16 | * 17 | * THIS SOFTWARE IS PROVIDED BY THE NIMBUS PROJECT ``AS IS'' AND ANY EXPRESS 18 | * OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES 19 | * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN 20 | * NO EVENT SHALL THE NIMBUS PROJECT OR CONTRIBUTORS BE LIABLE FOR ANY 21 | * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES 22 | * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; 23 | * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND 24 | * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 25 | * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 26 | * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 27 | * 28 | * The views and conclusions contained in the software and documentation are 29 | * those of the authors and should not be interpreted as representing official 30 | * policies, either expressed or implied, of the Nimbus Project. 31 | */ 32 | package jp.ossc.nimbus.service.converter; 33 | 34 | import jp.ossc.nimbus.util.converter.ConvertException; 35 | 36 | public interface CodeMasterConverter{ 37 | public Object convert(Object master, Object obj) throws ConvertException; 38 | } 39 | -------------------------------------------------------------------------------- /src/main/java/jp/ossc/nimbus/service/cui/Display.java: -------------------------------------------------------------------------------- 1 | /* 2 | * This software is distributed under following license based on modified BSD 3 | * style license. 4 | * ---------------------------------------------------------------------- 5 | * 6 | * Copyright 2003 The Nimbus Project. All rights reserved. 7 | * 8 | * Redistribution and use in source and binary forms, with or without 9 | * modification, are permitted provided that the following conditions are met: 10 | * 11 | * 1. Redistributions of source code must retain the above copyright notice, 12 | * this list of conditions and the following disclaimer. 13 | * 2. Redistributions in binary form must reproduce the above copyright notice, 14 | * this list of conditions and the following disclaimer in the documentation 15 | * and/or other materials provided with the distribution. 16 | * 17 | * THIS SOFTWARE IS PROVIDED BY THE NIMBUS PROJECT ``AS IS'' AND ANY EXPRESS 18 | * OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES 19 | * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN 20 | * NO EVENT SHALL THE NIMBUS PROJECT OR CONTRIBUTORS BE LIABLE FOR ANY 21 | * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES 22 | * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; 23 | * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND 24 | * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 25 | * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 26 | * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 27 | * 28 | * The views and conclusions contained in the software and documentation are 29 | * those of the authors and should not be interpreted as representing official 30 | * policies, either expressed or implied, of the Nimbus Project. 31 | */ 32 | package jp.ossc.nimbus.service.cui; 33 | 34 | /** 35 | * Displayインターフェイス 36 | * @author y-tokuda 37 | * @version 1.00 作成:2003/10/29- y-tokuda
38 | * 更新: 39 | */ 40 | public interface Display { 41 | public String display(); 42 | public String check(String input); 43 | } 44 | -------------------------------------------------------------------------------- /src/main/java/jp/ossc/nimbus/service/publish/tcp/ByeMessage.java: -------------------------------------------------------------------------------- 1 | /* 2 | * This software is distributed under following license based on modified BSD 3 | * style license. 4 | * ---------------------------------------------------------------------- 5 | * 6 | * Copyright 2003 The Nimbus Project. All rights reserved. 7 | * 8 | * Redistribution and use in source and binary forms, with or without 9 | * modification, are permitted provided that the following conditions are met: 10 | * 11 | * 1. Redistributions of source code must retain the above copyright notice, 12 | * this list of conditions and the following disclaimer. 13 | * 2. Redistributions in binary form must reproduce the above copyright notice, 14 | * this list of conditions and the following disclaimer in the documentation 15 | * and/or other materials provided with the distribution. 16 | * 17 | * THIS SOFTWARE IS PROVIDED BY THE NIMBUS PROJECT ``AS IS'' AND ANY EXPRESS 18 | * OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES 19 | * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN 20 | * NO EVENT SHALL THE NIMBUS PROJECT OR CONTRIBUTORS BE LIABLE FOR ANY 21 | * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES 22 | * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; 23 | * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND 24 | * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 25 | * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 26 | * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 27 | * 28 | * The views and conclusions contained in the software and documentation are 29 | * those of the authors and should not be interpreted as representing official 30 | * policies, either expressed or implied, of the Nimbus Project. 31 | */ 32 | package jp.ossc.nimbus.service.publish.tcp; 33 | 34 | /** 35 | * クライアントからの切断要求メッセージクラス。

36 | * 37 | * @author M.Takata 38 | */ 39 | public class ByeMessage extends ClientMessage{ 40 | 41 | public ByeMessage(){ 42 | super(MESSAGE_BYE); 43 | } 44 | } -------------------------------------------------------------------------------- /src/main/java/jp/ossc/nimbus/service/cache/PersistableCache.java: -------------------------------------------------------------------------------- 1 | /* 2 | * This software is distributed under following license based on modified BSD 3 | * style license. 4 | * ---------------------------------------------------------------------- 5 | * 6 | * Copyright 2003 The Nimbus Project. All rights reserved. 7 | * 8 | * Redistribution and use in source and binary forms, with or without 9 | * modification, are permitted provided that the following conditions are met: 10 | * 11 | * 1. Redistributions of source code must retain the above copyright notice, 12 | * this list of conditions and the following disclaimer. 13 | * 2. Redistributions in binary form must reproduce the above copyright notice, 14 | * this list of conditions and the following disclaimer in the documentation 15 | * and/or other materials provided with the distribution. 16 | * 17 | * THIS SOFTWARE IS PROVIDED BY THE NIMBUS PROJECT ``AS IS'' AND ANY EXPRESS 18 | * OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES 19 | * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN 20 | * NO EVENT SHALL THE NIMBUS PROJECT OR CONTRIBUTORS BE LIABLE FOR ANY 21 | * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES 22 | * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; 23 | * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND 24 | * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 25 | * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 26 | * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 27 | * 28 | * The views and conclusions contained in the software and documentation are 29 | * those of the authors and should not be interpreted as representing official 30 | * policies, either expressed or implied, of the Nimbus Project. 31 | */ 32 | package jp.ossc.nimbus.service.cache; 33 | 34 | /** 35 | * 永続化可能キャッシュ。

36 | * 37 | * @author M.Takata 38 | */ 39 | public interface PersistableCache{ 40 | 41 | public void load() throws Exception; 42 | 43 | public void save() throws Exception; 44 | } 45 | -------------------------------------------------------------------------------- /src/main/java/jp/ossc/nimbus/service/cui/CuiFactory.java: -------------------------------------------------------------------------------- 1 | /* 2 | * This software is distributed under following license based on modified BSD 3 | * style license. 4 | * ---------------------------------------------------------------------- 5 | * 6 | * Copyright 2003 The Nimbus Project. All rights reserved. 7 | * 8 | * Redistribution and use in source and binary forms, with or without 9 | * modification, are permitted provided that the following conditions are met: 10 | * 11 | * 1. Redistributions of source code must retain the above copyright notice, 12 | * this list of conditions and the following disclaimer. 13 | * 2. Redistributions in binary form must reproduce the above copyright notice, 14 | * this list of conditions and the following disclaimer in the documentation 15 | * and/or other materials provided with the distribution. 16 | * 17 | * THIS SOFTWARE IS PROVIDED BY THE NIMBUS PROJECT ``AS IS'' AND ANY EXPRESS 18 | * OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES 19 | * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN 20 | * NO EVENT SHALL THE NIMBUS PROJECT OR CONTRIBUTORS BE LIABLE FOR ANY 21 | * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES 22 | * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; 23 | * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND 24 | * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 25 | * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 26 | * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 27 | * 28 | * The views and conclusions contained in the software and documentation are 29 | * those of the authors and should not be interpreted as representing official 30 | * policies, either expressed or implied, of the Nimbus Project. 31 | */ 32 | package jp.ossc.nimbus.service.cui; 33 | 34 | /** 35 | * Cuiファクトリーサービス 36 | * @author y-tokuda 37 | * @version 1.00 作成:2003/10/20- y-tokuda
38 | * 更新: 39 | */ 40 | public interface CuiFactory { 41 | /** Cuiインスタンスを返す */ 42 | public Cui findInstance(String key); 43 | } 44 | -------------------------------------------------------------------------------- /src/main/java/jp/ossc/nimbus/service/graph/TickUnitAdjustCommonDivisorMap.java: -------------------------------------------------------------------------------- 1 | /* 2 | * This software is distributed under following license based on modified BSD 3 | * style license. 4 | * ---------------------------------------------------------------------- 5 | * 6 | * Copyright 2003 The Nimbus Project. All rights reserved. 7 | * 8 | * Redistribution and use in source and binary forms, with or without 9 | * modification, are permitted provided that the following conditions are met: 10 | * 11 | * 1. Redistributions of source code must retain the above copyright notice, 12 | * this list of conditions and the following disclaimer. 13 | * 2. Redistributions in binary form must reproduce the above copyright notice, 14 | * this list of conditions and the following disclaimer in the documentation 15 | * and/or other materials provided with the distribution. 16 | * 17 | * THIS SOFTWARE IS PROVIDED BY THE NIMBUS PROJECT ``AS IS'' AND ANY EXPRESS 18 | * OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES 19 | * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN 20 | * NO EVENT SHALL THE NIMBUS PROJECT OR CONTRIBUTORS BE LIABLE FOR ANY 21 | * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES 22 | * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; 23 | * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND 24 | * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 25 | * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 26 | * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 27 | * 28 | * The views and conclusions contained in the software and documentation are 29 | * those of the authors and should not be interpreted as representing official 30 | * policies, either expressed or implied, of the Nimbus Project. 31 | */ 32 | package jp.ossc.nimbus.service.graph; 33 | 34 | /** 35 | * {@link TickUnitAdjuster}で調整するメモリの公約数のマッピングを提供するサービス。

36 | * 37 | * @author M.Takata 38 | */ 39 | public interface TickUnitAdjustCommonDivisorMap{ 40 | public double getCommonDivisor(double val); 41 | } 42 | -------------------------------------------------------------------------------- /src/main/java/jp/ossc/nimbus/service/mail/MailSenderFactory.java: -------------------------------------------------------------------------------- 1 | /* 2 | * This software is distributed under following license based on modified BSD 3 | * style license. 4 | * ---------------------------------------------------------------------- 5 | * 6 | * Copyright 2003 The Nimbus Project. All rights reserved. 7 | * 8 | * Redistribution and use in source and binary forms, with or without 9 | * modification, are permitted provided that the following conditions are met: 10 | * 11 | * 1. Redistributions of source code must retain the above copyright notice, 12 | * this list of conditions and the following disclaimer. 13 | * 2. Redistributions in binary form must reproduce the above copyright notice, 14 | * this list of conditions and the following disclaimer in the documentation 15 | * and/or other materials provided with the distribution. 16 | * 17 | * THIS SOFTWARE IS PROVIDED BY THE NIMBUS PROJECT ``AS IS'' AND ANY EXPRESS 18 | * OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES 19 | * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN 20 | * NO EVENT SHALL THE NIMBUS PROJECT OR CONTRIBUTORS BE LIABLE FOR ANY 21 | * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES 22 | * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; 23 | * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND 24 | * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 25 | * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 26 | * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 27 | * 28 | * The views and conclusions contained in the software and documentation are 29 | * those of the authors and should not be interpreted as representing official 30 | * policies, either expressed or implied, of the Nimbus Project. 31 | */ 32 | package jp.ossc.nimbus.service.mail; 33 | 34 | // 35 | /** 36 | * メールセンダーファクトリインターフェイス 37 | * @author NRI. Hirotaka Nakano 38 | * @version 1.00 作成: 2003/10/09 - H.Nakano 39 | */ 40 | public interface MailSenderFactory { 41 | public MailSender createMailSender() ; 42 | } 43 | -------------------------------------------------------------------------------- /src/test/java/jp/ossc/nimbus/service/beancontrol/TestBeanFlow1.java: -------------------------------------------------------------------------------- 1 | /* 2 | * This software is distributed under following license based on modified BSD 3 | * style license. 4 | * ---------------------------------------------------------------------- 5 | * 6 | * Copyright 2003 The Nimbus Project. All rights reserved. 7 | * 8 | * Redistribution and use in source and binary forms, with or without 9 | * modification, are permitted provided that the following conditions are met: 10 | * 11 | * 1. Redistributions of source code must retain the above copyright notice, 12 | * this list of conditions and the following disclaimer. 13 | * 2. Redistributions in binary form must reproduce the above copyright notice, 14 | * this list of conditions and the following disclaimer in the documentation 15 | * and/or other materials provided with the distribution. 16 | * 17 | * THIS SOFTWARE IS PROVIDED BY THE NIMBUS PROJECT ``AS IS'' AND ANY EXPRESS 18 | * OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES 19 | * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN 20 | * NO EVENT SHALL THE NIMBUS PROJECT OR CONTRIBUTORS BE LIABLE FOR ANY 21 | * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES 22 | * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; 23 | * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND 24 | * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 25 | * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 26 | * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 27 | * 28 | * The views and conclusions contained in the software and documentation are 29 | * those of the authors and should not be interpreted as representing official 30 | * policies, either expressed or implied, of the Nimbus Project. 31 | */ 32 | package jp.ossc.nimbus.service.beancontrol; 33 | 34 | public class TestBeanFlow1 { 35 | 36 | public int getValue(){ 37 | return 1; 38 | } 39 | 40 | public void execute() { 41 | System.out.println("TestBeanFlow1#execute() was called."); 42 | } 43 | } 44 | -------------------------------------------------------------------------------- /src/test/java/jp/ossc/nimbus/beans/dataset/HeaderTest.java: -------------------------------------------------------------------------------- 1 | package jp.ossc.nimbus.beans.dataset; 2 | 3 | import junit.framework.TestCase; 4 | // 5 | /** 6 | * 7 | * @author S.Teshima 8 | * @version 1.00 作成: 2008/01/22 - S.Teshima 9 | */ 10 | 11 | public class HeaderTest extends TestCase { 12 | 13 | public HeaderTest(String arg0) { 14 | super(arg0); 15 | } 16 | 17 | public static void main(String[] args) { 18 | junit.textui.TestRunner.run(HeaderTest.class); 19 | } 20 | 21 | /** 22 | * 同じスキーマを持ちデータを持たない空のヘッダを複製するテスト。 23 | *

24 | * 条件: 25 | *

31 | * 確認: 32 | * 36 | */ 37 | public void testCloneSchema() { 38 | try{ 39 | Header header = new Header("Testheader", ":A,java.lang.String,,,"); 40 | Record rec = header.cloneSchema(); 41 | Header header2 = (Header)rec; 42 | assertEquals("Testheader", header2.getName()); 43 | assertEquals(":A,java.lang.String,,,", header2.getSchema()); 44 | }catch(Exception e){ 45 | e.printStackTrace(); 46 | } 47 | } 48 | 49 | 50 | /** 51 | * ヘッダ名を設定するテスト。 52 | *

53 | * 条件: 54 | *

61 | * 確認: 62 | * 65 | */ 66 | public void testSetName() { 67 | try{ 68 | Header header = new Header("Testheader", ":A,java.lang.String,,,"); 69 | header.setName("TestheaderNew"); 70 | assertEquals("TestheaderNew", header.getName()); 71 | }catch(Exception e){ 72 | e.printStackTrace(); 73 | } 74 | } 75 | 76 | } 77 | -------------------------------------------------------------------------------- /src/main/java/jp/ossc/nimbus/core/DefaultServiceManagerServiceMBean.java: -------------------------------------------------------------------------------- 1 | /* 2 | * This software is distributed under following license based on modified BSD 3 | * style license. 4 | * ---------------------------------------------------------------------- 5 | * 6 | * Copyright 2003 The Nimbus Project. All rights reserved. 7 | * 8 | * Redistribution and use in source and binary forms, with or without 9 | * modification, are permitted provided that the following conditions are met: 10 | * 11 | * 1. Redistributions of source code must retain the above copyright notice, 12 | * this list of conditions and the following disclaimer. 13 | * 2. Redistributions in binary form must reproduce the above copyright notice, 14 | * this list of conditions and the following disclaimer in the documentation 15 | * and/or other materials provided with the distribution. 16 | * 17 | * THIS SOFTWARE IS PROVIDED BY THE NIMBUS PROJECT ``AS IS'' AND ANY EXPRESS 18 | * OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES 19 | * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN 20 | * NO EVENT SHALL THE NIMBUS PROJECT OR CONTRIBUTORS BE LIABLE FOR ANY 21 | * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES 22 | * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; 23 | * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND 24 | * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 25 | * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 26 | * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 27 | * 28 | * The views and conclusions contained in the software and documentation are 29 | * those of the authors and should not be interpreted as representing official 30 | * policies, either expressed or implied, of the Nimbus Project. 31 | */ 32 | package jp.ossc.nimbus.core; 33 | 34 | /** 35 | * {@link DefaultServiceManagerService}のMBeanインタフェース

36 | * 37 | * @author M.Takata 38 | * @see DefaultServiceManagerService 39 | */ 40 | public interface DefaultServiceManagerServiceMBean 41 | extends Service, ServiceManager{ 42 | } -------------------------------------------------------------------------------- /src/main/java/jp/ossc/nimbus/service/system/Time.java: -------------------------------------------------------------------------------- 1 | /* 2 | * This software is distributed under following license based on modified BSD 3 | * style license. 4 | * ---------------------------------------------------------------------- 5 | * 6 | * Copyright 2003 The Nimbus Project. All rights reserved. 7 | * 8 | * Redistribution and use in source and binary forms, with or without 9 | * modification, are permitted provided that the following conditions are met: 10 | * 11 | * 1. Redistributions of source code must retain the above copyright notice, 12 | * this list of conditions and the following disclaimer. 13 | * 2. Redistributions in binary form must reproduce the above copyright notice, 14 | * this list of conditions and the following disclaimer in the documentation 15 | * and/or other materials provided with the distribution. 16 | * 17 | * THIS SOFTWARE IS PROVIDED BY THE NIMBUS PROJECT ``AS IS'' AND ANY EXPRESS 18 | * OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES 19 | * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN 20 | * NO EVENT SHALL THE NIMBUS PROJECT OR CONTRIBUTORS BE LIABLE FOR ANY 21 | * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES 22 | * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; 23 | * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND 24 | * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 25 | * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 26 | * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 27 | * 28 | * The views and conclusions contained in the software and documentation are 29 | * those of the authors and should not be interpreted as representing official 30 | * policies, either expressed or implied, of the Nimbus Project. 31 | */ 32 | package jp.ossc.nimbus.service.system; 33 | 34 | /** 35 | * システム時刻。

36 | * 37 | * @author M.Takata 38 | */ 39 | public interface Time{ 40 | 41 | /** 42 | * ミリ秒で表される現在の時間を返す。

43 | * 44 | * @return ミリ秒で表される現在の時間 45 | */ 46 | public long currentTimeMillis(); 47 | } -------------------------------------------------------------------------------- /src/test/java/jp/ossc/nimbus/util/TestMain.java: -------------------------------------------------------------------------------- 1 | /* 2 | * This software is distributed under following license based on modified BSD 3 | * style license. 4 | * ---------------------------------------------------------------------- 5 | * 6 | * Copyright 2003 The Nimbus Project. All rights reserved. 7 | * 8 | * Redistribution and use in source and binary forms, with or without 9 | * modification, are permitted provided that the following conditions are met: 10 | * 11 | * 1. Redistributions of source code must retain the above copyright notice, 12 | * this list of conditions and the following disclaimer. 13 | * 2. Redistributions in binary form must reproduce the above copyright notice, 14 | * this list of conditions and the following disclaimer in the documentation 15 | * and/or other materials provided with the distribution. 16 | * 17 | * THIS SOFTWARE IS PROVIDED BY THE NIMBUS PROJECT ``AS IS'' AND ANY EXPRESS 18 | * OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES 19 | * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN 20 | * NO EVENT SHALL THE NIMBUS PROJECT OR CONTRIBUTORS BE LIABLE FOR ANY 21 | * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES 22 | * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; 23 | * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND 24 | * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 25 | * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 26 | * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 27 | * 28 | * The views and conclusions contained in the software and documentation are 29 | * those of the authors and should not be interpreted as representing official 30 | * policies, either expressed or implied, of the Nimbus Project. 31 | */ 32 | package jp.ossc.nimbus.util; 33 | 34 | /** 35 | * @author nakano 36 | * 37 | * この生成されたコメントの挿入されるテンプレートを変更するため 38 | * ウィンドウ > 設定 > Java > コード生成 > コードとコメント 39 | */ 40 | public class TestMain { 41 | 42 | public static void main(String[] args) { 43 | System.out.print("Main Start!!") ; 44 | } 45 | } 46 | -------------------------------------------------------------------------------- /src/main/java/jp/ossc/nimbus/service/ioccall/UnsynchFacadeCallerServiceMBean.java: -------------------------------------------------------------------------------- 1 | /* 2 | * This software is distributed under following license based on modified BSD 3 | * style license. 4 | * ---------------------------------------------------------------------- 5 | * 6 | * Copyright 2003 The Nimbus Project. All rights reserved. 7 | * 8 | * Redistribution and use in source and binary forms, with or without 9 | * modification, are permitted provided that the following conditions are met: 10 | * 11 | * 1. Redistributions of source code must retain the above copyright notice, 12 | * this list of conditions and the following disclaimer. 13 | * 2. Redistributions in binary form must reproduce the above copyright notice, 14 | * this list of conditions and the following disclaimer in the documentation 15 | * and/or other materials provided with the distribution. 16 | * 17 | * THIS SOFTWARE IS PROVIDED BY THE NIMBUS PROJECT ``AS IS'' AND ANY EXPRESS 18 | * OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES 19 | * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN 20 | * NO EVENT SHALL THE NIMBUS PROJECT OR CONTRIBUTORS BE LIABLE FOR ANY 21 | * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES 22 | * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; 23 | * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND 24 | * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 25 | * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 26 | * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 27 | * 28 | * The views and conclusions contained in the software and documentation are 29 | * those of the authors and should not be interpreted as representing official 30 | * policies, either expressed or implied, of the Nimbus Project. 31 | */ 32 | package jp.ossc.nimbus.service.ioccall; 33 | 34 | import jp.ossc.nimbus.core.*; 35 | 36 | /** 37 | * {@link UnsynchFacadeCallerService}のMBeanインタフェース。

38 | * 39 | * @author M.Takata 40 | */ 41 | public interface UnsynchFacadeCallerServiceMBean extends ServiceBaseMBean{ 42 | } 43 | -------------------------------------------------------------------------------- /src/main/java/jp/ossc/nimbus/service/scheduler2/DefaultScheduleMakerServiceMBean.java: -------------------------------------------------------------------------------- 1 | /* 2 | * This software is distributed under following license based on modified BSD 3 | * style license. 4 | * ---------------------------------------------------------------------- 5 | * 6 | * Copyright 2003 The Nimbus Project. All rights reserved. 7 | * 8 | * Redistribution and use in source and binary forms, with or without 9 | * modification, are permitted provided that the following conditions are met: 10 | * 11 | * 1. Redistributions of source code must retain the above copyright notice, 12 | * this list of conditions and the following disclaimer. 13 | * 2. Redistributions in binary form must reproduce the above copyright notice, 14 | * this list of conditions and the following disclaimer in the documentation 15 | * and/or other materials provided with the distribution. 16 | * 17 | * THIS SOFTWARE IS PROVIDED BY THE NIMBUS PROJECT ``AS IS'' AND ANY EXPRESS 18 | * OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES 19 | * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN 20 | * NO EVENT SHALL THE NIMBUS PROJECT OR CONTRIBUTORS BE LIABLE FOR ANY 21 | * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES 22 | * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; 23 | * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND 24 | * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 25 | * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 26 | * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 27 | * 28 | * The views and conclusions contained in the software and documentation are 29 | * those of the authors and should not be interpreted as representing official 30 | * policies, either expressed or implied, of the Nimbus Project. 31 | */ 32 | package jp.ossc.nimbus.service.scheduler2; 33 | 34 | import jp.ossc.nimbus.core.*; 35 | 36 | /** 37 | * {@link DefaultScheduleMakerService}のMBeanインタフェース。

38 | * 39 | * @author M.Takata 40 | */ 41 | public interface DefaultScheduleMakerServiceMBean extends ServiceBaseMBean{ 42 | } -------------------------------------------------------------------------------- /src/main/java/jp/ossc/nimbus/service/codemaster/PartUpdate.java: -------------------------------------------------------------------------------- 1 | /* 2 | * This software is distributed under following license based on modified BSD 3 | * style license. 4 | * ---------------------------------------------------------------------- 5 | * 6 | * Copyright 2003 The Nimbus Project. All rights reserved. 7 | * 8 | * Redistribution and use in source and binary forms, with or without 9 | * modification, are permitted provided that the following conditions are met: 10 | * 11 | * 1. Redistributions of source code must retain the above copyright notice, 12 | * this list of conditions and the following disclaimer. 13 | * 2. Redistributions in binary form must reproduce the above copyright notice, 14 | * this list of conditions and the following disclaimer in the documentation 15 | * and/or other materials provided with the distribution. 16 | * 17 | * THIS SOFTWARE IS PROVIDED BY THE NIMBUS PROJECT ``AS IS'' AND ANY EXPRESS 18 | * OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES 19 | * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN 20 | * NO EVENT SHALL THE NIMBUS PROJECT OR CONTRIBUTORS BE LIABLE FOR ANY 21 | * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES 22 | * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; 23 | * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND 24 | * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 25 | * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 26 | * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 27 | * 28 | * The views and conclusions contained in the software and documentation are 29 | * those of the authors and should not be interpreted as representing official 30 | * policies, either expressed or implied, of the Nimbus Project. 31 | */ 32 | // パッケージ 33 | package jp.ossc.nimbus.service.codemaster; 34 | 35 | /** 36 | * 部分更新マスター

37 | * @version $Name: $ 38 | * @author H.Nakano 39 | * @since 1.0 40 | */ 41 | public interface PartUpdate{ 42 | 43 | public PartUpdate cloneAndUpdate(PartUpdateRecords records) throws Exception; 44 | } 45 | -------------------------------------------------------------------------------- /src/main/java/jp/ossc/nimbus/service/crypt/NullCryptServiceMBean.java: -------------------------------------------------------------------------------- 1 | /* 2 | * This software is distributed under following license based on modified BSD 3 | * style license. 4 | * ---------------------------------------------------------------------- 5 | * 6 | * Copyright 2003 The Nimbus Project. All rights reserved. 7 | * 8 | * Redistribution and use in source and binary forms, with or without 9 | * modification, are permitted provided that the following conditions are met: 10 | * 11 | * 1. Redistributions of source code must retain the above copyright notice, 12 | * this list of conditions and the following disclaimer. 13 | * 2. Redistributions in binary form must reproduce the above copyright notice, 14 | * this list of conditions and the following disclaimer in the documentation 15 | * and/or other materials provided with the distribution. 16 | * 17 | * THIS SOFTWARE IS PROVIDED BY THE NIMBUS PROJECT ``AS IS'' AND ANY EXPRESS 18 | * OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES 19 | * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN 20 | * NO EVENT SHALL THE NIMBUS PROJECT OR CONTRIBUTORS BE LIABLE FOR ANY 21 | * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES 22 | * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; 23 | * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND 24 | * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 25 | * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 26 | * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 27 | * 28 | * The views and conclusions contained in the software and documentation are 29 | * those of the authors and should not be interpreted as representing official 30 | * policies, either expressed or implied, of the Nimbus Project. 31 | */ 32 | package jp.ossc.nimbus.service.crypt; 33 | 34 | import jp.ossc.nimbus.core.ServiceBaseMBean; 35 | 36 | /** 37 | * {@link NullCryptService}のMBeanインタフェース

38 | * 39 | * @author A.Kokubu 40 | * @see NullCryptService 41 | */ 42 | public interface NullCryptServiceMBean extends ServiceBaseMBean{ 43 | } 44 | -------------------------------------------------------------------------------- /src/main/java/jp/ossc/nimbus/service/publish/udp/ConnectionFactoryFactoryServiceMBean.java: -------------------------------------------------------------------------------- 1 | /* 2 | * This software is distributed under following license based on modified BSD 3 | * style license. 4 | * ---------------------------------------------------------------------- 5 | * 6 | * Copyright 2003 The Nimbus Project. All rights reserved. 7 | * 8 | * Redistribution and use in source and binary forms, with or without 9 | * modification, are permitted provided that the following conditions are met: 10 | * 11 | * 1. Redistributions of source code must retain the above copyright notice, 12 | * this list of conditions and the following disclaimer. 13 | * 2. Redistributions in binary form must reproduce the above copyright notice, 14 | * this list of conditions and the following disclaimer in the documentation 15 | * and/or other materials provided with the distribution. 16 | * 17 | * THIS SOFTWARE IS PROVIDED BY THE NIMBUS PROJECT ``AS IS'' AND ANY EXPRESS 18 | * OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES 19 | * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN 20 | * NO EVENT SHALL THE NIMBUS PROJECT OR CONTRIBUTORS BE LIABLE FOR ANY 21 | * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES 22 | * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; 23 | * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND 24 | * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 25 | * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 26 | * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 27 | * 28 | * The views and conclusions contained in the software and documentation are 29 | * those of the authors and should not be interpreted as representing official 30 | * policies, either expressed or implied, of the Nimbus Project. 31 | */ 32 | package jp.ossc.nimbus.service.publish.udp; 33 | 34 | /** 35 | * {@link ConnectionFactoryFactoryService}のMBeanインタフェース。

36 | * 37 | * @author m-ishida 38 | * 39 | */ 40 | public interface ConnectionFactoryFactoryServiceMBean extends ConnectionFactoryServiceMBean { 41 | 42 | } 43 | -------------------------------------------------------------------------------- /src/main/java/jp/ossc/nimbus/service/cui/DisplayConstructer.java: -------------------------------------------------------------------------------- 1 | /* 2 | * This software is distributed under following license based on modified BSD 3 | * style license. 4 | * ---------------------------------------------------------------------- 5 | * 6 | * Copyright 2003 The Nimbus Project. All rights reserved. 7 | * 8 | * Redistribution and use in source and binary forms, with or without 9 | * modification, are permitted provided that the following conditions are met: 10 | * 11 | * 1. Redistributions of source code must retain the above copyright notice, 12 | * this list of conditions and the following disclaimer. 13 | * 2. Redistributions in binary form must reproduce the above copyright notice, 14 | * this list of conditions and the following disclaimer in the documentation 15 | * and/or other materials provided with the distribution. 16 | * 17 | * THIS SOFTWARE IS PROVIDED BY THE NIMBUS PROJECT ``AS IS'' AND ANY EXPRESS 18 | * OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES 19 | * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN 20 | * NO EVENT SHALL THE NIMBUS PROJECT OR CONTRIBUTORS BE LIABLE FOR ANY 21 | * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES 22 | * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; 23 | * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND 24 | * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 25 | * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 26 | * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 27 | * 28 | * The views and conclusions contained in the software and documentation are 29 | * those of the authors and should not be interpreted as representing official 30 | * policies, either expressed or implied, of the Nimbus Project. 31 | */ 32 | package jp.ossc.nimbus.service.cui; 33 | 34 | /** 35 | * Displayインターフェイス 36 | * @author y-tokuda 37 | * @version 1.00 作成:2003/10/29- y-tokuda
38 | * 更新: 39 | */ 40 | public interface DisplayConstructer { 41 | /** 42 | * 出力したいデータをリターンする 43 | * @return 44 | */ 45 | public String display(); 46 | } 47 | -------------------------------------------------------------------------------- /src/main/java/jp/ossc/nimbus/service/graph/TickUnitAdjuster.java: -------------------------------------------------------------------------------- 1 | /* 2 | * This software is distributed under following license based on modified BSD 3 | * style license. 4 | * ---------------------------------------------------------------------- 5 | * 6 | * Copyright 2003 The Nimbus Project. All rights reserved. 7 | * 8 | * Redistribution and use in source and binary forms, with or without 9 | * modification, are permitted provided that the following conditions are met: 10 | * 11 | * 1. Redistributions of source code must retain the above copyright notice, 12 | * this list of conditions and the following disclaimer. 13 | * 2. Redistributions in binary form must reproduce the above copyright notice, 14 | * this list of conditions and the following disclaimer in the documentation 15 | * and/or other materials provided with the distribution. 16 | * 17 | * THIS SOFTWARE IS PROVIDED BY THE NIMBUS PROJECT ``AS IS'' AND ANY EXPRESS 18 | * OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES 19 | * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN 20 | * NO EVENT SHALL THE NIMBUS PROJECT OR CONTRIBUTORS BE LIABLE FOR ANY 21 | * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES 22 | * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; 23 | * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND 24 | * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 25 | * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 26 | * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 27 | * 28 | * The views and conclusions contained in the software and documentation are 29 | * those of the authors and should not be interpreted as representing official 30 | * policies, either expressed or implied, of the Nimbus Project. 31 | */ 32 | package jp.ossc.nimbus.service.graph; 33 | 34 | import org.jfree.chart.plot.XYPlot; 35 | 36 | /** 37 | * 軸の目盛り調節。

38 | */ 39 | public interface TickUnitAdjuster { 40 | 41 | /** 42 | * 軸の目盛りを調節する。

43 | * 44 | * @param xyPlot XYPlot 45 | */ 46 | public void adjust(XYPlot xyPlot); 47 | } 48 | -------------------------------------------------------------------------------- /src/main/java/jp/ossc/nimbus/service/queue/DistributedQueueSelector.java: -------------------------------------------------------------------------------- 1 | /* 2 | * This software is distributed under following license based on modified BSD 3 | * style license. 4 | * ---------------------------------------------------------------------- 5 | * 6 | * Copyright 2003 The Nimbus Project. All rights reserved. 7 | * 8 | * Redistribution and use in source and binary forms, with or without 9 | * modification, are permitted provided that the following conditions are met: 10 | * 11 | * 1. Redistributions of source code must retain the above copyright notice, 12 | * this list of conditions and the following disclaimer. 13 | * 2. Redistributions in binary form must reproduce the above copyright notice, 14 | * this list of conditions and the following disclaimer in the documentation 15 | * and/or other materials provided with the distribution. 16 | * 17 | * THIS SOFTWARE IS PROVIDED BY THE NIMBUS PROJECT ``AS IS'' AND ANY EXPRESS 18 | * OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES 19 | * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN 20 | * NO EVENT SHALL THE NIMBUS PROJECT OR CONTRIBUTORS BE LIABLE FOR ANY 21 | * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES 22 | * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; 23 | * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND 24 | * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 25 | * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 26 | * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 27 | * 28 | * The views and conclusions contained in the software and documentation are 29 | * those of the authors and should not be interpreted as representing official 30 | * policies, either expressed or implied, of the Nimbus Project. 31 | */ 32 | package jp.ossc.nimbus.service.queue; 33 | 34 | /** 35 | * 分散Queueセレクター。

36 | * 37 | * @author M.Takata 38 | */ 39 | public interface DistributedQueueSelector{ 40 | 41 | public Queue selectQueue(Object obj); 42 | 43 | public Queue[] getQueues(); 44 | 45 | public void clear(); 46 | } -------------------------------------------------------------------------------- /src/main/java/jp/ossc/nimbus/service/keepalive/KeepAliveListener.java: -------------------------------------------------------------------------------- 1 | /* 2 | * This software is distributed under following license based on modified BSD 3 | * style license. 4 | * ---------------------------------------------------------------------- 5 | * 6 | * Copyright 2003 The Nimbus Project. All rights reserved. 7 | * 8 | * Redistribution and use in source and binary forms, with or without 9 | * modification, are permitted provided that the following conditions are met: 10 | * 11 | * 1. Redistributions of source code must retain the above copyright notice, 12 | * this list of conditions and the following disclaimer. 13 | * 2. Redistributions in binary form must reproduce the above copyright notice, 14 | * this list of conditions and the following disclaimer in the documentation 15 | * and/or other materials provided with the distribution. 16 | * 17 | * THIS SOFTWARE IS PROVIDED BY THE NIMBUS PROJECT ``AS IS'' AND ANY EXPRESS 18 | * OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES 19 | * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN 20 | * NO EVENT SHALL THE NIMBUS PROJECT OR CONTRIBUTORS BE LIABLE FOR ANY 21 | * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES 22 | * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; 23 | * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND 24 | * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 25 | * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 26 | * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 27 | * 28 | * The views and conclusions contained in the software and documentation are 29 | * those of the authors and should not be interpreted as representing official 30 | * policies, either expressed or implied, of the Nimbus Project. 31 | */ 32 | package jp.ossc.nimbus.service.keepalive; 33 | 34 | /** 35 | * サーバの稼動状態を知らせてもらうリスナーインタフェース。

36 | * 37 | * @author M.Takata 38 | */ 39 | public interface KeepAliveListener { 40 | 41 | public void onDead(KeepAliveChecker checker); 42 | 43 | public void onRecover(KeepAliveChecker checker); 44 | } 45 | -------------------------------------------------------------------------------- /src/main/java/jp/ossc/nimbus/service/publish/MessageListener.java: -------------------------------------------------------------------------------- 1 | /* 2 | * This software is distributed under following license based on modified BSD 3 | * style license. 4 | * ---------------------------------------------------------------------- 5 | * 6 | * Copyright 2003 The Nimbus Project. All rights reserved. 7 | * 8 | * Redistribution and use in source and binary forms, with or without 9 | * modification, are permitted provided that the following conditions are met: 10 | * 11 | * 1. Redistributions of source code must retain the above copyright notice, 12 | * this list of conditions and the following disclaimer. 13 | * 2. Redistributions in binary form must reproduce the above copyright notice, 14 | * this list of conditions and the following disclaimer in the documentation 15 | * and/or other materials provided with the distribution. 16 | * 17 | * THIS SOFTWARE IS PROVIDED BY THE NIMBUS PROJECT ``AS IS'' AND ANY EXPRESS 18 | * OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES 19 | * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN 20 | * NO EVENT SHALL THE NIMBUS PROJECT OR CONTRIBUTORS BE LIABLE FOR ANY 21 | * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES 22 | * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; 23 | * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND 24 | * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 25 | * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 26 | * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 27 | * 28 | * The views and conclusions contained in the software and documentation are 29 | * those of the authors and should not be interpreted as representing official 30 | * policies, either expressed or implied, of the Nimbus Project. 31 | */ 32 | package jp.ossc.nimbus.service.publish; 33 | 34 | /** 35 | * メッセージリスナインタフェース。

36 | * 37 | * @author M.Takata 38 | */ 39 | public interface MessageListener{ 40 | 41 | /** 42 | * メッセージを受信する。
43 | * 44 | * @param message メッセージ 45 | */ 46 | public void onMessage(Message message); 47 | } -------------------------------------------------------------------------------- /src/main/java/jp/ossc/nimbus/service/publish/udp/ServerCloseRequestMessage.java: -------------------------------------------------------------------------------- 1 | /* 2 | * This software is distributed under following license based on modified BSD 3 | * style license. 4 | * ---------------------------------------------------------------------- 5 | * 6 | * Copyright 2003 The Nimbus Project. All rights reserved. 7 | * 8 | * Redistribution and use in source and binary forms, with or without 9 | * modification, are permitted provided that the following conditions are met: 10 | * 11 | * 1. Redistributions of source code must retain the above copyright notice, 12 | * this list of conditions and the following disclaimer. 13 | * 2. Redistributions in binary form must reproduce the above copyright notice, 14 | * this list of conditions and the following disclaimer in the documentation 15 | * and/or other materials provided with the distribution. 16 | * 17 | * THIS SOFTWARE IS PROVIDED BY THE NIMBUS PROJECT ``AS IS'' AND ANY EXPRESS 18 | * OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES 19 | * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN 20 | * NO EVENT SHALL THE NIMBUS PROJECT OR CONTRIBUTORS BE LIABLE FOR ANY 21 | * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES 22 | * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; 23 | * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND 24 | * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 25 | * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 26 | * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 27 | * 28 | * The views and conclusions contained in the software and documentation are 29 | * those of the authors and should not be interpreted as representing official 30 | * policies, either expressed or implied, of the Nimbus Project. 31 | */ 32 | package jp.ossc.nimbus.service.publish.udp; 33 | 34 | /** 35 | * サーバからの終了要求メッセージクラス。

36 | * 37 | * @author M.Takata 38 | */ 39 | public class ServerCloseRequestMessage extends ServerMessage{ 40 | 41 | public ServerCloseRequestMessage(){ 42 | super(MESSAGE_SERVER_CLOSE_REQ); 43 | } 44 | } -------------------------------------------------------------------------------- /src/main/java/jp/ossc/nimbus/service/resource/jmstopic/JmsTopicSession.java: -------------------------------------------------------------------------------- 1 | /* 2 | * This software is distributed under following license based on modified BSD 3 | * style license. 4 | * ---------------------------------------------------------------------- 5 | * 6 | * Copyright 2003 The Nimbus Project. All rights reserved. 7 | * 8 | * Redistribution and use in source and binary forms, with or without 9 | * modification, are permitted provided that the following conditions are met: 10 | * 11 | * 1. Redistributions of source code must retain the above copyright notice, 12 | * this list of conditions and the following disclaimer. 13 | * 2. Redistributions in binary form must reproduce the above copyright notice, 14 | * this list of conditions and the following disclaimer in the documentation 15 | * and/or other materials provided with the distribution. 16 | * 17 | * THIS SOFTWARE IS PROVIDED BY THE NIMBUS PROJECT ``AS IS'' AND ANY EXPRESS 18 | * OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES 19 | * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN 20 | * NO EVENT SHALL THE NIMBUS PROJECT OR CONTRIBUTORS BE LIABLE FOR ANY 21 | * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES 22 | * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; 23 | * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND 24 | * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 25 | * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 26 | * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 27 | * 28 | * The views and conclusions contained in the software and documentation are 29 | * those of the authors and should not be interpreted as representing official 30 | * policies, either expressed or implied, of the Nimbus Project. 31 | */ 32 | package jp.ossc.nimbus.service.resource.jmstopic; 33 | 34 | import jp.ossc.nimbus.service.resource.*; 35 | 36 | /** 37 | * JMSトピックセッション 38 | * @author y-tokuda 39 | * @version 1.00 作成:2003/10/27- y-tokuda
40 | * 更新: 41 | */ 42 | public interface JmsTopicSession 43 | extends ResourceFactory{ 44 | } 45 | -------------------------------------------------------------------------------- /src/main/java/jp/ossc/nimbus/service/scheduler/ScheduleTask.java: -------------------------------------------------------------------------------- 1 | /* 2 | * This software is distributed under following license based on modified BSD 3 | * style license. 4 | * ---------------------------------------------------------------------- 5 | * 6 | * Copyright 2003 The Nimbus Project. All rights reserved. 7 | * 8 | * Redistribution and use in source and binary forms, with or without 9 | * modification, are permitted provided that the following conditions are met: 10 | * 11 | * 1. Redistributions of source code must retain the above copyright notice, 12 | * this list of conditions and the following disclaimer. 13 | * 2. Redistributions in binary form must reproduce the above copyright notice, 14 | * this list of conditions and the following disclaimer in the documentation 15 | * and/or other materials provided with the distribution. 16 | * 17 | * THIS SOFTWARE IS PROVIDED BY THE NIMBUS PROJECT ``AS IS'' AND ANY EXPRESS 18 | * OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES 19 | * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN 20 | * NO EVENT SHALL THE NIMBUS PROJECT OR CONTRIBUTORS BE LIABLE FOR ANY 21 | * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES 22 | * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; 23 | * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND 24 | * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 25 | * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 26 | * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 27 | * 28 | * The views and conclusions contained in the software and documentation are 29 | * those of the authors and should not be interpreted as representing official 30 | * policies, either expressed or implied, of the Nimbus Project. 31 | */ 32 | package jp.ossc.nimbus.service.scheduler; 33 | 34 | /** 35 | * スケジュールタスク。

36 | * 37 | * @author M.Takata 38 | */ 39 | public interface ScheduleTask{ 40 | 41 | /** 42 | * タスクを実行する。

43 | * 44 | * @exception Exception タスクの実行に失敗した場合 45 | */ 46 | public void run() throws Exception; 47 | } -------------------------------------------------------------------------------- /src/main/java/jp/ossc/nimbus/service/test/TestReporter.java: -------------------------------------------------------------------------------- 1 | /* 2 | * This software is distributed under following license based on modified BSD 3 | * style license. 4 | * ---------------------------------------------------------------------- 5 | * 6 | * Copyright 2003 The Nimbus Project. All rights reserved. 7 | * 8 | * Redistribution and use in source and binary forms, with or without 9 | * modification, are permitted provided that the following conditions are met: 10 | * 11 | * 1. Redistributions of source code must retain the above copyright notice, 12 | * this list of conditions and the following disclaimer. 13 | * 2. Redistributions in binary form must reproduce the above copyright notice, 14 | * this list of conditions and the following disclaimer in the documentation 15 | * and/or other materials provided with the distribution. 16 | * 17 | * THIS SOFTWARE IS PROVIDED BY THE NIMBUS PROJECT ``AS IS'' AND ANY EXPRESS 18 | * OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES 19 | * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN 20 | * NO EVENT SHALL THE NIMBUS PROJECT OR CONTRIBUTORS BE LIABLE FOR ANY 21 | * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES 22 | * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; 23 | * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND 24 | * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 25 | * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 26 | * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 27 | * 28 | * The views and conclusions contained in the software and documentation are 29 | * those of the authors and should not be interpreted as representing official 30 | * policies, either expressed or implied, of the Nimbus Project. 31 | */ 32 | package jp.ossc.nimbus.service.test; 33 | 34 | /** 35 | * テストレポータ。

36 | * 37 | * @author M.Takata 38 | */ 39 | public interface TestReporter{ 40 | 41 | /** 42 | * レポートを出力する。

43 | * 44 | * @param controller テストコントローラ 45 | */ 46 | public void report(TestController controller); 47 | } 48 | -------------------------------------------------------------------------------- /src/main/java/jp/ossc/nimbus/service/test/swing/TestCaseControlListener.java: -------------------------------------------------------------------------------- 1 | /* 2 | * This software is distributed under following license based on modified BSD 3 | * style license. 4 | * ---------------------------------------------------------------------- 5 | * 6 | * Copyright 2003 The Nimbus Project. All rights reserved. 7 | * 8 | * Redistribution and use in source and binary forms, with or without 9 | * modification, are permitted provided that the following conditions are met: 10 | * 11 | * 1. Redistributions of source code must retain the above copyright notice, 12 | * this list of conditions and the following disclaimer. 13 | * 2. Redistributions in binary form must reproduce the above copyright notice, 14 | * this list of conditions and the following disclaimer in the documentation 15 | * and/or other materials provided with the distribution. 16 | * 17 | * THIS SOFTWARE IS PROVIDED BY THE NIMBUS PROJECT ``AS IS'' AND ANY EXPRESS 18 | * OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES 19 | * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN 20 | * NO EVENT SHALL THE NIMBUS PROJECT OR CONTRIBUTORS BE LIABLE FOR ANY 21 | * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES 22 | * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; 23 | * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND 24 | * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 25 | * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 26 | * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 27 | * 28 | * The views and conclusions contained in the software and documentation are 29 | * those of the authors and should not be interpreted as representing official 30 | * policies, either expressed or implied, of the Nimbus Project. 31 | */ 32 | package jp.ossc.nimbus.service.test.swing; 33 | 34 | import jp.ossc.nimbus.service.test.TestCase; 35 | 36 | public interface TestCaseControlListener { 37 | 38 | public void startTestCase(TestCase testcase) throws Exception; 39 | public void endTestCase(TestCase testcase) throws Exception; 40 | 41 | } 42 | -------------------------------------------------------------------------------- /src/main/java/jp/ossc/nimbus/service/beancontrol/BeanFlowAsynchInvokeCallback.java: -------------------------------------------------------------------------------- 1 | /* 2 | * This software is distributed under following license based on modified BSD 3 | * style license. 4 | * ---------------------------------------------------------------------- 5 | * 6 | * Copyright 2003 The Nimbus Project. All rights reserved. 7 | * 8 | * Redistribution and use in source and binary forms, with or without 9 | * modification, are permitted provided that the following conditions are met: 10 | * 11 | * 1. Redistributions of source code must retain the above copyright notice, 12 | * this list of conditions and the following disclaimer. 13 | * 2. Redistributions in binary form must reproduce the above copyright notice, 14 | * this list of conditions and the following disclaimer in the documentation 15 | * and/or other materials provided with the distribution. 16 | * 17 | * THIS SOFTWARE IS PROVIDED BY THE NIMBUS PROJECT ``AS IS'' AND ANY EXPRESS 18 | * OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES 19 | * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN 20 | * NO EVENT SHALL THE NIMBUS PROJECT OR CONTRIBUTORS BE LIABLE FOR ANY 21 | * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES 22 | * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; 23 | * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND 24 | * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 25 | * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 26 | * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 27 | * 28 | * The views and conclusions contained in the software and documentation are 29 | * those of the authors and should not be interpreted as representing official 30 | * policies, either expressed or implied, of the Nimbus Project. 31 | */ 32 | package jp.ossc.nimbus.service.beancontrol; 33 | 34 | import java.rmi.*; 35 | 36 | /** 37 | * 業務フロー非同期実行コールバック。

38 | * 39 | * @author M.Takata 40 | */ 41 | public interface BeanFlowAsynchInvokeCallback extends Remote{ 42 | 43 | public void reply(Object output, Throwable th) throws RemoteException; 44 | } -------------------------------------------------------------------------------- /src/main/java/jp/ossc/nimbus/service/test/TestActionEstimation.java: -------------------------------------------------------------------------------- 1 | /* 2 | * This software is distributed under following license based on modified BSD 3 | * style license. 4 | * ---------------------------------------------------------------------- 5 | * 6 | * Copyright 2003 The Nimbus Project. All rights reserved. 7 | * 8 | * Redistribution and use in source and binary forms, with or without 9 | * modification, are permitted provided that the following conditions are met: 10 | * 11 | * 1. Redistributions of source code must retain the above copyright notice, 12 | * this list of conditions and the following disclaimer. 13 | * 2. Redistributions in binary form must reproduce the above copyright notice, 14 | * this list of conditions and the following disclaimer in the documentation 15 | * and/or other materials provided with the distribution. 16 | * 17 | * THIS SOFTWARE IS PROVIDED BY THE NIMBUS PROJECT ``AS IS'' AND ANY EXPRESS 18 | * OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES 19 | * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN 20 | * NO EVENT SHALL THE NIMBUS PROJECT OR CONTRIBUTORS BE LIABLE FOR ANY 21 | * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES 22 | * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; 23 | * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND 24 | * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 25 | * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 26 | * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 27 | * 28 | * The views and conclusions contained in the software and documentation are 29 | * those of the authors and should not be interpreted as representing official 30 | * policies, either expressed or implied, of the Nimbus Project. 31 | */ 32 | package jp.ossc.nimbus.service.test; 33 | 34 | /** 35 | * テストアクション見積もり。

36 | * 37 | * @author M.Ishida 38 | */ 39 | public interface TestActionEstimation { 40 | 41 | /** 42 | * このアクションのリソース定義を作成する際の想定コストを取得する。

43 | * 44 | * @return 想定コスト 45 | */ 46 | public double getExpectedCost(); 47 | } 48 | -------------------------------------------------------------------------------- /src/main/java/jp/ossc/nimbus/service/cache/KeyCachedReference.java: -------------------------------------------------------------------------------- 1 | /* 2 | * This software is distributed under following license based on modified BSD 3 | * style license. 4 | * ---------------------------------------------------------------------- 5 | * 6 | * Copyright 2003 The Nimbus Project. All rights reserved. 7 | * 8 | * Redistribution and use in source and binary forms, with or without 9 | * modification, are permitted provided that the following conditions are met: 10 | * 11 | * 1. Redistributions of source code must retain the above copyright notice, 12 | * this list of conditions and the following disclaimer. 13 | * 2. Redistributions in binary form must reproduce the above copyright notice, 14 | * this list of conditions and the following disclaimer in the documentation 15 | * and/or other materials provided with the distribution. 16 | * 17 | * THIS SOFTWARE IS PROVIDED BY THE NIMBUS PROJECT ``AS IS'' AND ANY EXPRESS 18 | * OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES 19 | * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN 20 | * NO EVENT SHALL THE NIMBUS PROJECT OR CONTRIBUTORS BE LIABLE FOR ANY 21 | * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES 22 | * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; 23 | * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND 24 | * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 25 | * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 26 | * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 27 | * 28 | * The views and conclusions contained in the software and documentation are 29 | * those of the authors and should not be interpreted as representing official 30 | * policies, either expressed or implied, of the Nimbus Project. 31 | */ 32 | package jp.ossc.nimbus.service.cache; 33 | 34 | /** 35 | * キー付きキャッシュ参照インタフェース。

36 | * 37 | * @author M.Takata 38 | */ 39 | public interface KeyCachedReference extends CachedReference{ 40 | 41 | /** 42 | * キャッシュのキー情報を取得する。

43 | * 44 | * @return キャッシュのキー 45 | */ 46 | public Object getKey(); 47 | } -------------------------------------------------------------------------------- /src/main/java/jp/ossc/nimbus/service/performance/ResourceUsage.java: -------------------------------------------------------------------------------- 1 | /* 2 | * This software is distributed under following license based on modified BSD 3 | * style license. 4 | * ---------------------------------------------------------------------- 5 | * 6 | * Copyright 2003 The Nimbus Project. All rights reserved. 7 | * 8 | * Redistribution and use in source and binary forms, with or without 9 | * modification, are permitted provided that the following conditions are met: 10 | * 11 | * 1. Redistributions of source code must retain the above copyright notice, 12 | * this list of conditions and the following disclaimer. 13 | * 2. Redistributions in binary form must reproduce the above copyright notice, 14 | * this list of conditions and the following disclaimer in the documentation 15 | * and/or other materials provided with the distribution. 16 | * 17 | * THIS SOFTWARE IS PROVIDED BY THE NIMBUS PROJECT ``AS IS'' AND ANY EXPRESS 18 | * OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES 19 | * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN 20 | * NO EVENT SHALL THE NIMBUS PROJECT OR CONTRIBUTORS BE LIABLE FOR ANY 21 | * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES 22 | * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; 23 | * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND 24 | * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 25 | * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 26 | * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 27 | * 28 | * The views and conclusions contained in the software and documentation are 29 | * those of the authors and should not be interpreted as representing official 30 | * policies, either expressed or implied, of the Nimbus Project. 31 | */ 32 | package jp.ossc.nimbus.service.performance; 33 | 34 | /** 35 | * パフォーマンスに関わるリソースの利用量。

36 | * 37 | * @author M.Takata 38 | */ 39 | public interface ResourceUsage{ 40 | 41 | /** 42 | * パフォーマンスに関わるリソースの利用量を取得する。

43 | * 44 | * @return リソース利用量 45 | */ 46 | public Comparable getUsage(); 47 | } 48 | -------------------------------------------------------------------------------- /src/main/java/jp/ossc/nimbus/service/context/ServerInfoServiceMBean.java: -------------------------------------------------------------------------------- 1 | /* 2 | * This software is distributed under following license based on modified BSD 3 | * style license. 4 | * ---------------------------------------------------------------------- 5 | * 6 | * Copyright 2003 The Nimbus Project. All rights reserved. 7 | * 8 | * Redistribution and use in source and binary forms, with or without 9 | * modification, are permitted provided that the following conditions are met: 10 | * 11 | * 1. Redistributions of source code must retain the above copyright notice, 12 | * this list of conditions and the following disclaimer. 13 | * 2. Redistributions in binary form must reproduce the above copyright notice, 14 | * this list of conditions and the following disclaimer in the documentation 15 | * and/or other materials provided with the distribution. 16 | * 17 | * THIS SOFTWARE IS PROVIDED BY THE NIMBUS PROJECT ``AS IS'' AND ANY EXPRESS 18 | * OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES 19 | * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN 20 | * NO EVENT SHALL THE NIMBUS PROJECT OR CONTRIBUTORS BE LIABLE FOR ANY 21 | * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES 22 | * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; 23 | * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND 24 | * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 25 | * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 26 | * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 27 | * 28 | * The views and conclusions contained in the software and documentation are 29 | * those of the authors and should not be interpreted as representing official 30 | * policies, either expressed or implied, of the Nimbus Project. 31 | */ 32 | package jp.ossc.nimbus.service.context; 33 | 34 | /** 35 | * {@link ServerInfoService}のMBeanインタフェース。

36 | * 37 | * @author M.Takata 38 | * @see ServerInfoService 39 | */ 40 | public interface ServerInfoServiceMBean 41 | extends DefaultContextServiceMBean, ServerInfo { 42 | 43 | public String listSystemProperties(); 44 | } 45 | -------------------------------------------------------------------------------- /src/main/java/jp/ossc/nimbus/service/journal/editor/ObjectKeyMapEditorServiceMBean.java: -------------------------------------------------------------------------------- 1 | /* 2 | * This software is distributed under following license based on modified BSD 3 | * style license. 4 | * ---------------------------------------------------------------------- 5 | * 6 | * Copyright 2003 The Nimbus Project. All rights reserved. 7 | * 8 | * Redistribution and use in source and binary forms, with or without 9 | * modification, are permitted provided that the following conditions are met: 10 | * 11 | * 1. Redistributions of source code must retain the above copyright notice, 12 | * this list of conditions and the following disclaimer. 13 | * 2. Redistributions in binary form must reproduce the above copyright notice, 14 | * this list of conditions and the following disclaimer in the documentation 15 | * and/or other materials provided with the distribution. 16 | * 17 | * THIS SOFTWARE IS PROVIDED BY THE NIMBUS PROJECT ``AS IS'' AND ANY EXPRESS 18 | * OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES 19 | * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN 20 | * NO EVENT SHALL THE NIMBUS PROJECT OR CONTRIBUTORS BE LIABLE FOR ANY 21 | * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES 22 | * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; 23 | * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND 24 | * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 25 | * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 26 | * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 27 | * 28 | * The views and conclusions contained in the software and documentation are 29 | * those of the authors and should not be interpreted as representing official 30 | * policies, either expressed or implied, of the Nimbus Project. 31 | */ 32 | // パッケージ 33 | package jp.ossc.nimbus.service.journal.editor; 34 | // インポート 35 | 36 | /** 37 | * OBject型エディタサービスMBeanインターフェイス 38 | * @version $Name: $ 39 | * @author H.Nakano 40 | * @since 1.0 41 | */ 42 | public interface ObjectKeyMapEditorServiceMBean 43 | extends ImmutableJournalEditorServiceBaseMBean { 44 | 45 | } 46 | -------------------------------------------------------------------------------- /src/main/java/jp/ossc/nimbus/service/cache/RemoveOverflowActionServiceMBean.java: -------------------------------------------------------------------------------- 1 | /* 2 | * This software is distributed under following license based on modified BSD 3 | * style license. 4 | * ---------------------------------------------------------------------- 5 | * 6 | * Copyright 2003 The Nimbus Project. All rights reserved. 7 | * 8 | * Redistribution and use in source and binary forms, with or without 9 | * modification, are permitted provided that the following conditions are met: 10 | * 11 | * 1. Redistributions of source code must retain the above copyright notice, 12 | * this list of conditions and the following disclaimer. 13 | * 2. Redistributions in binary form must reproduce the above copyright notice, 14 | * this list of conditions and the following disclaimer in the documentation 15 | * and/or other materials provided with the distribution. 16 | * 17 | * THIS SOFTWARE IS PROVIDED BY THE NIMBUS PROJECT ``AS IS'' AND ANY EXPRESS 18 | * OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES 19 | * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN 20 | * NO EVENT SHALL THE NIMBUS PROJECT OR CONTRIBUTORS BE LIABLE FOR ANY 21 | * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES 22 | * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; 23 | * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND 24 | * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 25 | * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 26 | * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 27 | * 28 | * The views and conclusions contained in the software and documentation are 29 | * those of the authors and should not be interpreted as representing official 30 | * policies, either expressed or implied, of the Nimbus Project. 31 | */ 32 | package jp.ossc.nimbus.service.cache; 33 | 34 | import jp.ossc.nimbus.core.ServiceBaseMBean; 35 | 36 | /** 37 | * {@link RemoveOverflowActionService}のMBeanインタフェース

38 | * 39 | * @author M.Takata 40 | * @see RemoveOverflowActionService 41 | */ 42 | public interface RemoveOverflowActionServiceMBean extends ServiceBaseMBean{ 43 | } 44 | --------------------------------------------------------------------------------