if(scriptEngine == null) {
throw new IllegalArgumentException("scriptEngine should not be null");
}
if(AptListenerNamespace.NAME.equals(feature)) {
scriptEngine.addExtension(AptListenerNamespace.NAME, new AptListenerNamespace(new AptListenerManager()));
}
}