当前页面:
在线文档首页 >
JBoss 4.0.1 sp1 server API Documentation 英文版文档
BeanMetaDataPolicyContextHandler (JBoss Server API) - JBoss 4.0.1 sp1 server API Documentation 英文版文档
org.jboss.ejb
Class BeanMetaDataPolicyContextHandler
java.lang.Object
org.jboss.ejb.BeanMetaDataPolicyContextHandler
- All Implemented Interfaces:
- javax.security.jacc.PolicyContextHandler
- public class BeanMetaDataPolicyContextHandler
- extends Object
- implements javax.security.jacc.PolicyContextHandler
A PolicyContextHandler for the active EnterpriseBean metadata.
- 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 |
METADATA_CONTEXT_KEY
public static final String METADATA_CONTEXT_KEY
- See Also:
- Constant Field Values
BeanMetaDataPolicyContextHandler
public BeanMetaDataPolicyContextHandler()
getContext
public Object getContext(String key,
Object data)
throws javax.security.jacc.PolicyContextException
- Access the current EJB context metadata.
- Specified by:
getContext
in interface javax.security.jacc.PolicyContextHandler
- Parameters:
key
- - "org.jboss.ejb.BeanMetaData"data
- currently unused
- Returns:
- The active org.jboss.metadata.BeanMetaData subclass
- 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.