1 22 23 package org.objectweb.petals.component.common.su; 24 25 import org.objectweb.petals.component.common.PEtALSComponentSDKException; 26 import org.objectweb.petals.tools.jbicommon.descriptor.JBIDescriptor; 27 28 39 public interface ServiceUnitListener { 40 41 48 void onSUDeployed(final String serviceUnitName, final String suRootPath, 49 final JBIDescriptor descriptor) throws PEtALSComponentSDKException; 50 51 56 void onSUStarted(final String serviceUnitName) throws PEtALSComponentSDKException; 57 58 63 void onSUStopped(final String serviceUnitName) throws PEtALSComponentSDKException; 64 65 71 void onSUUndeployed(final String serviceUnitName, final String suRootPath, 72 final JBIDescriptor descriptor) throws PEtALSComponentSDKException; 73 74 } 75 | Popular Tags |