Deprecated API
Contents
-
Terminally Deprecated ElementsElementDescriptionThread introspection will be removed in a future release.Use CallContext.execute() instead.Background thread execution will be removed in a future release.Thread introspection will be removed in a future release.Thread introspection will be removed in a future release.Use inherited Context.baseDir() instead.Use inherited Context.environment() instead.Use active() instead.Procedures and interceptors are now initialized as normal storage objects instead. The Library API will be removed.Use inherited Context.storage() or appStorage() instead.Thread introspection will be removed in a future release.Background thread execution will be removed in a future release.Background thread execution will be removed in a future release.Thread introspection will be removed in a future release.Call processing time is being removed.Call result storage is being removed.Use
ThreadContext.log()instead.UseCallContext.procedure()instead.Progress tracking is being removed.Call result storage is being removed.UseContext.id()for the ancestor request context.UseThreadContext.created()instead.UseCallContext.isLogging()instead.UseThreadContext.user()instead.UseThreadContext.requireAccess(String, String)instead.UseThreadContext.requireAccess(String,String)withRole.PERM_INTERNALinstead.UseThreadContext.requireReadAccess(String)instead.UseThreadContext.requireSearchAccess(String)instead.UseThreadContext.requireWriteAccess(String)instead.Use #connectionReserve(String) instead.UseCallContext.execute(String, Object[])instead.UseContext.get(String, Class)instead.Use methods directly on the CallContext instance.Use environment() instead.Handled by CallInterceptor or ReserveInterceptor instead.Procedures and interceptors are now initialized as normal storage objects instead. The Library API will be removed.Use storage() instead.Use isLogging() instead.Use ThreadContext#logRequest(String, Object[]) instead.Use ThreadContext#logRequest(String, Object[]) instead.Internal access is now achieved by combining read access with access via "procedure/**" (or a more limited pattern).UseContext.set(String, Object)instead.Create a CallInterceptor or ReserveInterceptor instead.The CallContext class now encapsulates a call stack.UseCallContext.caller()instead.UseCallContext.isCalledBy(Procedure)instead.UseContext.depthOf(java.lang.Class<T>)(CallContext.class) instead.UseCallContext.stackTrace()instead.Implemented in ReserveInterceptor or CallInterceptor instead.Use ReserveInterceptor or CallInterceptor instead.Inherit from CallInterceptor instead.Inherit from ReserveInterceptor instead.Inherit from ReserveInterceptor instead.Procedures and interceptors are now initialized as normal storage objects instead. The Library API will be removed.Handled by CallInterceptor or ReserveInterceptor instead.Create a CallInterceptor or ReserveInterceptor instead.Use RequestContext.auth() instead.Use RequestContext.authByMd5Hash() instead.Use RequestContext.authByToken() instead.UseThreadContext.user()instead.Use RequestContext.close() instead.UseThreadContext.hasAccess(String,String)instead.Use #hasAccess(User, String, String, String) instead.UseThreadContext.hasAccess(String, String)instead.UseThreadContext.hasReadAccess(String)instead.UseThreadContext.hasSearchAccess(String)instead.UseThreadContext.hasWriteAccess(String)instead.Use createLoginToken(User, long) insteadUse createLoginToken(User, long) insteadUse validateLoginToken(String) insteadUse validateLoginToken(String) insteadInternal access is now achieved by combiningRole.PERM_READwithRole.ACCESS_VIA"procedure/**" (or preferably a more restricted pattern).Use ThreadContext.active().session() instead.Session validation will be moved to RequestContext.Use ThreadContext.sessionRequired() instead.
-
Deprecated ClassesClassDescriptionThread introspection will be removed in a future release.Background thread execution will be removed in a future release.Background thread execution will be removed in a future release.Thread introspection will be removed in a future release.The CallContext class now encapsulates a call stack.Implemented in ReserveInterceptor or CallInterceptor instead.Use ReserveInterceptor or CallInterceptor instead.Procedures and interceptors are now initialized as normal storage objects instead. The Library API will be removed.
-
Deprecated FieldsFieldDescriptionCall processing time is being removed.Call result storage is being removed.Use
ThreadContext.log()instead.UseCallContext.procedure()instead.Progress tracking is being removed.Call result storage is being removed.UseContext.id()for the ancestor request context.UseThreadContext.created()instead.UseCallContext.isLogging()instead.UseThreadContext.user()instead.Internal access is now achieved by combiningRole.PERM_READwithRole.ACCESS_VIA"procedure/**" (or preferably a more restricted pattern).Use ThreadContext.active().session() instead.Use SHA2 or SHA3 instead.Use SHA2 or SHA3 instead.
-
Deprecated MethodsMethodDescriptionThread introspection will be removed in a future release.Use CallContext.execute() instead.Background thread execution will be removed in a future release.Thread introspection will be removed in a future release.Thread introspection will be removed in a future release.Use inherited Context.baseDir() instead.Use inherited Context.environment() instead.Use active() instead.Procedures and interceptors are now initialized as normal storage objects instead. The Library API will be removed.Use inherited Context.storage() or appStorage() instead.Use
ThreadContext.requireAccess(String, String)instead.UseThreadContext.requireAccess(String,String)withRole.PERM_INTERNALinstead.UseThreadContext.requireReadAccess(String)instead.UseThreadContext.requireSearchAccess(String)instead.UseThreadContext.requireWriteAccess(String)instead.Use #connectionReserve(String) instead.UseCallContext.execute(String, Object[])instead.UseContext.get(String, Class)instead.Use methods directly on the CallContext instance.Use environment() instead.Handled by CallInterceptor or ReserveInterceptor instead.Procedures and interceptors are now initialized as normal storage objects instead. The Library API will be removed.Use storage() instead.Use isLogging() instead.Use ThreadContext#logRequest(String, Object[]) instead.Use ThreadContext#logRequest(String, Object[]) instead.Internal access is now achieved by combining read access with access via "procedure/**" (or a more limited pattern).UseContext.set(String, Object)instead.Create a CallInterceptor or ReserveInterceptor instead.UseCallContext.caller()instead.UseCallContext.isCalledBy(Procedure)instead.UseContext.depthOf(java.lang.Class<T>)(CallContext.class) instead.UseCallContext.stackTrace()instead.Inherit from CallInterceptor instead.Inherit from ReserveInterceptor instead.Inherit from ReserveInterceptor instead.Handled by CallInterceptor or ReserveInterceptor instead.Create a CallInterceptor or ReserveInterceptor instead.Use RequestContext.auth() instead.Use RequestContext.authByMd5Hash() instead.Use RequestContext.authByToken() instead.UseThreadContext.user()instead.Use RequestContext.close() instead.UseThreadContext.hasAccess(String,String)instead.Use #hasAccess(User, String, String, String) instead.UseThreadContext.hasAccess(String, String)instead.UseThreadContext.hasReadAccess(String)instead.UseThreadContext.hasSearchAccess(String)instead.UseThreadContext.hasWriteAccess(String)instead.Use createLoginToken(User, long) insteadUse createLoginToken(User, long) insteadUse validateLoginToken(String) insteadUse validateLoginToken(String) insteadSession validation will be moved to RequestContext.Use ThreadContext.sessionRequired() instead.