Search in sources :

Example 6 with KieServerImpl

use of org.kie.server.services.impl.KieServerImpl in project droolsjbpm-integration by kiegroup.

the class Bootstrap method contextDestroyed.

@Override
public void contextDestroyed(ServletContextEvent sce) {
    KieServerImpl server = KieServerLocator.getInstance();
    server.destroy();
    logger.info("KieServer (id {}) destroyed successfully", KieServerEnvironment.getServerId());
}
Also used : KieServerImpl(org.kie.server.services.impl.KieServerImpl)

Aggregations

KieServerImpl (org.kie.server.services.impl.KieServerImpl)6 KieServerExtension (org.kie.server.services.api.KieServerExtension)3 FileInputStream (java.io.FileInputStream)1 FileNotFoundException (java.io.FileNotFoundException)1 IOException (java.io.IOException)1 InputStream (java.io.InputStream)1 URL (java.net.URL)1 Charset (java.nio.charset.Charset)1 ArrayList (java.util.ArrayList)1 Arrays (java.util.Arrays)1 Collection (java.util.Collection)1 Enumeration (java.util.Enumeration)1 HashMap (java.util.HashMap)1 HashSet (java.util.HashSet)1 List (java.util.List)1 Map (java.util.Map)1 ServiceLoader (java.util.ServiceLoader)1 Set (java.util.Set)1 ConcurrentHashMap (java.util.concurrent.ConcurrentHashMap)1 TimeUnit (java.util.concurrent.TimeUnit)1