当前页面:
在线文档首页 >
JBoss 4.0.1 sp1 server API Documentation 英文版文档
EnterpriseBeanPolicyContextHandler (JBoss Server API) - JBoss 4.0.1 sp1 server API Documentation 英文版文档
org.jboss.ejb.plugins
Class EnterpriseBeanPolicyContextHandler
java.lang.Object
org.jboss.ejb.plugins.EnterpriseBeanPolicyContextHandler
- All Implemented Interfaces:
- javax.security.jacc.PolicyContextHandler
- public class EnterpriseBeanPolicyContextHandler
- extends Object
- implements javax.security.jacc.PolicyContextHandler
A PolicyContextHandler for the active EnterpriseBean
- Version:
- $Revison:$
- Author:
- Scott.Stark@jboss.org
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
EJB_CONTEXT_KEY
public static final String EJB_CONTEXT_KEY
- See Also:
- Constant Field Values
EnterpriseBeanPolicyContextHandler
public EnterpriseBeanPolicyContextHandler()
getContext
public Object getContext(String key,
Object data)
throws javax.security.jacc.PolicyContextException
- Access the EJB policy context data.
- Specified by:
getContext
in interface javax.security.jacc.PolicyContextHandler
- Parameters:
key
- - "javax.ejb.EnterpriseBean"data
- currently unused
- Returns:
- The active EnterpriseBean
- Throws:
javax.security.jacc.PolicyContextException
getKeys
public String[] getKeys()
throws javax.security.jacc.PolicyContextException
- Specified by:
getKeys
in interface javax.security.jacc.PolicyContextHandler
- Throws:
javax.security.jacc.PolicyContextException
supports
public boolean supports(String key)
throws javax.security.jacc.PolicyContextException
- Specified by:
supports
in interface javax.security.jacc.PolicyContextHandler
- Throws:
javax.security.jacc.PolicyContextException
Copyright © 2002 JBoss Group, LLC. All Rights Reserved.