@Startup(value=BOOTSTRAP) @ApplicationScoped public class ApplicationScopedProducer extends Object
Constructor and Description |
---|
ApplicationScopedProducer() |
ApplicationScopedProducer(IOWatchServiceAllImpl watchService,
org.jboss.errai.security.shared.service.AuthenticationService authenticationService) |
Modifier and Type | Method and Description |
---|---|
org.jboss.errai.security.shared.api.identity.User |
getIdentity() |
IOService |
ioService() |
void |
setup() |
public ApplicationScopedProducer()
@Inject public ApplicationScopedProducer(IOWatchServiceAllImpl watchService, org.jboss.errai.security.shared.service.AuthenticationService authenticationService)
@PostConstruct public void setup()
@Produces @Named(value="ioStrategy") public IOService ioService()
@Produces @RequestScoped public org.jboss.errai.security.shared.api.identity.User getIdentity()
Copyright © 2012–2019 JBoss by Red Hat. All rights reserved.