Package jadex.bridge
Interface IInternalAccess
-
- All Superinterfaces:
IArgumentsResultsFeature
,IExecutionFeature
,IExternalAccess
,IExternalArgumentsResultsFeature
,IExternalComponentFeature
,IExternalExecutionFeature
,IExternalMonitoringComponentFeature
,IExternalNFPropertyComponentFeature
,IExternalProvidedServicesFeature
,IExternalRequiredServicesFeature
,IExternalSubcomponentsFeature
,IMonitoringComponentFeature
,INFPropertyComponentFeature
,IProvidedServicesFeature
,IRequiredServicesFeature
,ISubcomponentsFeature
- All Known Subinterfaces:
IBDIAgent
public interface IInternalAccess extends IExternalAccess, IExecutionFeature, IArgumentsResultsFeature, IProvidedServicesFeature, IRequiredServicesFeature, ISubcomponentsFeature, IMonitoringComponentFeature, INFPropertyComponentFeature
Common interface for all component types. Provides the user view of the component, i.e., methods the component can call on itself.
-
-
Field Summary
-
Fields inherited from interface jadex.bridge.component.IExecutionFeature
STEP_PRIORITY_IMMEDIATE, STEP_PRIORITY_NORMAL
-
Fields inherited from interface jadex.bridge.IExternalAccess
PLATFORM, PLATFORM_INTERNAL
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.Object
getArgument(java.lang.String name)
Get an argument value per name.java.lang.ClassLoader
getClassLoader()
Get the class loader 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.<T> T
getFeature(java.lang.Class<? extends T> type)
Get a feature of the component.<T> T
getFeature0(java.lang.Class<? extends T> type)
Get a feature of the component without throwing exception if not present.IValueFetcher
getFetcher()
Get the fetcher.IComponentIdentifier
getId()
Get the id of the component.java.util.logging.Logger
getLogger()
Get the logger.IModelInfo
getModel()
Get the model of the component.IParameterGuesser
getParameterGuesser()
Get the parameter guesser.-
Methods inherited from interface jadex.bridge.component.IArgumentsResultsFeature
getArguments, getResults
-
Methods inherited from interface jadex.bridge.component.IExecutionFeature
createResultListener, createResultListener, getDescription, isComponentThread
-
Methods inherited from interface jadex.bridge.IExternalAccess
getExternalFeature, getModelAsync
-
Methods inherited from interface jadex.bridge.component.IExternalArgumentsResultsFeature
getArgumentsAsync, getExceptionAsync, getResultsAsync, subscribeToResults
-
Methods inherited from interface jadex.bridge.component.IExternalExecutionFeature
getDescription, getDescriptionAsync, getDescriptions, getExternalAccess, getExternalAccessAsync, killComponent, killComponent, listenToAll, listenToComponent, repeatStep, repeatStep, resumeComponent, scheduleStep, scheduleStep, setComponentBreakpoints, stepComponent, suspendComponent, waitForDelay, waitForDelay, waitForDelay, waitForDelay, waitForTermination, waitForTick, waitForTick
-
Methods inherited from interface jadex.bridge.component.IExternalMonitoringComponentFeature
publishEvent, subscribeToEvents
-
Methods inherited from interface jadex.bridge.component.IExternalNFPropertyComponentFeature
addMethodNFProperty, addNFProperty, addNFProperty, addRequiredMethodNFProperty, addRequiredNFProperty, getMethodNFAllPropertyNames, getMethodNFPropertyMetaInfo, getMethodNFPropertyMetaInfos, getMethodNFPropertyMetaInfos, getMethodNFPropertyNames, getMethodNFPropertyPrettyPrintValue, getMethodNFPropertyValue, getMethodNFPropertyValue, getNFAllPropertyNames, getNFAllPropertyNames, getNFPropertyMetaInfo, getNFPropertyMetaInfo, getNFPropertyMetaInfos, getNFPropertyMetaInfos, getNFPropertyNames, getNFPropertyNames, getNFPropertyPrettyPrintValue, getNFPropertyPrettyPrintValue, getNFPropertyValue, getNFPropertyValue, getNFPropertyValue, getNFPropertyValue, getRequiredMethodNFAllPropertyNames, getRequiredMethodNFPropertyMetaInfo, getRequiredMethodNFPropertyMetaInfos, getRequiredMethodNFPropertyMetaInfos, getRequiredMethodNFPropertyNames, getRequiredMethodNFPropertyPrettyPrintValue, getRequiredMethodNFPropertyValue, getRequiredMethodNFPropertyValue, getRequiredNFAllPropertyNames, getRequiredNFPropertyMetaInfo, getRequiredNFPropertyMetaInfos, getRequiredNFPropertyNames, getRequiredNFPropertyPrettyPrintValue, getRequiredNFPropertyValue, getRequiredNFPropertyValue, removeMethodNFProperty, removeNFProperty, removeNFProperty, removeRequiredMethodNFProperty, removeRequiredNFProperty, shutdownNFPropertyProvider, shutdownNFPropertyProvider, shutdownRequiredNFPropertyProvider
-
Methods inherited from interface jadex.bridge.service.component.IExternalProvidedServicesFeature
addService, addService, addService, removeService, setTags
-
Methods inherited from interface jadex.bridge.service.component.IExternalRequiredServicesFeature
addQuery, searchService, searchServices
-
Methods inherited from interface jadex.bridge.component.IExternalSubcomponentsFeature
addComponent, createComponent, createComponents, createComponentWithEvents, getChildren, getFileName, getLocalTypeAsync, killComponents, searchComponents
-
Methods inherited from interface jadex.bridge.component.IMonitoringComponentFeature
hasEventTargets
-
Methods inherited from interface jadex.bridge.component.INFPropertyComponentFeature
getComponentPropertyProvider, getProvidedServicePropertyProvider, getRequiredServicePropertyProvider, hasRequiredServicePropertyProvider
-
Methods inherited from interface jadex.bridge.service.component.IProvidedServicesFeature
addInterceptor, addMethodInvocationListener, getInterceptors, getProvidedService, getProvidedService, getProvidedService, getProvidedServiceRawImpl, getProvidedServiceRawImpl, getProvidedServiceRawImpl, getProvidedServices, hasMethodListeners, notifyMethodListeners, removeInterceptor, removeMethodInvocationListener
-
Methods inherited from interface jadex.bridge.service.component.IRequiredServicesFeature
addQuery, addQuery, addQuery, getLocalService, getLocalService, getLocalService0, getLocalServices, getLocalServices, getService, getService, getServices, getServices, searchLocalService, searchLocalServices, searchService
-
Methods inherited from interface jadex.bridge.component.ISubcomponentsFeature
getChildcount, getComponentFilename, getLocalType
-
-
-
-
Method Detail
-
getModel
IModelInfo getModel()
Get the model of the component.- Returns:
- The model.
-
getId
IComponentIdentifier getId()
Get the id of the component.- Specified by:
getId
in interfaceIExternalAccess
- Returns:
- The component id.
-
getConfiguration
java.lang.String getConfiguration()
Get the configuration.- Returns:
- The configuration.
-
getFeature
<T> T getFeature(java.lang.Class<? extends T> type)
Get a feature of the component.- Parameters:
feature
- The type of the feature.- Returns:
- The feature instance.
-
getFeature0
<T> T getFeature0(java.lang.Class<? extends T> type)
Get a feature of the component without throwing exception if not present.- Parameters:
feature
- The type of the feature.- Returns:
- The feature instance.
-
getExternalAccess
IExternalAccess getExternalAccess()
Get the external access.- Returns:
- The external access.
-
getLogger
java.util.logging.Logger getLogger()
Get the logger.- Returns:
- The logger.
-
getFetcher
IValueFetcher getFetcher()
Get the fetcher.- Returns:
- The fetcher.
-
getParameterGuesser
IParameterGuesser getParameterGuesser()
Get the parameter guesser.- Returns:
- The parameter guesser.
-
getArgument
java.lang.Object getArgument(java.lang.String name)
Get an argument value per name.- Parameters:
name
- The argument name.- Returns:
- The argument value.
-
getClassLoader
java.lang.ClassLoader getClassLoader()
Get the class loader of the component.
-
getException
java.lang.Exception getException()
Get the exception, if any.- Returns:
- The failure reason for use during cleanup, if any.
-
-