Can JBoss EAP auto bind/unbind services as Glassfish do?
Issue
-
If my application has multiple services, can JBoss EAP container auto call bind/unbind services (methods), for example:
public void init(InterfaceService interfaceServiceImplemantion) { bindConfigService(interfaceServiceImplemantion); } public void bindService(IService service) { service.set(service); logger.info("An IService has been set"); } public void unbindService(IService service) { service.compareAndSet(service, null); logger.info("An IService has been removed"); }
Environment
- Red Hat JBoss Enterprise Application Platform (EAP)
- 7.2.x
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.