Interface IbisManager
-
- All Superinterfaces:
org.springframework.context.ApplicationContextAware
,org.springframework.context.ApplicationEventPublisherAware
,org.springframework.beans.factory.Aware
- All Known Implementing Classes:
DefaultIbisManager
public interface IbisManager extends org.springframework.context.ApplicationEventPublisherAware, org.springframework.context.ApplicationContextAware
An IBIS Manager gives various methods for the control of an IBIS instance. A specific implementation of the interface should be retrieved from the Spring Beans Factory.- Since:
- 4.8
- Author:
- Tim van der Leeuw
-
-
Field Summary
Fields Modifier and Type Field Description static String
ALL_CONFIGS_KEY
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description void
addConfiguration(Configuration configuration)
org.springframework.context.ApplicationContext
getApplicationContext()
org.springframework.context.ApplicationEventPublisher
getApplicationEventPublisher()
Configuration
getConfiguration(String configurationName)
List<Configuration>
getConfigurations()
IbisContext
getIbisContext()
Adapter
getRegisteredAdapter(String name)
Deprecated.List<Adapter>
getRegisteredAdapters()
Deprecated.void
handleAction(IbisAction action, String configurationName, String adapterName, String receiverName, String commandIssuedBy, boolean isAdmin)
Utility function to give commands to Adapters and Receiversvoid
setIbisContext(IbisContext ibisContext)
void
shutdown()
Shut down the IBIS instance.void
unload(String configurationName)
Unload specified configuration.
-
-
-
Field Detail
-
ALL_CONFIGS_KEY
static final String ALL_CONFIGS_KEY
- See Also:
- Constant Field Values
-
-
Method Detail
-
setIbisContext
void setIbisContext(IbisContext ibisContext)
-
getIbisContext
IbisContext getIbisContext()
-
getApplicationContext
org.springframework.context.ApplicationContext getApplicationContext()
-
addConfiguration
void addConfiguration(Configuration configuration)
-
getConfigurations
List<Configuration> getConfigurations()
-
getConfiguration
Configuration getConfiguration(String configurationName)
-
handleAction
void handleAction(IbisAction action, String configurationName, String adapterName, String receiverName, String commandIssuedBy, boolean isAdmin)
Utility function to give commands to Adapters and Receivers
-
unload
void unload(String configurationName)
Unload specified configuration.
-
shutdown
void shutdown()
Shut down the IBIS instance. After execution of this method, the IBIS instance is not usable anymore: it will need to be recreated.
-
getRegisteredAdapter
@Deprecated Adapter getRegisteredAdapter(String name)
Deprecated.
-
getRegisteredAdapters
@Deprecated List<Adapter> getRegisteredAdapters()
Deprecated.
-
getApplicationEventPublisher
org.springframework.context.ApplicationEventPublisher getApplicationEventPublisher()
-
-