public class InternalAccessAdapter extends java.lang.Object implements IInternalAccess
Modifier and Type | Field and Description |
---|---|
protected IInternalAccess |
access
The delegate access.
|
Constructor and Description |
---|
InternalAccessAdapter(IInternalAccess access)
Create a new adapter.
|
Modifier and Type | Method and Description |
---|---|
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.
|
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.
|
java.util.logging.Logger |
getLogger()
Get the logger.
|
IModelInfo |
getModel()
Get the model of the component.
|
IParameterGuesser |
getParameterGuesser()
Get the parameter guesser.
|
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.
|
protected IInternalAccess access
public InternalAccessAdapter(IInternalAccess access)
public IModelInfo getModel()
getModel
in interface IInternalAccess
public java.lang.String getConfiguration()
getConfiguration
in interface IInternalAccess
public IComponentIdentifier getComponentIdentifier()
getComponentIdentifier
in interface IInternalAccess
public <T> T getComponentFeature(java.lang.Class<? extends T> type)
getComponentFeature
in interface IInternalAccess
feature
- The type of the feature.public <T> T getComponentFeature0(java.lang.Class<? extends T> type)
getComponentFeature0
in interface IInternalAccess
feature
- The type of the feature.public IComponentDescription getComponentDescription()
getComponentDescription
in interface IInternalAccess
public IFuture<java.util.Map<java.lang.String,java.lang.Object>> killComponent()
killComponent
in interface IInternalAccess
public IFuture<java.util.Map<java.lang.String,java.lang.Object>> killComponent(java.lang.Exception e)
killComponent
in interface IInternalAccess
e
- The failure reason, if any.public IExternalAccess getExternalAccess()
getExternalAccess
in interface IInternalAccess
public java.util.logging.Logger getLogger()
getLogger
in interface IInternalAccess
public IValueFetcher getFetcher()
getFetcher
in interface IInternalAccess
public IParameterGuesser getParameterGuesser()
getParameterGuesser
in interface IInternalAccess
public java.lang.ClassLoader getClassLoader()
getClassLoader
in interface IInternalAccess
public IFuture<IComponentIdentifier[]> getChildren(java.lang.String type)
getChildren
in interface IInternalAccess
public java.lang.Exception getException()
getException
in interface IInternalAccess