More internal service refactoring

This commit is contained in:
Mumfrey committed 2017-10-09 16:36:48 +01:00
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();
}