Update of
/cvsroot/xdoclet-plugins/xdoclet-plugins/plugin-ejb/src/main/java/org/xdoclet/plugin/ejb/qtags/parameter
In directory
sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv6746/plugin-ejb/src/main/java/org/xdoclet/plugin/ejb/qtags/parameter
Added Files:
ViewType.java MethodPermissionRoles.java RoleList.java
Log Message:
alpha commit
--- NEW FILE: MethodPermissionRoles.java ---
/*
* Copyright (c) 2005
* XDoclet Team
* All rights reserved.
*/
package org.xdoclet.plugin.ejb.qtags.parameter;
/**
* @author Diogo Quintela
*/
public interface MethodPermissionRoles extends RoleList {
/**
* Flags the method as having unchecked permission.
* role-names must be omitted for this tag mean something
* Applies to EJB 2.0+
*
* @qtags.default false
*/
boolean isUnchecked();
}
--- NEW FILE: ViewType.java ---
/*
* Copyright (c) 2005
* XDoclet Team
* All rights reserved.
*/
package org.xdoclet.plugin.ejb.qtags.parameter;
/**
* Specify which view-type the method/bean will be exposed in.
*
* @author Diogo Quintela
*/
public interface ViewType {
/**
* Specify which view-type the method/bean will be exposed in.
* The value "local" or "both" is only applicable to EJB 2.0 beans.
* The values "service-endpoint", "local-service-endpoint",
"remote-service-endpoint",
* and "all" are only applicable to EJB 2.1 beans.
*
* Used in:
* @ejb.bean - Indicates what view-type(s) is(are) supported by the
bean.
* Default value(s): "remote" for EJB 1.1 or "both" for
EJB 2.0+
* @ejb.permission - Indicates the view-type(s) for which this
permission applies.
* This parameter must not be set if "method-intf"
is set.
* Default value(s): the view-type for the bean /
method
* @ejb.interface-method - Optionally specify which view-type the
method will be exposed in.
* Default value(s): the view-type for the bean
*
* @qtags.allowed-value local
* @qtags.allowed-value remote
* @qtags.allowed-value both
* @qtags.allowed-value service-endpoint
* @qtags.allowed-value remote-service-endpoint
* @qtags.allowed-value local-service-endpoint
* @qtags.allowed-value all
*/
String getViewType();
}
--- NEW FILE: RoleList.java ---
/*
* Copyright (c) 2005
* XDoclet Team
* All rights reserved.
*/
package org.xdoclet.plugin.ejb.qtags.parameter;
/**
* @author Diogo Quintela
*/
public interface RoleList {
/**
* Comma-separated list of roles allowed to call this method
*
* Used in:
* @ejb.finder - xdoclet1 calls this tag role-name and not role-names
* @ejb.permission - xdoclet1 calls this tag role-name and not
role-names
* @ejb.pk - xdoclet1 calls this tag role-name and not role-names
* @ejb.security-roles
*/
String[] getRoleNames();
}
-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
xdoclet-plugins-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xdoclet-plugins-commits