public interface IMixinService
| Modifier and Type | Method and Description |
|---|---|
void |
beginPhase()
Called whenever a new phase is started
|
void |
checkEnv(java.lang.Object bootSource)
Check whether the supplied object is a valid boot source for mixin
environment
|
IClassBytecodeProvider |
getBytecodeProvider()
Return the class bytecode provider for this service
|
IClassProvider |
getClassProvider()
Return the class provider for this service
|
java.lang.String |
getClassRestrictions(java.lang.String className)
Check whether the specified class name is subject to any restrictions in
the context of this service
|
MixinEnvironment.Phase |
getInitialPhase()
Get the initial subsystem phase
|
java.lang.String |
getName()
Get the friendly name for this service
|
java.util.Collection<java.lang.String> |
getPlatformAgents()
Get additional platform agents for this service
|
ReEntranceLock |
getReEntranceLock()
Get the transformer re-entrance lock for this service, the transformer
uses this lock to track transformer re-entrance when co-operative load
and transform is performed by the service.
|
java.io.InputStream |
getResourceAsStream(java.lang.String name)
Get a resource as a stream from the appropriate classloader, this is
delegated via the service so that the service can choose the correct
classloader from which to obtain the resource.
|
java.lang.String |
getSideName()
Get the detected side name for this environment
|
java.util.Collection<ITransformer> |
getTransformers()
Get currently available transformers in the environment
|
void |
init()
Called at the end of subsystem boot
|
boolean |
isClassLoaded(java.lang.String className)
Check whether the specified class was already loaded by the service
classloader
|
boolean |
isValid()
True if this service type is valid in the current environment
|
void |
prepare()
Called at subsystem boot
|
void |
registerInvalidClass(java.lang.String className)
Register an invalid class with the service classloader
|
java.lang.String getName()
boolean isValid()
void prepare()
MixinEnvironment.Phase getInitialPhase()
void init()
void beginPhase()
void checkEnv(java.lang.Object bootSource)
bootSource - boot sourceReEntranceLock getReEntranceLock()
IClassProvider getClassProvider()
IClassBytecodeProvider getBytecodeProvider()
java.util.Collection<java.lang.String> getPlatformAgents()
java.io.InputStream getResourceAsStream(java.lang.String name)
name - resource pathvoid registerInvalidClass(java.lang.String className)
className - invalid class nameboolean isClassLoaded(java.lang.String className)
className - class name to checkjava.lang.String getClassRestrictions(java.lang.String className)
className - class name to checkjava.util.Collection<ITransformer> getTransformers()
java.lang.String getSideName()