jaxws/src/share/jaxws_classes/com/sun/xml/internal/org/jvnet/mimepull/CleanUpExecutorFactory.java
changeset 23782 953bfc3fbe31
parent 22679 d785acd84a14
equal deleted inserted replaced
23403:85dbdc227c5e 23782:953bfc3fbe31
     1 /*
     1 /*
     2  * Copyright (c) 1997, 2013, Oracle and/or its affiliates. All rights reserved.
     2  * Copyright (c) 1997, 2014, Oracle and/or its affiliates. All rights reserved.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     4  *
     4  *
     5  * This code is free software; you can redistribute it and/or modify it
     5  * This code is free software; you can redistribute it and/or modify it
     6  * under the terms of the GNU General Public License version 2 only, as
     6  * under the terms of the GNU General Public License version 2 only, as
     7  * published by the Free Software Foundation.  Oracle designates this
     7  * published by the Free Software Foundation.  Oracle designates this
    23  * questions.
    23  * questions.
    24  */
    24  */
    25 
    25 
    26 package com.sun.xml.internal.org.jvnet.mimepull;
    26 package com.sun.xml.internal.org.jvnet.mimepull;
    27 
    27 
    28 import java.util.concurrent.Executor;
    28 import java.util.concurrent.ScheduledExecutorService;
    29 
    29 
    30 public abstract class CleanUpExecutorFactory {
    30 public abstract class CleanUpExecutorFactory {
    31     private static final String DEFAULT_PROPERTY_NAME = CleanUpExecutorFactory.class
    31     private static final String DEFAULT_PROPERTY_NAME = CleanUpExecutorFactory.class
    32             .getName();
    32             .getName();
    33 
    33 
    40         } catch (Exception e) {
    40         } catch (Exception e) {
    41             return null;
    41             return null;
    42         }
    42         }
    43     }
    43     }
    44 
    44 
    45     public abstract Executor getExecutor();
    45     public abstract ScheduledExecutorService getScheduledExecutorService();
    46 }
    46 }