de.smartics.properties.admin.resources.controller
Class PropertyDescriptorsResource

Package class diagram package PropertyDescriptorsResource
java.lang.Object
  extended by de.smartics.properties.admin.resources.controller.PropertyDescriptorsResource

@Path(value="")
@RolesAllowed(value="view")
public class PropertyDescriptorsResource
     
     
extends Object

Provides access to property descriptors used by the application.


Constructor Summary
PropertyDescriptorsResource()
           
 
Method Summary
 PropertyDescriptors getAsHtml()
          Returns the property descriptors registered with the application.
 PropertyDescriptors getAsXml()
          Returns the property descriptors registered with the application.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PropertyDescriptorsResource

public PropertyDescriptorsResource()
Method Detail

getAsHtml

@GET
@Path(value="/descriptors")
@Produces(value="text/html")
public PropertyDescriptors getAsHtml()
Returns the property descriptors registered with the application.

Returns:
the HTML representation.

getAsXml

@GET
@Path(value="/descriptors")
@Produces(value={"application/xml","text/xml"})
public PropertyDescriptors getAsXml()
Returns the property descriptors registered with the application.

Returns:
the HTML representation.


Copyright © 2013 Kronseder & Reiner GmbH - smartics. All Rights Reserved.