NewRegistry creates a new JRE registry
(ctx *common.Context)
| 59 | |
| 60 | // NewRegistry creates a new JRE registry |
| 61 | func 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 |
| 69 | func (r *Registry) Register(jre JRE) { |
no outgoing calls
no test coverage detected