Method Summary
All Methods Instance Methods Abstract Methods Default Methods
default int
Returns the container associated with this deployment.
Returns the name of this deployment
Locates the base URI of the specific resource class.
Locates the base URI of the specific resource.
Method Details
getName
Returns the name of this deployment
Returns:
the deployment name
getContainer
Returns the container associated with this deployment.
Returns:
the container associated with this deployment.
locate
default URI locate (Class <?> resourceClass)
Locates the base URI of the specific resource class.
For a servlet class, this would return the URI containing the context path of the associated ServletContext.
Parameters:
resourceClass -
Returns:
the base URI of the specific resource class.
locate
Locates the base URI of the specific resource.
Parameters:
resourceName - the name of a resource in the deployment
Returns:
a URI to be used to invoke the specified resource.