feat: unmanaged baseEventDir

Signed-off-by: MiaoWoo <admin@yumc.pw>
This commit is contained in:
MiaoWoo 2020-02-26 10:36:30 +08:00
parent a9996ba297
commit e8d5d10d44

View File

@ -4,7 +4,7 @@
*/ */
import '@ms/core' import '@ms/core'
import '@ms/nashorn' import '@ms/nashorn'
import { injectable } from '@ms/container' import { injectable, unmanaged } from '@ms/container'
const Thread = Java.type('java.lang.Thread'); const Thread = Java.type('java.lang.Thread');
@ -25,7 +25,7 @@ export namespace event {
protected baseEventDir = ''; protected baseEventDir = '';
constructor(baseEventDir: string) { constructor(@unmanaged() baseEventDir: string) {
this.baseEventDir = baseEventDir; this.baseEventDir = baseEventDir;
} }