org.mmbase.bridge
Class ContextProvider.Resolver

Package class diagram package ContextProvider.Resolver
java.lang.Object
  extended by org.mmbase.bridge.ContextProvider.Resolver
Direct Known Subclasses:
MockCloudContext.MockResolver
Enclosing class:
ContextProvider

public abstract static class ContextProvider.Resolver
extends Object

A Resolver resolves an URI-string (the argument of ContextProvider.getCloudContext(String) to a CloudContext object.


Field Summary
protected  LocalizedString description
           
 
Constructor Summary
ContextProvider.Resolver()
           
 
Method Summary
 LocalizedString getDescription()
          The syntax of the uri and goal of the resuling CloudContext may be explained in this description.
abstract  CloudContext resolve(String uri)
          Resolve an 'uri' string to an actual CloudContext instance.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

description

protected final LocalizedString description
Constructor Detail

ContextProvider.Resolver

public ContextProvider.Resolver()
Method Detail

resolve

public abstract CloudContext resolve(String uri)
Resolve an 'uri' string to an actual CloudContext instance.

Returns:
A CloudContext or null if this specific Resolver doesn't understand the uri.

getDescription

public LocalizedString getDescription()
The syntax of the uri and goal of the resuling CloudContext may be explained in this description.



MMBase2 Bridge 2.0-SNAPSHOT - 2013-03-30T06:34