Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [higgins-dev] Re: IdAS questions

<snip/>
> >4. IContextFactory interface extends IHasMetadata interface. What is a
> >purpose of this interface and how should we implement it?
> 
> I really don't remember why we added metadata to the factory.  Maybe
> we should remove it and wait for a real use-case to arise.  What do 
> others think?

Rather than removing it - then putting it back later - I'd prefer we leave 
the interface and have it throw 
org.eclipse.higgins.idas.NotImplementedException for now.

My understanding is that this would be a place to make information 
accessible about what the Context Factory requires for all of its "owned" 
Contexts. For example - a policy that states that each Context requires a 
Username and Passowrd Credential to be passed to the open method.

Thanks,
Mike


Back to the top