MCPcopy Create free account
hub / github.com/cloudfoundry/java-buildpack / NewRegistry

Function NewRegistry

src/java/jres/jre.go:61–66  ·  view source on GitHub ↗

NewRegistry creates a new JRE registry

(ctx *common.Context)

Source from the content-addressed store, hash-verified

59
60// NewRegistry creates a new JRE registry
61func NewRegistry(ctx *common.Context) *Registry {
62 return &Registry{
63 ctx: ctx,
64 providers: []JRE{},
65 }
66}
67
68// Register adds a JRE provider to the registry
69func (r *Registry) Register(jre JRE) {

Callers 3

installJREMethod · 0.92
resolveJREFunction · 0.92
jre_test.goFile · 0.92

Calls

no outgoing calls

Tested by

no test coverage detected