forked from alibaba/jvm-sandbox
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
luanjia
committed
Dec 27, 2018
1 parent
9f74182
commit 38f8c34
Showing
483 changed files
with
1,613 additions
and
1,483 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file removed
BIN
-11 KB
sandbox-agent/target/classes/com/alibaba/jvm/sandbox/agent/AgentLauncher.class
Binary file not shown.
Binary file removed
BIN
-3.74 KB
sandbox-agent/target/classes/com/alibaba/jvm/sandbox/agent/SandboxClassLoader.class
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
34 changes: 34 additions & 0 deletions
34
sandbox-api/src/main/java/com/alibaba/jvm/sandbox/api/annotation/Command.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
package com.alibaba.jvm.sandbox.api.annotation; | ||
|
||
import java.lang.annotation.Retention; | ||
import java.lang.annotation.Target; | ||
|
||
import static java.lang.annotation.ElementType.METHOD; | ||
import static java.lang.annotation.RetentionPolicy.RUNTIME; | ||
|
||
/** | ||
* 模块命令注解,拥有此注解的模块方法将能接收到从{@code sandbox.sh -d} 发出的命令 | ||
* <p> | ||
* 有这个注解的方法只能接收四类型的参数: | ||
* <ul> | ||
* <li>命令参数: {@code Map<String,String>}</li> | ||
* <li>命令参数: {@code Map<String,String[]>}</li> | ||
* <li>命令参数: {@code String}</li> | ||
* <li>文本输出: {@code PrintWriter}</li> | ||
* </ul> | ||
* | ||
* @author luanjia@taobao.com | ||
* @since {@code sandbox-api:1.2.0} | ||
*/ | ||
@Target(METHOD) | ||
@Retention(RUNTIME) | ||
public @interface Command { | ||
|
||
/** | ||
* 命令名称 | ||
* | ||
* @return 命令名称 | ||
*/ | ||
String value(); | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,6 +7,7 @@ | |
* | ||
* @author luanjia@taobao.com | ||
*/ | ||
@Deprecated | ||
public interface WebSocketAcceptor { | ||
|
||
/** | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,6 +7,7 @@ | |
* | ||
* @author luanjia@taobao.com | ||
*/ | ||
@Deprecated | ||
public interface WebSocketConnection { | ||
|
||
/** | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,6 +5,7 @@ | |
* | ||
* @author luanjia@taobao.com | ||
*/ | ||
@Deprecated | ||
public interface WebSocketConnectionListener { | ||
|
||
/** | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file removed
BIN
-165 Bytes
sandbox-api/target/classes/com/alibaba/jvm/sandbox/api/LoadCompleted.class
Binary file not shown.
Binary file removed
BIN
-346 Bytes
sandbox-api/target/classes/com/alibaba/jvm/sandbox/api/ModuleLifecycle.class
Binary file not shown.
Binary file removed
BIN
-1.33 KB
sandbox-api/target/classes/com/alibaba/jvm/sandbox/api/ProcessControlException$State.class
Binary file not shown.
Binary file removed
BIN
-1.71 KB
sandbox-api/target/classes/com/alibaba/jvm/sandbox/api/ProcessControlException.class
Binary file not shown.
Binary file removed
BIN
-1.83 KB
sandbox-api/target/classes/com/alibaba/jvm/sandbox/api/ProcessController.class
Binary file not shown.
Binary file removed
BIN
-461 Bytes
sandbox-api/target/classes/com/alibaba/jvm/sandbox/api/annotation/IncludeBootstrap.class
Binary file not shown.
Binary file removed
BIN
-463 Bytes
sandbox-api/target/classes/com/alibaba/jvm/sandbox/api/annotation/IncludeSubClasses.class
Binary file not shown.
Binary file removed
BIN
-443 Bytes
sandbox-api/target/classes/com/alibaba/jvm/sandbox/api/annotation/Stealth.class
Binary file not shown.
Binary file removed
BIN
-1.36 KB
sandbox-api/target/classes/com/alibaba/jvm/sandbox/api/event/BeforeEvent.class
Binary file not shown.
Binary file removed
BIN
-947 Bytes
sandbox-api/target/classes/com/alibaba/jvm/sandbox/api/event/CallBeforeEvent.class
Binary file not shown.
Binary file removed
BIN
-685 Bytes
sandbox-api/target/classes/com/alibaba/jvm/sandbox/api/event/CallReturnEvent.class
Binary file not shown.
Binary file removed
BIN
-778 Bytes
sandbox-api/target/classes/com/alibaba/jvm/sandbox/api/event/CallThrowsEvent.class
Binary file not shown.
Binary file removed
BIN
-1.54 KB
sandbox-api/target/classes/com/alibaba/jvm/sandbox/api/event/Event$Type.class
Binary file not shown.
Binary file removed
BIN
-545 Bytes
sandbox-api/target/classes/com/alibaba/jvm/sandbox/api/event/Event.class
Binary file not shown.
Binary file removed
BIN
-790 Bytes
sandbox-api/target/classes/com/alibaba/jvm/sandbox/api/event/ImmediatelyReturnEvent.class
Binary file not shown.
Binary file removed
BIN
-802 Bytes
sandbox-api/target/classes/com/alibaba/jvm/sandbox/api/event/ImmediatelyThrowsEvent.class
Binary file not shown.
Binary file removed
BIN
-709 Bytes
sandbox-api/target/classes/com/alibaba/jvm/sandbox/api/event/InvokeEvent.class
Binary file not shown.
Binary file removed
BIN
-711 Bytes
sandbox-api/target/classes/com/alibaba/jvm/sandbox/api/event/LineEvent.class
Binary file not shown.
Binary file removed
BIN
-1.28 KB
sandbox-api/target/classes/com/alibaba/jvm/sandbox/api/event/ReturnEvent.class
Binary file not shown.
Binary file removed
BIN
-1.31 KB
sandbox-api/target/classes/com/alibaba/jvm/sandbox/api/event/ThrowsEvent.class
Binary file not shown.
Binary file removed
BIN
-865 Bytes
sandbox-api/target/classes/com/alibaba/jvm/sandbox/api/filter/AccessFlags.class
Binary file not shown.
Binary file removed
BIN
-1.8 KB
...-api/target/classes/com/alibaba/jvm/sandbox/api/filter/ExtFilter$ExtFilterFactory$1.class
Binary file not shown.
Binary file removed
BIN
-1.34 KB
...ox-api/target/classes/com/alibaba/jvm/sandbox/api/filter/ExtFilter$ExtFilterFactory.class
Binary file not shown.
Binary file removed
BIN
-365 Bytes
sandbox-api/target/classes/com/alibaba/jvm/sandbox/api/filter/ExtFilter.class
Binary file not shown.
Binary file removed
BIN
-340 Bytes
sandbox-api/target/classes/com/alibaba/jvm/sandbox/api/filter/Filter.class
Binary file not shown.
Binary file removed
BIN
-1.26 KB
sandbox-api/target/classes/com/alibaba/jvm/sandbox/api/filter/NameRegexFilter.class
Binary file not shown.
Binary file removed
BIN
-2.02 KB
sandbox-api/target/classes/com/alibaba/jvm/sandbox/api/filter/OrGroupFilter.class
Binary file not shown.
Binary file removed
BIN
-1.13 KB
sandbox-api/target/classes/com/alibaba/jvm/sandbox/api/http/Http$Method.class
Binary file not shown.
Binary file removed
BIN
-685 Bytes
sandbox-api/target/classes/com/alibaba/jvm/sandbox/api/http/Http.class
Binary file not shown.
Binary file removed
BIN
-4.85 KB
...arget/classes/com/alibaba/jvm/sandbox/api/http/printer/ConcurrentLinkedQueuePrinter.class
Binary file not shown.
Binary file removed
BIN
-451 Bytes
sandbox-api/target/classes/com/alibaba/jvm/sandbox/api/http/printer/Printer.class
Binary file not shown.
Binary file removed
BIN
-284 Bytes
...x-api/target/classes/com/alibaba/jvm/sandbox/api/http/websocket/TextMessageListener.class
Binary file not shown.
Binary file removed
BIN
-311 Bytes
...box-api/target/classes/com/alibaba/jvm/sandbox/api/http/websocket/WebSocketAcceptor.class
Binary file not shown.
Binary file removed
BIN
-332 Bytes
...x-api/target/classes/com/alibaba/jvm/sandbox/api/http/websocket/WebSocketConnection.class
Binary file not shown.
Binary file removed
BIN
-308 Bytes
...rget/classes/com/alibaba/jvm/sandbox/api/http/websocket/WebSocketConnectionListener.class
Binary file not shown.
Binary file removed
BIN
-257 Bytes
sandbox-api/target/classes/com/alibaba/jvm/sandbox/api/listener/EventListener.class
Binary file not shown.
Binary file removed
BIN
-245 Bytes
sandbox-api/target/classes/com/alibaba/jvm/sandbox/api/listener/EventListenerFactory.class
Binary file not shown.
Binary file removed
BIN
-1.13 KB
sandbox-api/target/classes/com/alibaba/jvm/sandbox/api/listener/Sentry$1.class
Binary file not shown.
Binary file removed
BIN
-874 Bytes
sandbox-api/target/classes/com/alibaba/jvm/sandbox/api/listener/Sentry$WrapData.class
Binary file not shown.
Binary file removed
BIN
-2.23 KB
sandbox-api/target/classes/com/alibaba/jvm/sandbox/api/listener/Sentry.class
Binary file not shown.
Binary file removed
BIN
-1.23 KB
...x-api/target/classes/com/alibaba/jvm/sandbox/api/listener/ThreadSafeEventListener$1.class
Binary file not shown.
Binary file removed
BIN
-1.45 KB
...box-api/target/classes/com/alibaba/jvm/sandbox/api/listener/ThreadSafeEventListener.class
Binary file not shown.
Binary file removed
BIN
-4.9 KB
sandbox-api/target/classes/com/alibaba/jvm/sandbox/api/listener/ext/Advice.class
Binary file not shown.
Binary file removed
BIN
-1.27 KB
...api/target/classes/com/alibaba/jvm/sandbox/api/listener/ext/AdviceAdapterListener$1.class
Binary file not shown.
Binary file removed
BIN
-2.91 KB
...api/target/classes/com/alibaba/jvm/sandbox/api/listener/ext/AdviceAdapterListener$2.class
Binary file not shown.
Binary file removed
BIN
-1.24 KB
...api/target/classes/com/alibaba/jvm/sandbox/api/listener/ext/AdviceAdapterListener$3.class
Binary file not shown.
Binary file removed
BIN
-2.39 KB
...ses/com/alibaba/jvm/sandbox/api/listener/ext/AdviceAdapterListener$BehaviorCacheKey.class
Binary file not shown.
Binary file removed
BIN
-983 Bytes
...t/classes/com/alibaba/jvm/sandbox/api/listener/ext/AdviceAdapterListener$CallTarget.class
Binary file not shown.
Binary file removed
BIN
-2.53 KB
...rget/classes/com/alibaba/jvm/sandbox/api/listener/ext/AdviceAdapterListener$OpStack.class
Binary file not shown.
Binary file removed
BIN
-1.15 KB
...t/classes/com/alibaba/jvm/sandbox/api/listener/ext/AdviceAdapterListener$WrapAdvice.class
Binary file not shown.
Binary file removed
BIN
-9.43 KB
...x-api/target/classes/com/alibaba/jvm/sandbox/api/listener/ext/AdviceAdapterListener.class
Binary file not shown.
Binary file removed
BIN
-1.64 KB
sandbox-api/target/classes/com/alibaba/jvm/sandbox/api/listener/ext/AdviceListener.class
Binary file not shown.
Binary file removed
BIN
-277 Bytes
sandbox-api/target/classes/com/alibaba/jvm/sandbox/api/listener/ext/Attachment.class
Binary file not shown.
Binary file removed
BIN
-2.48 KB
...pi/target/classes/com/alibaba/jvm/sandbox/api/listener/ext/Behavior$ConstructorImpl.class
Binary file not shown.
Binary file removed
BIN
-2.28 KB
...box-api/target/classes/com/alibaba/jvm/sandbox/api/listener/ext/Behavior$MethodImpl.class
Binary file not shown.
Binary file removed
BIN
-1.02 KB
sandbox-api/target/classes/com/alibaba/jvm/sandbox/api/listener/ext/Behavior.class
Binary file not shown.
Binary file removed
BIN
-3.98 KB
...box-api/target/classes/com/alibaba/jvm/sandbox/api/listener/ext/EventWatchBuilder$1.class
Binary file not shown.
Binary file removed
BIN
-1.18 KB
...box-api/target/classes/com/alibaba/jvm/sandbox/api/listener/ext/EventWatchBuilder$2.class
Binary file not shown.
Binary file removed
BIN
-2.64 KB
...box-api/target/classes/com/alibaba/jvm/sandbox/api/listener/ext/EventWatchBuilder$3.class
Binary file not shown.
Binary file removed
BIN
-957 Bytes
...box-api/target/classes/com/alibaba/jvm/sandbox/api/listener/ext/EventWatchBuilder$4.class
Binary file not shown.
Binary file removed
BIN
-7.71 KB
...sses/com/alibaba/jvm/sandbox/api/listener/ext/EventWatchBuilder$BuildingForBehavior.class
Binary file not shown.
Binary file removed
BIN
-6.02 KB
...classes/com/alibaba/jvm/sandbox/api/listener/ext/EventWatchBuilder$BuildingForClass.class
Binary file not shown.
Binary file removed
BIN
-4.19 KB
...sses/com/alibaba/jvm/sandbox/api/listener/ext/EventWatchBuilder$BuildingForWatching.class
Binary file not shown.
Binary file removed
BIN
-2.07 KB
...api/target/classes/com/alibaba/jvm/sandbox/api/listener/ext/EventWatchBuilder$Group.class
Binary file not shown.
Binary file removed
BIN
-2.24 KB
...ses/com/alibaba/jvm/sandbox/api/listener/ext/EventWatchBuilder$IBuildingForBehavior.class
Binary file not shown.
Binary file removed
BIN
-1.4 KB
...lasses/com/alibaba/jvm/sandbox/api/listener/ext/EventWatchBuilder$IBuildingForClass.class
Binary file not shown.
Binary file removed
BIN
-654 Bytes
...s/com/alibaba/jvm/sandbox/api/listener/ext/EventWatchBuilder$IBuildingForUnWatching.class
Binary file not shown.
Binary file removed
BIN
-1.13 KB
...ses/com/alibaba/jvm/sandbox/api/listener/ext/EventWatchBuilder$IBuildingForWatching.class
Binary file not shown.
Binary file removed
BIN
-2.3 KB
...classes/com/alibaba/jvm/sandbox/api/listener/ext/EventWatchBuilder$PatternGroupList.class
Binary file not shown.
Binary file removed
BIN
-1.33 KB
...rget/classes/com/alibaba/jvm/sandbox/api/listener/ext/EventWatchBuilder$PatternType.class
Binary file not shown.
Binary file removed
BIN
-2.25 KB
...et/classes/com/alibaba/jvm/sandbox/api/listener/ext/EventWatchBuilder$ProgressGroup.class
Binary file not shown.
Binary file removed
BIN
-9.26 KB
sandbox-api/target/classes/com/alibaba/jvm/sandbox/api/listener/ext/EventWatchBuilder.class
Binary file not shown.
Binary file removed
BIN
-236 Bytes
...box-api/target/classes/com/alibaba/jvm/sandbox/api/listener/ext/EventWatchCondition.class
Binary file not shown.
Binary file removed
BIN
-382 Bytes
sandbox-api/target/classes/com/alibaba/jvm/sandbox/api/listener/ext/EventWatcher.class
Binary file not shown.
Binary file removed
BIN
-486 Bytes
...-api/target/classes/com/alibaba/jvm/sandbox/api/resource/EventMonitor$EventPoolInfo.class
Binary file not shown.
Binary file removed
BIN
-355 Bytes
sandbox-api/target/classes/com/alibaba/jvm/sandbox/api/resource/EventMonitor.class
Binary file not shown.
Binary file removed
BIN
-543 Bytes
sandbox-api/target/classes/com/alibaba/jvm/sandbox/api/resource/LoadedClassDataSource.class
Binary file not shown.
Binary file removed
BIN
-272 Bytes
sandbox-api/target/classes/com/alibaba/jvm/sandbox/api/resource/ModuleController.class
Binary file not shown.
Binary file removed
BIN
-438 Bytes
...api/target/classes/com/alibaba/jvm/sandbox/api/resource/ModuleEventWatcher$Progress.class
Binary file not shown.
Binary file removed
BIN
-355 Bytes
...arget/classes/com/alibaba/jvm/sandbox/api/resource/ModuleEventWatcher$WatchCallback.class
Binary file not shown.
Binary file removed
BIN
-1.82 KB
sandbox-api/target/classes/com/alibaba/jvm/sandbox/api/resource/ModuleEventWatcher.class
Binary file not shown.
Binary file removed
BIN
-803 Bytes
sandbox-api/target/classes/com/alibaba/jvm/sandbox/api/resource/ModuleManager.class
Binary file not shown.
Binary file removed
BIN
-5.69 KB
sandbox-api/target/classes/com/alibaba/jvm/sandbox/api/util/BehaviorDescriptor$Type.class
Binary file not shown.
Binary file removed
BIN
-1.24 KB
sandbox-api/target/classes/com/alibaba/jvm/sandbox/api/util/BehaviorDescriptor.class
Binary file not shown.
Binary file removed
BIN
-554 Bytes
...target/classes/com/alibaba/jvm/sandbox/api/util/CacheGet$CacheLoadUnCaughtException.class
Binary file not shown.
Binary file removed
BIN
-1.38 KB
sandbox-api/target/classes/com/alibaba/jvm/sandbox/api/util/CacheGet.class
Binary file not shown.
Binary file removed
BIN
-909 Bytes
sandbox-api/target/classes/com/alibaba/jvm/sandbox/api/util/GaArrayUtils.class
Binary file not shown.
Binary file removed
BIN
-783 Bytes
sandbox-api/target/classes/com/alibaba/jvm/sandbox/api/util/GaCollectionUtils.class
Binary file not shown.
Binary file removed
BIN
-2.43 KB
sandbox-api/target/classes/com/alibaba/jvm/sandbox/api/util/GaStringUtils.class
Binary file not shown.
Binary file removed
BIN
-1.43 KB
...api/target/test-classes/com/alibaba/jvm/sandbox/qatest/api/AdviceListenerTestCase$1.class
Binary file not shown.
Binary file removed
BIN
-3.06 KB
...x-api/target/test-classes/com/alibaba/jvm/sandbox/qatest/api/AdviceListenerTestCase.class
Binary file not shown.
Binary file removed
BIN
-5.97 KB
...pi/target/test-classes/com/alibaba/jvm/sandbox/qatest/api/EventWatchBuilderTestCase.class
Binary file not shown.
Binary file removed
BIN
-4.74 KB
...st-classes/com/alibaba/jvm/sandbox/qatest/api/mock/MockForBuilderModuleEventWatcher.class
Binary file not shown.
Binary file removed
BIN
-1.48 KB
.../target/test-classes/com/alibaba/jvm/sandbox/qatest/api/mock/MockForBuilderProgress.class
Binary file not shown.
Binary file removed
BIN
-813 Bytes
...box-api/target/test-classes/com/alibaba/jvm/sandbox/qatest/api/util/ApiQaArrayUtils.class
Binary file not shown.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.