Class ActionEndpoint
java.lang.Object
services.moleculer.service.Endpoint
services.moleculer.service.ActionEndpoint
- All Implemented Interfaces:
Action
- Direct Known Subclasses:
LocalActionEndpoint, RemoteActionEndpoint
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected HashSet<Middleware> protected final io.datatree.Treeprotected Actionprotected final intprotected final booleanPrivate Action; only the local Broker can access it and cannot be called remotely.protected static final org.slf4j.Loggerprotected final Stringprotected final String -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
logger
protected static final org.slf4j.Logger logger -
config
protected final io.datatree.Tree config -
hashCode
protected final int hashCode -
name
-
service
-
localOnly
protected final boolean localOnlyPrivate Action; only the local Broker can access it and cannot be called remotely. -
current
-
checkedMiddlewares
-
-
Constructor Details
-
ActionEndpoint
-
-
Method Details
-
handler
Description copied from interface:ActionAction's main method. Allowed return types: Promise, CompletableFuture, Tree, String, int, double, byte, float, short, long, boolean, byte[], UUID, Date, InetAddress, BigInteger, BigDecimal, and Java Collections (Map, List, Set) with these types. -
use
-
hashCode
-
equals
-
getConfig
public io.datatree.Tree getConfig() -
getAction
-
isLocalOnly
public boolean isLocalOnly()
-