Information
We are currently investigating an issue with the editor of some pages. Please save your work and avoid to create new pages until this banner is gone.
...
Code Block | ||||
---|---|---|---|---|
| ||||
//Replace package alma.<Module>.<Interface>Impl; //for: package alma.<PackageChosenForComponentHelper>; //Replace import alma.Observatory.SchedulingImpl.SchedulingImpl; //for: import alma.<PackageChosenForComponentImpl>.<ClassNameForComponentImpl>; //Replace return new SchedulingImpl(); // for return new <ClassNameForComponentImpl>(); |
...
Code Block | ||||
---|---|---|---|---|
| ||||
//Shared
import alma.<Module>.<Interface>;
import alma.<Module>.<Interface>Helper;
//By Name
<Interface> comp = <Interface>Helper.narrow(this.m_containerServices.getComponent("<Name>"));
//By Interface. Must be at least one component configured as default!
<Interface> comp = <Interface>Helper.narrow(this.m_containerServices.getDefaultComponent("IDL:alma/<Module>/<Interface>:1.0"));
//Release Components
m_containerServies.releaseComponent(comp.name()); |
...