|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.neeve.root.RootObject
com.neeve.aep.AepEngineDescriptor
public final class AepEngineDescriptor
An AEP engine descriptor.
This class configures an AEP engine instance and supplies methods to persist descriptors in platform configuration respositories.
Nested Class Summary | |
---|---|
static class |
AepEngineDescriptor.ChannelConfig
Class describing configuration information for an AEP engine's channel. |
Field Summary | |
---|---|
static int |
CLUSTER_HEARTBEAT_INTERVAL_DEFAULT
Cluster heartbeat interval default |
static String |
GLOBAL_CHANNEL_BUS_NAME
Name of bus used to hold global channels |
Method Summary | |
---|---|
AepEngineDescriptor |
addBus(String busName)
Add a bus to an engine's list of buses. |
AepEngineDescriptor |
addChannel(String channelDescriptor)
Add a channel to an engine's list of channels. |
AepEngineDescriptor |
addChannel(String channelName,
AepEngineDescriptor.ChannelConfig channelConfig)
Add a global channel to an engine's list of channels. |
AepEngineDescriptor |
addChannel(String busName,
String channelName,
AepEngineDescriptor.ChannelConfig channelConfig)
Add a bus specific channel to an engine's list of channels. |
AepEngineDescriptor |
clearBusManagerProperties(String busName)
Clear a bus manager's configuration properties |
AepEngineDescriptor |
clearBusManagerProperty(String busName,
String propName)
Clear a bus manager's configuration property |
AepEngineDescriptor |
clearEventMultiplexerProperty(String name)
Clear an engine's event multiplexer property. |
AepEngineDescriptor |
clearInboundMessageLoggingProperty(String name)
Clear an engine's inbound message logging property. |
AepEngineDescriptor |
clearOutboundMessageLoggingProperty(String name)
Clear an engine's outbound message logging property. |
static AepEngineDescriptor |
create(String name)
Create a default AEP engine descriptor. |
void |
delete()
Delete an AEP engine descriptor from the default configuration repository. |
void |
delete(IConfigRepository repo)
Delete an AEP engine descriptor from a configuration repository. |
static boolean |
exists(IConfigRepository repo,
String name)
Checks if an AEP engine is configured in a configuration repository. |
static boolean |
exists(String name)
Checks if an AEP engine is configured in the default configuration repository |
int |
getAdaptiveCommitBatchCeiling()
Get an engine's adaptive commit batch ceiling. |
boolean |
getAdministrative()
Get whether an engine is an administrative enginel |
AepEngine.AppExceptionHandlingPolicy |
getAppExceptionHandlingPolicy()
Get an engine's application exception handling policy. |
Set<String> |
getBuses()
Get an engine's bus list. |
Properties |
getBusManagerProperties(String busName)
Get a bus manager's configuration properties |
Set<String> |
getBusManagersWithConfiguration()
Get the set of bus names that have been configured |
AepEngineDescriptor.ChannelConfig |
getChannelConfig(String busName,
String channelName)
Get an engine's channel configuration |
Map<String,AepEngineDescriptor.ChannelConfig> |
getChannels(String busName)
Get an engine's channel list. |
int |
getClusterHeartbeatInterval()
Get the cluster heartbeat interval |
boolean |
getDispatchTransactionStageEvents()
Get whether an engine will dispatch transaction stage events. |
boolean |
getDisposeOnSend()
Get whether AepEngine.sendMessage(com.neeve.sma.MessageChannel, com.neeve.rog.IRogMessage, java.util.Properties) disposes sent messages. |
boolean |
getEnableTransactionCommitSuspension()
Get whether transaction commit suspension is enabled in an engine. |
Properties |
getEventMultiplexerProperties()
Get the set of event multiplexer properties. |
String |
getEventMultiplexerProperty(String name)
Get an engine's event multiplexer property. |
AepEngine.EventMultiplexerType |
getEventMultiplexerType()
Get an engine's event multiplexer type. |
AepEngine.HAPolicy |
getHAPolicy()
Get an engine's HA policy. |
AepEngine.InboundMessageLoggingPolicy |
getInboundMessageLoggingPolicy()
Get an engine's message inbound message logging policy. |
Properties |
getInboundMessageLoggingProperties()
Get the set of inbound message logging properties. |
String |
getInboundMessageLoggingProperty(String name)
Get an engine's inbound message logging property. |
AepEngine.MessageBusBindingFailPolicy |
getMessageBusBindingFailPolicy()
Get an engine's message bus binding fail policy. |
AepEngine.MessageHandlingPolicy |
getMessageHandlingPolicy()
Get an engine's message handling policy. |
AepEngine.MessageSendExceptionHandlingPolicy |
getMessageSendExceptionHandlingPolicy()
Get an engine's message send exception handling policy. |
AepEngine.MessageSendPolicy |
getMessageSendPolicy()
Get an engine's message send policy. |
AepEngine.MessagingStartFailPolicy |
getMessagingStartFailPolicy()
Get an engine's messaging start fail policy. |
String |
getName()
Get the name of the AEP engine that this descriptor describes. |
AepEngine.OutboundMessageLoggingPolicy |
getOutboundMessageLoggingPolicy()
Get an engine's message outbound message logging policy. |
Properties |
getOutboundMessageLoggingProperties()
Get the set of outbound message logging properties. |
String |
getOutboundMessageLoggingProperty(String name)
Get an engine's outbound message logging property. |
String |
getQuarantineChannel()
Get an engine's quarantine channel |
String |
getQuarantineMessageKey()
Get an engine's quarantine message key. |
boolean |
getReplicateSolicitedSends()
Get whether to replicate solicited sends. |
boolean |
getReplicateUnsolicitedSends()
Get whether to replicate unsolicited sends. |
AepEngine.ReplicationPolicy |
getReplicationPolicy()
Get an engine's replication policy. |
boolean |
getSequenceUnsolicitedSends()
Get whether unsolicited sends are sequenced. |
boolean |
getSequenceUnsolicitedWithSolicitedSends()
Get whether unsolicited sends are sequenced with solicited sends. |
String |
getStore()
Get the name of an engine's ODS store. |
int |
getStuckAlertEventThreshold()
Get's the engine stuck alert event threshold. |
static AepEngineDescriptor |
load(IConfigRepository repo,
String name)
Create an AEP engine descriptor from a configuration repository. |
static AepEngineDescriptor |
load(String name)
Create an AEP engine from the default configuration repository. |
static Set<AepEngineDescriptor> |
loadAll()
Create descriptors for all AEP engines in the default configuration repository. |
static Set<AepEngineDescriptor> |
loadAll(IConfigRepository repo)
Create descriptors for all AEP engines in a configuration repository. |
AepEngineDescriptor |
removeBus(String busName)
Remove a bus from an engine's list of buses. |
AepEngineDescriptor |
removeChannel(String channelDescriptor)
Remove a channel from an engine's list of channels. |
AepEngineDescriptor |
removeChannel(String busName,
String channelName)
Remove a bus specific channel from an engine's list of channels. |
void |
save()
Save an AEP engine descriptor to the default configuration repository. |
void |
save(IConfigRepository repo)
Save a AEP engine descriptor to a configuration repository. |
AepEngineDescriptor |
setAdaptiveCommitBatchCeiling(int val)
Set the adaptive commit batch ceiling. |
AepEngineDescriptor |
setAdministrative(boolean val)
Set whether an engine is an administrative engine. |
AepEngineDescriptor |
setAppExceptionHandlingPolicy(AepEngine.AppExceptionHandlingPolicy val)
Set an engine's application exception handling policy. |
AepEngineDescriptor |
setBusManagerProperties(String busName,
Properties properties)
Set a bus manager's configuration properties |
String |
setBusManagerProperty(String busName,
String propName)
Get a bus manager's configuration property |
AepEngineDescriptor |
setBusManagerProperty(String busName,
String propName,
String propVal)
Set a bus manager's configuration property |
AepEngineDescriptor |
setClusterHeartbeatInterval(int val)
Set the cluster heartbeat interval. |
AepEngineDescriptor |
setDispatchTransactionStageEvents(boolean val)
Set whether transaction stage events should dispatched. |
AepEngineDescriptor |
setDisposeOnSend(boolean val)
Set whether to automatically dispose sent messages. |
AepEngineDescriptor |
setEnableTransactionCommitSuspension(boolean val)
Set whether transaction commit suspension is enabled or disabled. |
AepEngineDescriptor |
setEventMultiplexerProperties(Properties val)
Set the set of event multiplexer properties. |
AepEngineDescriptor |
setEventMultiplexerProperty(String name,
String val)
Set an engine's event multiplexer property. |
AepEngineDescriptor |
setEventMultiplexerType(AepEngine.EventMultiplexerType val)
Set an engine's event multiplexer type. |
AepEngineDescriptor |
setHAPolicy(AepEngine.HAPolicy val)
Set an engine's HA policy. |
AepEngineDescriptor |
setInboundMessageLoggingPolicy(AepEngine.InboundMessageLoggingPolicy val)
Set an engine's inbound message logging policy. |
AepEngineDescriptor |
setInboundMessageLoggingProperties(Properties val)
Set the set of inbound message logging properties. |
AepEngineDescriptor |
setInboundMessageLoggingProperty(String name,
String val)
Set an engine's inbound message logging property. |
AepEngineDescriptor |
setMessageBusBindingFailPolicy(AepEngine.MessageBusBindingFailPolicy val)
Set an engine's message bus binding fail policy. |
AepEngineDescriptor |
setMessageHandlingPolicy(AepEngine.MessageHandlingPolicy val)
Set an engine's message handling policy. |
AepEngineDescriptor |
setMessageSendExceptionHandlingPolicy(AepEngine.MessageSendExceptionHandlingPolicy val)
Set an engine's message send exception handling policy. |
AepEngineDescriptor |
setMessageSendPolicy(AepEngine.MessageSendPolicy val)
Set an engine's message send policy. |
AepEngineDescriptor |
setMessagingStartFailPolicy(AepEngine.MessagingStartFailPolicy val)
Set an engine's messaging start fail policy. |
AepEngineDescriptor |
setOutboundMessageLoggingPolicy(AepEngine.OutboundMessageLoggingPolicy val)
Set an engine's outbound message logging policy. |
AepEngineDescriptor |
setOutboundMessageLoggingProperties(Properties val)
Set the set of outbound message logging properties. |
AepEngineDescriptor |
setOutboundMessageLoggingProperty(String name,
String val)
Set an engine's outbound message logging property. |
AepEngineDescriptor |
setQuarantineChannel(String val)
Set an engine's quarantine channel. |
AepEngineDescriptor |
setQuarantineMessageKey(String val)
Set an engine's quarantine message key. |
AepEngineDescriptor |
setReplicateSolicitedSends(boolean val)
Set whether to replicate solicited sends. |
AepEngineDescriptor |
setReplicateUnsolicitedSends(boolean val)
Set whether to replicate unsolicited sends. |
AepEngineDescriptor |
setReplicationPolicy(AepEngine.ReplicationPolicy val)
Set an engine's replication policy. |
AepEngineDescriptor |
setSequenceUnsolicitedSends(boolean val)
Set whether to sequence unsolicited sends. |
AepEngineDescriptor |
setSequenceUnsolicitedWithSolicitedSends(boolean val)
Set whether to sequence unsolicited sends with solicited sends. |
AepEngineDescriptor |
setStore(String storeName)
Set the name of an engine's ODS store. |
AepEngineDescriptor |
setStuckAlertEventThreshold(int thresholdSeconds)
Defines the threshold, in seconds, after which an AepStuckAlertEvent is dispatched to the application's IAepAsynchronousEventHandler . |
String |
toString()
Return the string representation of an engine descriptor |
Methods inherited from class com.neeve.root.RootObject |
---|
getChecked, getThreaded, getTracer, setChecked, setTracer |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final int CLUSTER_HEARTBEAT_INTERVAL_DEFAULT
public static final String GLOBAL_CHANNEL_BUS_NAME
Method Detail |
---|
public final String getName()
public final AepEngineDescriptor addBus(String busName)
busName
- The bus to add.
public final AepEngineDescriptor setBusManagerProperty(String busName, String propName, String propVal)
busName
- The bus manager to configure.propName
- The property to set.propVal
- The property value.
public final String setBusManagerProperty(String busName, String propName)
busName
- The bus manager to configure.propName
- The property to set.
public final AepEngineDescriptor clearBusManagerProperty(String busName, String propName)
busName
- The bus manager to configure.propName
- The property to set.
public final AepEngineDescriptor setBusManagerProperties(String busName, Properties properties)
busName
- The bus manager to configure.
public final Properties getBusManagerProperties(String busName)
busName
- The bus manager whose configuration to return.public final AepEngineDescriptor clearBusManagerProperties(String busName)
busName
- The bus manager whose configuration to clear.
public final Set<String> getBusManagersWithConfiguration()
public final AepEngineDescriptor removeBus(String busName)
busName
- The bus to add.
public final AepEngineDescriptor addChannel(String channelName, AepEngineDescriptor.ChannelConfig channelConfig)
channelName
- The channel to add.channelConfig
- The channel configuration object.
This method will add a global channel to the engine's list of channels. A global channel is one that is processed for each of the buses configured for the application except the engine's internal buses.
public final AepEngineDescriptor addChannel(String busName, String channelName, AepEngineDescriptor.ChannelConfig channelConfig)
busName
- The bus to which the channel belongs.channelName
- The channel to add.channelConfig
- The channel configuration object.
This method will add a bus specific channel to the engine's list of channels. A bus specific channel is one that is processed only for the specified bus when the engine starts messaging.
public final AepEngineDescriptor removeChannel(String busName, String channelName)
busName
- The bus to which the channel belongs.channelName
- The channel to remove.Note: If all channels are removed from a bus, the bus is also effectively removed from the descriptor i.e. the bus will not be joined by the engine. If the intent is to keep the bus around and just remove the channels, then the bus needs to be explictly added again after the remove.
public final AepEngineDescriptor addChannel(String channelDescriptor)
channelDescriptor
- Specifies the channel to be added. This must
be of the form public final AepEngineDescriptor removeChannel(String channelDescriptor)
channelDescriptor
- Specifies the channel to be removed. This must
be of the form public final Set<String> getBuses()
This method returns the list of buses for which the engine has channels configured to join.
public final Map<String,AepEngineDescriptor.ChannelConfig> getChannels(String busName)
busName
- The bus for which the channels are to be retrieved.This method returns the list of channels within a specified bus that an engine is configured to join. A return value of null indicates that the engine is not configured to join any of the channels in the specified bus.
public final AepEngineDescriptor.ChannelConfig getChannelConfig(String busName, String channelName)
public final AepEngineDescriptor setStore(String storeName)
storeName
- The name of the store. A store of this name should
exist in the default repository at runtime from where the AEP engine
using this descriptor will load the store descriptor.public final String getStore()
public final AepEngineDescriptor setHAPolicy(AepEngine.HAPolicy val)
val
- The HA policy to set.
public final AepEngine.HAPolicy getHAPolicy()
public final AepEngineDescriptor setReplicationPolicy(AepEngine.ReplicationPolicy val)
val
- The replication policy to set.
public final AepEngine.ReplicationPolicy getReplicationPolicy()
public final AepEngineDescriptor setMessagingStartFailPolicy(AepEngine.MessagingStartFailPolicy val)
val
- The policy to set.
public final AepEngine.MessagingStartFailPolicy getMessagingStartFailPolicy()
public final AepEngineDescriptor setMessageBusBindingFailPolicy(AepEngine.MessageBusBindingFailPolicy val)
val
- The policy to set.
public final AepEngine.MessageBusBindingFailPolicy getMessageBusBindingFailPolicy()
public final AepEngineDescriptor setInboundMessageLoggingPolicy(AepEngine.InboundMessageLoggingPolicy val)
val
- The policy to set.
public final AepEngine.InboundMessageLoggingPolicy getInboundMessageLoggingPolicy()
public final AepEngineDescriptor setInboundMessageLoggingProperty(String name, String val)
name
- The name of the property to set.val
- The property value.
public final String getInboundMessageLoggingProperty(String name)
name
- The property name
public final AepEngineDescriptor clearInboundMessageLoggingProperty(String name)
name
- The name of the property to clear.
public final AepEngineDescriptor setInboundMessageLoggingProperties(Properties val)
val
- The property tablepublic final Properties getInboundMessageLoggingProperties()
public final AepEngineDescriptor setOutboundMessageLoggingPolicy(AepEngine.OutboundMessageLoggingPolicy val)
val
- The policy to set.
public final AepEngine.OutboundMessageLoggingPolicy getOutboundMessageLoggingPolicy()
public final AepEngineDescriptor setOutboundMessageLoggingProperty(String name, String val)
name
- The name of the property to set.val
- The property value.
public final String getOutboundMessageLoggingProperty(String name)
name
- The property name
public final AepEngineDescriptor clearOutboundMessageLoggingProperty(String name)
name
- The name of the property to clear.
public final AepEngineDescriptor setOutboundMessageLoggingProperties(Properties val)
val
- The property tablepublic final Properties getOutboundMessageLoggingProperties()
public final AepEngineDescriptor setMessageHandlingPolicy(AepEngine.MessageHandlingPolicy val)
val
- The policy to set.
Note: The message handling policy is for internal testing purposes only. An application should never have any need to change it
public final AepEngine.MessageHandlingPolicy getMessageHandlingPolicy()
public final AepEngineDescriptor setMessageSendPolicy(AepEngine.MessageSendPolicy val)
val
- The policy to set.
public final AepEngine.MessageSendPolicy getMessageSendPolicy()
public final AepEngineDescriptor setAppExceptionHandlingPolicy(AepEngine.AppExceptionHandlingPolicy val)
val
- The policy to set.
public final AepEngine.AppExceptionHandlingPolicy getAppExceptionHandlingPolicy()
public final AepEngineDescriptor setMessageSendExceptionHandlingPolicy(AepEngine.MessageSendExceptionHandlingPolicy val)
val
- The policy to set.
public final AepEngine.MessageSendExceptionHandlingPolicy getMessageSendExceptionHandlingPolicy()
public final AepEngineDescriptor setEventMultiplexerType(AepEngine.EventMultiplexerType val)
val
- The type to set.
public final AepEngine.EventMultiplexerType getEventMultiplexerType()
public final AepEngineDescriptor setEventMultiplexerProperty(String name, String val)
name
- The name of the property to set.val
- The property value.
public final String getEventMultiplexerProperty(String name)
name
- The property name
public final AepEngineDescriptor clearEventMultiplexerProperty(String name)
name
- The name of the property to clear.
public final AepEngineDescriptor setEventMultiplexerProperties(Properties val)
val
- The property tablepublic final Properties getEventMultiplexerProperties()
public final AepEngineDescriptor setAdaptiveCommitBatchCeiling(int val)
val
- The ceiling to set. A value <=0 disables adaptive commit
batch sizing.
public final int getAdaptiveCommitBatchCeiling()
public final AepEngineDescriptor setDispatchTransactionStageEvents(boolean val)
val
- The value to set.
public final boolean getDispatchTransactionStageEvents()
public final AepEngineDescriptor setEnableTransactionCommitSuspension(boolean val)
val
- The value to set.
public final boolean getEnableTransactionCommitSuspension()
public final AepEngineDescriptor setReplicateSolicitedSends(boolean val)
val
- The value to set.
This parameter governs whether solicited sends (sends triggered by the processing of inbound messages) performed on clustered State Replication engines will be replicated or not. This setting has not effect on Event Sourced engines or engines that are not clustered.
Note: This parameter should be changed with extreme caution. The act of disabling replication of outbound messages will likely result in a loss of outbound messages in the event of a fail over.
This parameter is only applicable to State Replicated engines. The default value for this parameter is true.
public final boolean getReplicateSolicitedSends()
public final AepEngineDescriptor setReplicateUnsolicitedSends(boolean val)
val
- The value to set.
This parameter governs whether unsolicited sends performed on clustered State Replication engines will be replicated or not. This setting has not effect on Event Sourced engines or engines that are not clustered.
This parameter is only applicable to State Replicated engines. The default value for this parameter is false.
public final boolean getReplicateUnsolicitedSends()
public final AepEngineDescriptor setSequenceUnsolicitedSends(boolean val)
val
- The value to set.
By default, unsolicited sends are sent with a sequence number of 0. Specifying true in this parameter will cause sequence numbers to be attached to unsolicited sends too.
Note: Be careful about attaching sequence numbers to unsolicited sends especially if the application is going to be doing both unsolicited and solicited sends concurrently since that can cause messages to be sent on the wire in a sequence different from the sequence in which sequence numbers were assigned to the message thus causing legitimate messages to be dropped due to incorrect duplicate determination. For such applications, use sequenceSolicitedWithUnsolicitedSends instead to ensure that not only are unsolicited sends sequenced but that they are also correctly sequenced vis-a-vis solicited sends.
The default value for this parameter is false.
public final boolean getSequenceUnsolicitedSends()
public final AepEngineDescriptor setClusterHeartbeatInterval(int val)
val
- The interval
The default value for this parameter is CLUSTER_HEARTBEAT_INTERVAL_DEFAULT
.
public final int getClusterHeartbeatInterval()
public final AepEngineDescriptor setSequenceUnsolicitedWithSolicitedSends(boolean val)
val
- The value to set.
This parameter is applicable for applications performing concurrent solicited and unsolicited sends and want the unsolicited sends to be sequenced. Setting this parameter ensures that unsolicited and solicited sends are sequenced on the wire in the same order in which the sequence numbers were attached to the messages.
The default value for this parameter is false.
public final boolean getSequenceUnsolicitedWithSolicitedSends()
public final AepEngineDescriptor setDisposeOnSend(boolean val)
val
- The value to set.
If set, then the AepEngine.sendMessage(com.neeve.sma.MessageChannel, com.neeve.rog.IRogMessage, java.util.Properties)
method will dispose
a message after it has been sent. This means that the caller must
not hold onto or reference a message beyond the call to the send
message method.
The default value for this parameter is false.
public final boolean getDisposeOnSend()
AepEngine.sendMessage(com.neeve.sma.MessageChannel, com.neeve.rog.IRogMessage, java.util.Properties)
disposes sent messages.
public final AepEngineDescriptor setQuarantineChannel(String val)
val
- The channel name to set as the quarantine channel.
This method sets the channel on which quarantined messages are transmitted.
This applies when the application throws an exception and the application
exception policy is configured to be 'quarantine and stop' i.e.
(AepEngine.AppExceptionHandlingPolicy.QuarantineAndStop
)
public final String getQuarantineChannel()
public final AepEngineDescriptor setQuarantineMessageKey(String val)
val
- The channel name to set as the quarantine channel.
This method is used to explicitly set the message key to be associated with outbound quarantine messages. If the key is set using this method, the sending of the quarantine message will bypass the dynamic key resolution machinery.
public final String getQuarantineMessageKey()
public final AepEngineDescriptor setAdministrative(boolean val)
Engines designated as administratibve engines are not subject to auto performance tuning.
public final boolean getAdministrative()
public final AepEngineDescriptor setStuckAlertEventThreshold(int thresholdSeconds)
IAepAsynchronousEventHandler
.
An AepStuckAlertEvent event is intended to alert that the engine's transaction pipeline is "stuck" i.e. there are one or more transaction commits in the pipeline and the event multiplexer thread is not processing any events. For example, the event multiplexer thread could be flow controlled on the replication TCP connection due to an issue in the backup or could be spinning in a loop in the business logic due to a bug in a business logic handler. This event triggered by the AEP engine under the following conditions:
thresholdSeconds
- A positive value indicates the time in seconds that the engine must
be stuck before an event is issued.IAepAsynchronousEventHandler
,
AepEngine.setAsynchronousEventHandler(IAepAsynchronousEventHandler)
public int getStuckAlertEventThreshold()
setStuckAlertEventThreshold(int)
public final void save(IConfigRepository repo) throws EAepException
repo
- The configuration respository to save the descriptor to.
EAepException
- Thrown in case an error in encountered while
saving the descriptor.This method saves an AEP engine descriptor to a configuration repository. The descriptor is saved in a format suitable for loading subsequently using any of the load methods offered by this class.
public final void save() throws EAepException
EAepException
This method saves an AEP engine descriptor to the default configuration respository. The descriptor is saved in a format suitable for loading subsequently using any of the load methods offered in this class.
public final void delete(IConfigRepository repo) throws EAepException
repo
- The configuration respository to delete the descriptor from.
EAepException
- Thrown in case an error in encountered during the
deletion of the descriptor.This method permanently deletes an AEP engine descriptor from a configuration repository.
public final void delete() throws EAepException
EAepException
- Thrown in case an error in encountered during the
deletion of the descriptor.This method permanently deletes an AEP engine descriptor from the default configuration repository.
public static AepEngineDescriptor create(String name)
name
- The engine name.public static boolean exists(IConfigRepository repo, String name)
repo
- The configuration respository to check in.name
- The name of the engine to check for.public static boolean exists(String name)
name
- The name of the engine to check for.public static AepEngineDescriptor load(IConfigRepository repo, String name) throws EAepException
repo
- The configuration respository to create it from.name
- The name of the engine whose descriptor is to be prepared.
EAepException
This method creates and initializes an AEP engine descriptor from a configuration repository.
public static AepEngineDescriptor load(String name) throws EAepException
name
- The name of the engine whose descriptor is to be prepared.
EAepException
This method creates and initializes an AEP engine descriptor from the default configuration repository.
public static Set<AepEngineDescriptor> loadAll(IConfigRepository repo) throws EAepException
repo
- The configuration respository from where to create the engines.
EAepException
public static Set<AepEngineDescriptor> loadAll() throws EAepException
EAepException
public final String toString()
toString
in class Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |