Package org.jboss.system

Examples of org.jboss.system.Service.destroy()


   public void uninstallAction(ServiceControllerContext context)
   {
      try
      {
         Service service = context.getServiceProxy();
         service.destroy();

         context.getServiceContext().state = ServiceContext.DESTROYED;

         ObjectName objectName = context.getObjectName();
         ServiceController serviceController = context.getServiceController();
View Full Code Here


/*    */   public void uninstallAction(ServiceControllerContext context)
/*    */   {
/*    */     try
/*    */     {
/* 55 */       Service service = context.getServiceProxy();
/* 56 */       service.destroy();
/*    */
/* 58 */       context.getServiceContext().state = 6;
/*    */
/* 60 */       ObjectName objectName = context.getObjectName();
/* 61 */       ServiceController serviceController = context.getServiceController();
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.