A definition of Custom Service in WebSphere is as follows:
"To define a hook point to be run when a server or node agent starts and shuts down, you develop a custom service class and then use the administrative console to configure a custom service instance. When the application server or node agent starts, the custom service starts and initializes."
see the link for detail:
http://publib.boulder.ibm.com/infocenter/wasinfo/index.jsp?topic=/com.ibm.websphere.nd.doc/info/ae/ae/trun_customservice.html
Does JBoss provide the similar feature? If does, where can I find related documents?
Thanks.
Look around for ServiceMBeanSupport and jboss-service.xml