public class RemoteInvocationQueueSettings extends Object implements AttributeWriteTransactionMode
new
RemoteInvocationQueue.| Modifier and Type | Field and Description |
|---|---|
private String |
id |
private boolean |
rejectSubQueue |
private TransactionMode |
transactionMode |
| Constructor and Description |
|---|
RemoteInvocationQueueSettings()
The constructor.
|
RemoteInvocationQueueSettings(RemoteInvocationQueueSettings settings2copy)
The copy-constructor.
|
RemoteInvocationQueueSettings(String id)
The constructor.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getId()
|
TransactionMode |
getTransactionMode()
This method gets the
TransactionMode configuring the transactional behavior of the
RemoteInvocationQueue on the server side. |
boolean |
isRejectSubQueue() |
void |
setId(String id)
Sets the
ID. |
void |
setRejectSubQueue(boolean rejectNestedInvocation) |
void |
setTransactionMode(TransactionMode transactionMode) |
private TransactionMode transactionMode
getTransactionMode()private boolean rejectSubQueue
isRejectSubQueue()public RemoteInvocationQueueSettings()
public RemoteInvocationQueueSettings(String id)
id - - see getId().public RemoteInvocationQueueSettings(RemoteInvocationQueueSettings settings2copy)
settings2copy - are the RemoteInvocationQueueSettings to create a copy of.public String getId()
RemoteInvocationQueue to
create or
null for none.RemoteInvocationQueue.getId()public void setId(String id)
ID.id - is the ID for the RemoteInvocationQueue to
create.public TransactionMode getTransactionMode()
TransactionMode configuring the transactional behavior of the
RemoteInvocationQueue on the server side. The default is null what will
inherit the TransactionMode from the parent-queue or for the root-queue from the
RemoteInvocationCaller. The default of RemoteInvocationCaller for
TransactionMode is TransactionMode.ALL_INVOCATIONS. You may change the default (during
the startup of the client) by casting RemoteInvocationCaller to
AttributeWriteTransactionMode.getTransactionMode in interface AttributeWriteTransactionModeTransactionMode or null to inherit.public void setTransactionMode(TransactionMode transactionMode)
setTransactionMode in interface AttributeWriteTransactionModetransactionMode - is the new value of AttributeWriteTransactionMode.getTransactionMode().public boolean isRejectSubQueue()
true if the creating of sub-queues shall be prohibited (by an exception),
false otherwise (default).public void setRejectSubQueue(boolean rejectNestedInvocation)
rejectNestedInvocation - is the new value for isRejectSubQueue().Copyright © 2001–2016 mmm-Team. All rights reserved.