Package org.tentackle.persist.wurblet
Class RemoteMethod
java.lang.Object
org.wurbelizer.wurblet.AbstractWurblet
org.wurbelizer.wurblet.AbstractJavaWurblet
org.tentackle.wurblet.ModelWurblet
org.tentackle.persist.wurblet.DbModelWurblet
org.tentackle.persist.wurblet.RemoteMethod
- All Implemented Interfaces:
org.wurbelizer.wurblet.Wurblet
(
@wurblet) Generates the remote delegate invocation code.
In order for this wurblet to work, the method must be annotated with @RemoteMethod.
usage:
@wurblet <tag> RemoteMethod [--this] [--nocontext] [--instance=<object>]
arguments:
- --this: add the PDO itself to the method parameters.
- --nocontext: don't pass the DomainContext.
- --instance=<object>: object to invoke the method on in the remote implementation.
DbModelWurblet.-
Field Summary
Fields inherited from class org.wurbelizer.wurblet.AbstractWurblet
configuration, container, out, phase, source -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.tentackle.persist.wurblet.DbModelWurblet
aas, acs, as, assertEntityIsPersistable, buildInvocationParameters, buildInvocationParameters, buildMethodParameters, buildMethodParameters, createJdbcGetterName, createJdbcSetterName, createJoins, createJoinSetPars, createOrderBy, createOrderBy, createRelationArgString, createRelationDeleteCode, createRelationLinkCode, createRelationSelectCode, createRelationSetFirstArgMethodName, createRelationUpdateReferenceCode, createRelationUpdateReferenceCode, createRelationWurbletArgString, createRelopCode, createStatementId, createWhereSetPars, createWhereSetPars, getContextAttribute, getDefaultSorting, getDefaultSortKeys, getEagerRelations, getExpression, getExpressionArguments, getExtraArguments, getJdbcCode, getJoinPaths, getMethodArguments, getModelCode, getSortingArguments, isArgumentGroupingEnabled, isAttracked, isEntityPersistable, isFullTracked, isPathAllowed, isPdoProvidingArguments, isRelationTransient, isTracked, isWithDefaultSorting, isWithJoins, isWithSorting, pcsMethods inherited from class org.tentackle.wurblet.ModelWurblet
appendCommaSeparated, assertSupportedByBackends, createComponentInfo, createDeclaredArgsForSelectOrDeleteMethod, createListRelationDeleteMethodName, createRelationSelectMethodName, deriveClassNameForEntity, getAnnotationOptions, getArgs, getBackends, getColumnName, getColumnNameConstant, getEffectiveDataType, getEntity, getMethodName, getModelDefaults, getModelDirName, getModelName, getOption, getOptionArgs, getPdoClassName, getWurbletArgs, isAttributeDerived, isGenerified, isIdAttribute, isIdOrSerialAttribute, isInterface, isMuteOptionSet, isPartOfInheritanceHierarchy, isPdo, isRemote, isSerialAttribute, orderByInheritanceLevelAndClassId, prependCommaSeparated, setRemoteMethods inherited from class org.wurbelizer.wurblet.AbstractJavaWurblet
getClassName, getPackageName, getSuperClassName, isAbstract, isClass, isFinal, isPrivate, isProtected, isPublic, isRecord, toStringMethods inherited from class org.wurbelizer.wurblet.AbstractWurblet
cleanup, getConfiguration, getContainer, getGuardName, getPhase, process, setConfiguration, setContainer, setPhase
-
Constructor Details
-
RemoteMethod
public RemoteMethod()
-
-
Method Details
-
run
public void run() throws org.wurbelizer.wurbel.WurbelException- Specified by:
runin interfaceorg.wurbelizer.wurblet.Wurblet- Overrides:
runin classDbModelWurblet- Throws:
org.wurbelizer.wurbel.WurbelException
-