001package org.picocontainer.lifecycle; 002 003import org.picocontainer.monitors.NullComponentMonitor; 004 005public class MyStartableLifecycleStrategy extends StartableLifecycleStrategy { 006 public MyStartableLifecycleStrategy() { 007 super(new NullComponentMonitor()); 008 } 009 010 protected String getStopMethodName() { 011 return "sstop"; 012 } 013 014 protected String getStartMethodName() { 015 return "sstart"; 016 } 017 018 protected String getDisposeMethodName() { 019 return "ddispose"; 020 } 021 022 023 protected Class getStartableInterface() { 024 return ThirdPartyStartable.class; 025 } 026 027 protected Class getDisposableInterface() { 028 return ThirdPartyStartable.class; 029 } 030 } 031