org.apache.avalon.meta.info.builder.tags
Class SecurityTag

java.lang.Object
  extended byorg.apache.avalon.meta.info.builder.tags.AbstractTag
      extended byorg.apache.avalon.meta.info.builder.tags.SecurityTag

public class SecurityTag
extends AbstractTag

A doclet tag the declares a service definition.

Version:
$Revision: 1.3 $ $Date: 2004/03/17 10:50:03 $
Author:
Avalon Development Team

Field Summary
static String ACTIONS_PARAM
          The version parameter
static String CLASSNAME_PARAM
          The version parameter
static String KEY
          Javadoc tag key for the name tag.
static String NAME_PARAM
          The version parameter
static String PERMISSION_KEY
          Javadoc tag key for the permission tag.
 
Fields inherited from class org.apache.avalon.meta.info.builder.tags.AbstractTag
TYPE_PARAM, VERSION_PARAM
 
Constructor Summary
SecurityTag(JavaClass clazz)
          Type tag constructor.
 
Method Summary
 PermissionDescriptor getPermission(DocletTag tag)
          Return the value of the Avalon 'service' tag.
 PermissionDescriptor[] getPermissions()
          Return the array of dependency descriptors based on the set of 'dependency' tags associated with the components compose or service method.
 SecurityDescriptor getSecurityDescriptor()
           
 
Methods inherited from class org.apache.avalon.meta.info.builder.tags.AbstractTag
getJavaClass, getLifecycleMethods, getNamedParameter, getNamedParameter, getNS, getNSD, resolveType, resolveVersion, resolveVersion
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

KEY

public static final String KEY
Javadoc tag key for the name tag.

See Also:
Constant Field Values

PERMISSION_KEY

public static final String PERMISSION_KEY
Javadoc tag key for the permission tag.

See Also:
Constant Field Values

CLASSNAME_PARAM

public static final String CLASSNAME_PARAM
The version parameter

See Also:
Constant Field Values

NAME_PARAM

public static final String NAME_PARAM
The version parameter

See Also:
Constant Field Values

ACTIONS_PARAM

public static final String ACTIONS_PARAM
The version parameter

See Also:
Constant Field Values
Constructor Detail

SecurityTag

public SecurityTag(JavaClass clazz)
Type tag constructor.

Parameters:
clazz - the javadoc class descriptor
Method Detail

getSecurityDescriptor

public SecurityDescriptor getSecurityDescriptor()

getPermissions

public PermissionDescriptor[] getPermissions()
Return the array of dependency descriptors based on the set of 'dependency' tags associated with the components compose or service method.

Returns:
the set of dependencies

getPermission

public PermissionDescriptor getPermission(DocletTag tag)
Return the value of the Avalon 'service' tag.

Returns:
the service descriptor or null if no service is declared


Copyright © The Apache Software Foundation. All Rights Reserved.