public String getKey() {
return getComponentName() + "/" + getName();
}
protected void fireEvent(int type) {
ServiceUnitEvent event = new ServiceUnitEvent(this, type);
ServiceUnitListener[] listeners = (ServiceUnitListener[]) registry.getContainer().getListeners(ServiceUnitListener.class);
for (int i = 0; i < listeners.length; i++) {
switch (type) {
case ServiceUnitEvent.UNIT_STARTED:
listeners[i].unitStarted(event);