Softanza
DémarrerEnglish
Softanza
La bibliothèque se documente elle-même · Web et serveur d'applications

stzServiceRegistry

40 méthodes propres · 7 formes avec extensions, rangées sous leur méthode

la source: base/service/stzServiceRegistry.ring(s'ouvre dans un nouvel onglet) · Toutes les classes · La référence du domaine : Web et serveur d'applications

Sous chaque méthode, ses extensions (Q CS XT Z ZZ IB W U) : en gras et cochée, elle existe ; barrée, elle n'existe pas. Les extensions et leur sens

Aucune méthode de cette classe n'est exécutée sur cette page : la classe touche aux fichiers, au réseau, aux processus, à l'horloge, au hasard ou au son, et un exemple exécuté ici ne serait que l'exemple de ses effets. Chaque méthode porte l'explication que la bibliothèque donne d'elle-même.

Méthode
Explication, telle que la source la porte
init
(sans commentaire dans la source : le nom se lit comme une phrase) initaucune extension
Name
(sans commentaire dans la source : le nom se lit comme une phrase) nameaucune extension
Declare
the dependency surface ------------------------------------------- Declare a service this solution depends on, before anything is bound. This is what turns "what does this touch?" from archaeology into a query -- and it is what lets an UNBOUND dependency be a finding rather than a surprise.QCSXTZZZIBWUMany
IsDeclared
(sans commentaire dans la source : le nom se lit comme une phrase) is declaredaucune extension
DeclaredServices
(sans commentaire dans la source : le nom se lit comme une phrase) declared servicesaucune extension
NumberOfDeclared
(sans commentaire dans la source : le nom se lit comme une phrase) number of declaredaucune extension
Bind
binding ---------------------------------------------------------- Bind an implementation. The posture is asked OF THE OBJECT: anything with IsSandbox() answering true is a sandbox. Declaring itself beats guessing from a class name, and it means a third-party double can opt in.QCSXTZZZIBWU
BindSandbox
...say it explicitly when the object cannot.QCSXTZZZIBWU
BindLocal
Bind a genuine LOCAL equivalent -- sqlite, the filesystem, a local model. Not a fake, so unlike a sandbox this may ship; see the posture note above.QCSXTZZZIBWU
BindLive
Bind the real thing, naming the STORE SECRET its credential lives in. The name, not the key: a registry that held credentials would be one more place they leak from.QCSXTZZZIBWU
Unbind
Remove the IMPLEMENTATION but keep the dependency. The service is then declared-and-unbound, which IS a finding -- your solution still needs the thing, it just has nothing to serve it. To retire the dependency itself, use Undeclare.aucune extension
Undeclare
Retire the dependency altogether -- the solution no longer needs this service. Unbinds it too, so nothing is left half-declared.aucune extension
Service
resolution (what the application actually calls) ------------------ The service by name. RAISES when nothing is bound -- an unbound dependency that silently returned NULL would fail later, somewhere else, as a null-call with no hint of the real cause.aucune extension
Has
(sans commentaire dans la source : le nom se lit comme une phrase) hasaucune extension
BoundServices
(sans commentaire dans la source : le nom se lit comme une phrase) bound servicesaucune extension
NumberOfBound
(sans commentaire dans la source : le nom se lit comme une phrase) number of boundaucune extension
PostureOf
(sans commentaire dans la source : le nom se lit comme une phrase) posture ofaucune extension
IsSandboxed
(sans commentaire dans la source : le nom se lit comme une phrase) is sandboxedaucune extension
SecretNameOf
(sans commentaire dans la source : le nom se lit comme une phrase) secret name ofaucune extension
SandboxedServices
every service still bound to a fake -- the "what is not real yet" list.aucune extension
LocalServices
the genuinely-local ones: real, self-hosted, shippable.aucune extension
IsLocal
(sans commentaire dans la source : le nom se lit comme une phrase) is localaucune extension
LiveServices
(sans commentaire dans la source : le nom se lit comme une phrase) live servicesaucune extension
UnboundServices
(sans commentaire dans la source : le nom se lit comme une phrase) unbound servicesaucune extension
SetPhase
the phase -------------------------------------------------------- :development / :emulated -> sandboxes are expected. :production -> they are a violation. The phase is the SAME switch stzDelivery already uses, so nothing new decides what is real.QCSXTZZZIBWU
Phase
(sans commentaire dans la source : le nom se lit comme une phrase) phaseaucune extension
IsProduction
(sans commentaire dans la source : le nom se lit comme une phrase) is productionaucune extension
FindingsVia
governance ------------------------------------------------------- [ [ :invariant, :severity, :where, :message ], ... ] -- the same shape stzSecurityPosture and the graph rules use, so one CI gate covers all three. poStore may be NULL when there is no keyring to check against. NOTE: each _Check returns its OWN list and this LOOPS to append the elements. Haro's `+` on a list appends the whole list as ONE element, so `_aF_ + This._Check...()` would nest rather than accumulate -- and a nested findings list silently reports zero errors. Same shape as stzSecurityPosture.aucune extension
Findings
(sans commentaire dans la source : le nom se lit comme une phrase) findingsaucune extension
IsSoundVia
(sans commentaire dans la source : le nom se lit comme une phrase) is sound viaaucune extension
IsSound
(sans commentaire dans la source : le nom se lit comme une phrase) is soundaucune extension
NumberOfFindings
(sans commentaire dans la source : le nom se lit comme une phrase) number of findingsaucune extension
ReportVia
(sans commentaire dans la source : le nom se lit comme une phrase) report viaaucune extension
Report
(sans commentaire dans la source : le nom se lit comme une phrase) reportaucune extension
MayGoLive
ASKED IN THE PRODUCTION FRAME, whatever the current phase. "May I go LIVE?" IS the production question, so answering it from a :development phase would have said YES with a fake still bound -- the phase-dependent invariants (sandbox-in-production, ephemeral-in-production) simply had not fired yet. The phase is set, the surface judged, the phase restored: asking is not declaring. (Found while writing the narration; the guard had only ever asked after setting production, so the honest answer and the convenient one agreed.)aucune extension
FindingsForProductionVia
the surface judged as production would judge it, then put backaucune extension
FindingsForProduction
(sans commentaire dans la source : le nom se lit comme une phrase) findings for productionaucune extension
WhyNotLive
...and the same, but explaining itself.aucune extension
AsRuleGraph
NOTE this does NOT duplicate the invariants above. Findings from Findings() already carry the report's shape, so the registry joins the shared CI gate directly: oReport.IngestLegacy(oReg.Findings(), "services"). What the GRAPH adds is the question a flag check cannot ask -- which PART of a solution depends on a fake -- and that needs the delivery's parts joined to these nodes (see stzDelivery.AsRuleGraph and stzServiceRuleSet).aucune extension
Show
(sans commentaire dans la source : le nom se lit comme une phrase) showaucune extension