public ServiceAssemblyEnvironment getEnvironment() {
return env;
}
protected void fireEvent(int type) {
ServiceAssemblyEvent event = new ServiceAssemblyEvent(this, type);
ServiceAssemblyListener[] listeners = (ServiceAssemblyListener[]) registry.getContainer().getListeners(ServiceAssemblyListener.class);
for (int i = 0; i < listeners.length; i++) {
switch (type) {
case ServiceAssemblyEvent.ASSEMBLY_STARTED:
listeners[i].assemblyStarted(event);