private final Object xfire_name;
private static final NutIntrospector introspector = new NutIntrospector();
protected void decorateProcessor(NutsProcessor processor, ServletContext ctxt) throws Exception {
super.decorateProcessor(processor, ctxt);
final NutDescriptor desc = introspector.getNutDescriptor(ServiceNut.class);
desc.setFactory(new Factory(){
public Object create(){
return new ServiceNut(Components.useKey(xfire_name));
}
});
processor.registerNut("service", desc);