root/trunk/src/main/php/net/stubbles/service/annotations/stubWebMethodAnnotation.php

Revision 1226, 0.8 kB (checked in by mikey, 4 months ago)

continued refactoring #119: replaced package dots in net::stubbles::service

Line 
1 <?php
2 /**
3  * Annotation to mark a method as a service method
4  *
5  * @author      Stephan Schmidt <schst@stubbles.net>
6  * @package     stubbles
7  * @subpackage  service_annotations
8  */
9 stubClassLoader::load('net::stubbles::reflection::annotations::stubAnnotation',
10                       'net::stubbles::reflection::annotations::stubAbstractAnnotation'
11 );
12 /**
13  * Annotation to mark a method as a service method
14  *
15  * Use this annotation, if you do not want a property to be serialized.
16  *
17  * @package     stubbles
18  * @subpackage  service_annotations
19  */
20 class stubWebMethodAnnotation extends stubAbstractAnnotation implements stubAnnotation
21 {
22     /**
23      * Returns the target of the annotation as bitmap.
24      *
25      * @return  int
26      */
27     public function getAnnotationTarget()
28     {
29         return stubAnnotation::TARGET_METHOD;
30     }
31 }
32 ?>
Note: See TracBrowser for help on using the browser.