|
||||||||||
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(URI contextRef)
Tests whether the asserted Context Reference can be used by this factory to produce an IContext instance. |
IContext |
createContext(URI contextRef)
Using contextRef, creates an instance of IContext and returns it. |
Iterable<URI> |
getContexts(String filter)
|
String |
getName()
|
String |
getPolicy()
Returns the policy in effect for this Context Factory. |
void |
setPolicy(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 |
---|
String getName() throws IdASException
IdASException
Iterable<URI> getContexts(String filter) throws IdASException
filter
- Format TBD
IdASException
boolean canCreate(URI contextRef) throws IdASException
IContext
instance.
contextRef
- URI specifying the Context being tested.
IdASException
IContext createContext(URI contextRef) throws IdASException
IContext
and returns it.
contextRef
- URI specifying the Context to create.
IdASException
String getPolicy() throws IdASException
IdASException
- TODO: Describe format in more detail. Give examples.void setPolicy(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 |