All Downloads are FREE. Search and download functionalities are using the official Maven repository.

server.src.contractImpl.EventsResourceImpl.mustache Maven / Gradle / Ivy

There is a newer version: 4.8.4
Show newest version
package {{packageName}}.server.{{lowerCaseContractName}}

{{#eventImports}}
    {{import}}
{{/eventImports}}
import {{packageName}}.core.{{lowerCaseContractName}}.{{capitalizedContractName}}Events
import {{packageName}}.wrappers.{{capitalizedContractName}}
import org.web3j.openapi.server.SubResourceImpl
import javax.inject.Inject
import javax.ws.rs.core.Context
import org.glassfish.jersey.server.ExtendedUriInfo

class {{capitalizedContractName}}EventsImpl(
    private val {{decapitalizedContractName}} : {{capitalizedContractName}},
    uriInfo : ExtendedUriInfo
) :  {{capitalizedContractName}}Events, SubResourceImpl(uriInfo){

{{#EventResource}}
    override val {{decapitalizedName}}Events: {{capitalizedName}}EventResourceImpl = {{capitalizedName}}EventResourceImpl({{decapitalizedContractName}})
{{/EventResource}}
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy