|
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
Attached to a service definition, this interface specifies in which conditions the service may be executed.
A service permission must be declared within a
service declaration,
at attribute class:
<osd:service
resourcePath="/myFirstPage.jsp"
class="com.foo.MyPermission" />
where com.foo.MyPermission is
the fully qualified name of a class implementing this interface.
It is also possible to set additional JavaBean properties:
<osd:service
resourcePath="/myFirstPage.jsp"
class="com.foo.MyPermission" >
<param1>...</param1>
<param2>...</param2>
</osd:service>
where param1 and param2 are JavaBean properties of the class specified.
For more information, read JavaBeans specification.
setParam1(...) and
setParam2(...)).
getPermission(SchemaNode, Adaptation, Session)
is called each time the associated service is potentially displayed in a Manager session.
ServiceContext| Method Summary | |
ActionPermission |
getPermission(SchemaNode aNode,
Adaptation anAdaptation,
Session aSession)
Returns a permission for the arguments specified. |
| Method Detail |
public ActionPermission getPermission(SchemaNode aNode,
Adaptation anAdaptation,
Session aSession)
For a single instance of this interface, this method may be called concurrently by several threads.
|
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
(report a bug)
EBX.Platform 4.5.2 [0601:0004]
Copyright Orchestra Networks 2000-2008. All rights reserved.