org.wso2.registry.jdbc.handlers
Class RequestContext

java.lang.Object
  extended by org.wso2.registry.jdbc.handlers.RequestContext

public class RequestContext
extends java.lang.Object

Objects of this class contains the information about the current request to the registry. All attributes of such objects should be either null or should contain a *valid" value. That is, if an attribute contains a non-null value it is safe to assume that attribute contains a valid value as mentioned by the javadoc of that attribute.


Constructor Summary
RequestContext(Registry registry, Repository repository)
           
 
Method Summary
 java.lang.String getActualPath()
           
 Collection getParentCollection()
           
 java.lang.String getParentPath()
           
 java.lang.Object getProperty(java.lang.String name)
           
 Registry getRegistry()
           
 Repository getRepository()
           
 Resource getResource()
           
 java.lang.String getResourcePath()
           
 java.lang.String getSourceURL()
           
 boolean isProcessingComplete()
           
 void setActualPath(java.lang.String actualPath)
           
 void setParentCollection(Collection parentCollection)
           
 void setParentPath(java.lang.String parentPath)
           
 void setProcessingComplete(boolean processingComplete)
           
 void setProperty(java.lang.String name, java.lang.Object value)
           
 void setResource(Resource resource)
           
 void setResourcePath(java.lang.String resourcePath)
           
 void setSourceURL(java.lang.String sourceURL)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RequestContext

public RequestContext(Registry registry,
                      Repository repository)
Method Detail

getRegistry

public Registry getRegistry()

getRepository

public Repository getRepository()

isProcessingComplete

public boolean isProcessingComplete()

setProcessingComplete

public void setProcessingComplete(boolean processingComplete)

getResourcePath

public java.lang.String getResourcePath()

setResourcePath

public void setResourcePath(java.lang.String resourcePath)

getSourceURL

public java.lang.String getSourceURL()

setSourceURL

public void setSourceURL(java.lang.String sourceURL)

getActualPath

public java.lang.String getActualPath()

setActualPath

public void setActualPath(java.lang.String actualPath)

getResource

public Resource getResource()

setResource

public void setResource(Resource resource)

getParentPath

public java.lang.String getParentPath()

setParentPath

public void setParentPath(java.lang.String parentPath)

getParentCollection

public Collection getParentCollection()

setParentCollection

public void setParentCollection(Collection parentCollection)

setProperty

public void setProperty(java.lang.String name,
                        java.lang.Object value)

getProperty

public java.lang.Object getProperty(java.lang.String name)


Copyright 2007 Apache Web Services Project. All Rights Reserved.