* ComponentActivatorAbstractBase.
*
*/
+ @Override
public void init() {
}
* cleanup done by ComponentActivatorAbstractBase
*
*/
+ @Override
public void destroy() {
}
* instantiated in order to get an fully working implementation
* Object
*/
+ @Override
public Object[] getImplementations() {
Object[] res = { SwitchManager.class };
return res;
* also optional per-container different behavior if needed, usually
* should not be the case though.
*/
+ @Override
public void configureInstance(Component c, Object imp, String containerName) {
if (imp.equals(SwitchManager.class)) {
Dictionary<String, Set<String>> props = new Hashtable<String, Set<String>>();
"unsetClusterContainerService").setRequired(true));
}
}
+
+ @Override
+ protected Object[] getGlobalImplementations() {
+ final Object[] res = { SwitchManagerCLI.class };
+ return res;
+ }
}