public interface IInternalAccess
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
getArgument(java.lang.String name)
Deprecated.
From 3.0. Use getComponentFeature(IArgumentsResultsFeature.class).getArguments()
Get an argument value per name.
|
IFuture<IComponentIdentifier[]> |
getChildren(java.lang.String type)
Get the children (if any) component identifiers.
|
java.lang.ClassLoader |
getClassLoader()
Get the class loader of the component.
|
IComponentDescription |
getComponentDescription()
Get the component description.
|
<T> T |
getComponentFeature(java.lang.Class<? extends T> type)
Get a feature of the component.
|
<T> T |
getComponentFeature0(java.lang.Class<? extends T> type)
Get a feature of the component without throwing exception if not present.
|
IComponentIdentifier |
getComponentIdentifier()
Get the id of the component.
|
java.lang.String |
getConfiguration()
Get the configuration.
|
java.lang.Exception |
getException()
Get the exception, if any.
|
IExternalAccess |
getExternalAccess()
Get the external access.
|
IValueFetcher |
getFetcher()
Get the fetcher.
|
IInternalAccess |
getInternalAccess()
Deprecated.
From version 3.0 - replaced with internal access.
Get the internal access.
|
IInternalAccess |
getInterpreter()
Deprecated.
From 3.0. Use internal access.
|
java.util.logging.Logger |
getLogger()
Get the logger.
|
IModelInfo |
getModel()
Get the model of the component.
|
IParameterGuesser |
getParameterGuesser()
Get the parameter guesser.
|
<T> IFuture<T> |
getRequiredService(java.lang.String name)
Deprecated.
From version 3.0 - Use getComponentFeature(IRequiredServicesFeatures.class).getRequiredService()
Get a required service of a given name.
|
IInternalAccess |
getServiceContainer()
Deprecated.
From version 3.0 - replaced with internal access.
Get the service provider.
|
IInternalAccess |
getServiceProvider()
Deprecated.
From version 3.0 - replaced with internal access.
Get the service provider.
|
IFuture<java.util.Map<java.lang.String,java.lang.Object>> |
killComponent()
Kill the component.
|
IFuture<java.util.Map<java.lang.String,java.lang.Object>> |
killComponent(java.lang.Exception e)
Kill the component.
|
<T> IFuture<T> |
scheduleStep(IComponentStep<T> step)
Deprecated.
From version 3.0 - replaced with getComponentFeature(IExecutionFeature.class).scheduleStep()
Execute a component step.
|
<T> IFuture<T> |
waitForDelay(long delay,
IComponentStep<T> step)
Deprecated.
From version 3.0 - replaced with getComponentFeature(IExecutionFeature.class).scheduleStep()
Wait for some time and execute a component step afterwards.
|
IModelInfo getModel()
java.lang.String getConfiguration()
IComponentIdentifier getComponentIdentifier()
<T> T getComponentFeature(java.lang.Class<? extends T> type)
feature
- The type of the feature.<T> T getComponentFeature0(java.lang.Class<? extends T> type)
feature
- The type of the feature.IComponentDescription getComponentDescription()
IFuture<java.util.Map<java.lang.String,java.lang.Object>> killComponent()
IFuture<java.util.Map<java.lang.String,java.lang.Object>> killComponent(java.lang.Exception e)
e
- The failure reason, if any.IExternalAccess getExternalAccess()
java.util.logging.Logger getLogger()
IValueFetcher getFetcher()
IParameterGuesser getParameterGuesser()
java.lang.Object getArgument(java.lang.String name)
name
- The argument name.IInternalAccess getInterpreter()
IInternalAccess getServiceContainer()
IInternalAccess getServiceProvider()
IInternalAccess getInternalAccess()
<T> IFuture<T> getRequiredService(java.lang.String name)
name
- The service name.java.lang.ClassLoader getClassLoader()
<T> IFuture<T> scheduleStep(IComponentStep<T> step)
<T> IFuture<T> waitForDelay(long delay, IComponentStep<T> step)
IFuture<IComponentIdentifier[]> getChildren(java.lang.String type)
java.lang.Exception getException()