Robert Goene wrote:
Hi,

I am trying to call a certain pipeline trough the SourceResolver, but i can't find any good documentation on this component. Can anyone tell me what the correct method is for calling cocoon://core/lucene/delete.xml ?


SourceResolver resolver = null;
Source source = null;

try {
    resolver = (SourceResolver) this.manager.lookup(SourceResolver.ROLE);
    source = resolver.resolveURI("cocoon://core/lucene/delete.xml");
}
finally {
    if (resolver != null) {
        if (source != null) {
            resolver.release(source);
        }
        this.manager.release(resolver;
    }
}


-- Andreas


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to