NetKernel APIs


org.ten60.netkernel.xml.xahelper
Interface XAHelperExtra

All Known Implementing Classes:
XAHelperImpl

public interface XAHelperExtra

A few extra methods for some advanced/system accessors


Method Summary
 Container getContainer()
          Return the container we are running in
 URRequest getRequest()
          Return the raw request that invoked the accessor
 IURRepresentation requestResourceWithValues(URI aURI, Class aAspectClass, Map aURIToValue)
          Request a resource with optional pass-by-value arguments
 

Method Detail

getRequest

public URRequest getRequest()
Return the raw request that invoked the accessor


getContainer

public Container getContainer()
Return the container we are running in


requestResourceWithValues

public IURRepresentation requestResourceWithValues(URI aURI,
                                                   Class aAspectClass,
                                                   Map aURIToValue)
                                            throws NetKernelException
Request a resource with optional pass-by-value arguments

Parameters:
aURI - the type component of the active uri
aAspectClass - the result must have this aspect
aURIToValue - a map of URI to IURRepresentation
Returns:
A Representation of the requested resource
Throws:
NetKernelException - thrown if we fail to request the resource sucessfully

NetKernel APIs


Copyright © 2002-2004 1060 Research Ltd. All Rights Reserved.