|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IContextFactory
As defined at http://spwiki.editme.com/ContextProvider#ContextFactory, This interface is implemented by IdAS context providers so that their IContext
instances may be instantiated.
TODO: Talk about what's required to make this work -- how factories are registered and referenced in the Higgins system.
TODO: Finish commenting methods.
Method Summary | |
---|---|
boolean |
canCreate(java.net.URI contextRef)
Tests whether the asserted Context Reference can be used by this factory to produce an IContext instance. |
IContext |
createContext(java.net.URI contextRef)
Using contextRef, creates an instance of IContext and returns it. |
java.lang.Iterable<java.net.URI> |
getContexts(java.lang.String filter)
|
java.lang.String |
getName()
|
java.lang.String |
getPolicy()
Returns the policy in effect for this Context Factory. |
void |
setPolicy(java.lang.String policy)
Sets the policy for for this Context Factory. |
Methods inherited from interface org.eclipse.higgins.idas.IHasMetadata |
---|
addMetadata, createMetadata, getMetadataSet, removeMetadata |
Method Detail |
---|
java.lang.String getName() throws IdASException
IdASException
java.lang.Iterable<java.net.URI> getContexts(java.lang.String filter) throws IdASException
filter
- Format TBD
IdASException
boolean canCreate(java.net.URI contextRef) throws IdASException
IContext
instance.
contextRef
- URI specifying the Context being tested.
IdASException
IContext createContext(java.net.URI contextRef) throws IdASException
IContext
and returns it.
contextRef
- URI specifying the Context to create.
IdASException
java.lang.String getPolicy() throws IdASException
IdASException
- TODO: Describe format in more detail. Give examples.void setPolicy(java.lang.String policy) throws IdASException
policy
- Format is WS-Policy / WS-SecurityPolicy
IdASException
- TODO: Describe format in more detail. Give examples.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |