mirror of
https://github.com/LegacyModdingMC/UniMix.git
synced 2026-11-28 02:05:37 +00:00
More internal service refactoring
This commit is contained in:
1 parent
02ba7b73e1
commit
0d4300980d
7 files changed
+104
-32
No files matched your search
@@ -73,6 +73,14 @@ public interface IMixinService {
|
||||
*/
|
||||
public abstract void beginPhase();
|
||||
|
||||
/**
|
||||
* Check whether the supplied object is a valid boot source for mixin
|
||||
* environment
|
||||
*
|
||||
* @param bootSource boot source
|
||||
*/
|
||||
public abstract void checkEnv(Object bootSource);
|
||||
|
||||
/**
|
||||
* Get the transformer re-entrance lock for this service, the transformer
|
||||
* uses this lock to track transformer re-entrance when co-operative load
|
||||
@@ -80,21 +88,15 @@ public interface IMixinService {
|
||||
*/
|
||||
public abstract ReEntranceLock getReEntranceLock();
|
||||
|
||||
/**
|
||||
* Return the class provider for this service
|
||||
*/
|
||||
public abstract IClassProvider getClassProvider();
|
||||
|
||||
/**
|
||||
* Get additional platform agents for this service
|
||||
*/
|
||||
public abstract Collection<String> getPlatformAgents();
|
||||
|
||||
/**
|
||||
* Get the main classloader for this service
|
||||
*/
|
||||
public abstract ClassLoader getClassLoader();
|
||||
|
||||
/**
|
||||
* Get the application classloader for this service (usually the system
|
||||
* classloader)
|
||||
*/
|
||||
public abstract ClassLoader getApplicationClassLoader();
|
||||
|
||||
/**
|
||||
* Get a resource as a stream from the appropriate classloader, this is
|
||||
@@ -188,5 +190,5 @@ public interface IMixinService {
|
||||
* Get the detected side name for this environment
|
||||
*/
|
||||
public abstract String getSideName();
|
||||
|
||||
|
||||
}
|
||||
Reference in new issue
Block a user