org.wso2.carbon.registry.app.targets
Class ResourceTarget

java.lang.Object
  extended by org.apache.abdera.protocol.server.impl.SimpleTarget
      extended by org.wso2.carbon.registry.app.targets.ResourceTarget
All Implemented Interfaces:
Iterable<String>, org.apache.abdera.protocol.server.Target

public class ResourceTarget
extends org.apache.abdera.protocol.server.impl.SimpleTarget

This is a target for a registry resource


Field Summary
 
Fields inherited from class org.apache.abdera.protocol.server.impl.SimpleTarget
context, type
 
Constructor Summary
ResourceTarget(org.apache.abdera.protocol.server.TargetType type, org.apache.abdera.protocol.server.RequestContext context, Resource resource)
          Creates a resource target.
 
Method Summary
 Resource getResource()
          Method to obtain a resource.
 
Methods inherited from class org.apache.abdera.protocol.server.impl.SimpleTarget
equals, getIdentity, getMatcher, getParameter, getParameterNames, getRequestContext, getType, hashCode, iterator, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ResourceTarget

public ResourceTarget(org.apache.abdera.protocol.server.TargetType type,
                      org.apache.abdera.protocol.server.RequestContext context,
                      Resource resource)
Creates a resource target.

Parameters:
type - the target type.
context - the request context.
resource - the resource.
Method Detail

getResource

public Resource getResource()
Method to obtain a resource.

Returns:
the resource.


Copyright © 2010. All Rights Reserved.