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
|
IMixinAuditTrail |
getAuditTrail()
Return the audit trail for this service.
|
IClassBytecodeProvider |
getBytecodeProvider()
Return the class bytecode provider for this service.
|
IClassProvider |
getClassProvider()
Return the class provider for this service.
|
IClassTracker |
getClassTracker()
Return the class tracker for this service.
|
MixinEnvironment.Phase |
getInitialPhase()
Get the initial subsystem phase
|
MixinEnvironment.CompatibilityLevel |
getMaxCompatibilityLevel()
Get the maximum compatibility level supported by this service.
|
MixinEnvironment.CompatibilityLevel |
getMinCompatibilityLevel()
Get the minimum compatibility level supported by this service.
|
java.util.Collection<IContainerHandle> |
getMixinContainers()
Get a collection of containers in the current environment which contain
mixins we should process
|
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
|
IContainerHandle |
getPrimaryContainer()
Get the primary container for the current environment, this is usually
the container which contains the Mixin classes but can be another type
of container as required by the environment
|
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
|
ITransformerProvider |
getTransformerProvider()
Return the transformer provider for this service.
|
void |
init()
Called at the end of subsystem boot
|
boolean |
isValid()
True if this service type is valid in the current environment
|
void |
prepare()
Called at subsystem boot
|
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()
ITransformerProvider getTransformerProvider()
IClassTracker getClassTracker()
IMixinAuditTrail getAuditTrail()
java.util.Collection<java.lang.String> getPlatformAgents()
IContainerHandle getPrimaryContainer()
java.util.Collection<IContainerHandle> getMixinContainers()
java.io.InputStream getResourceAsStream(java.lang.String name)
name - resource pathjava.lang.String getSideName()
MixinEnvironment.CompatibilityLevel getMinCompatibilityLevel()
MixinEnvironment.CompatibilityLevel or nullMixinEnvironment.CompatibilityLevel getMaxCompatibilityLevel()
MixinEnvironment.CompatibilityLevel or null