public class EJBViewMethodSecurityAttributesService extends Object implements org.jboss.msc.service.Service<EJBViewMethodSecurityAttributesService>
Service which can be used by other components like WS to get the security metadata associated with methods on an Jakarta Enterprise Beans view.for more details.| Modifier and Type | Class and Description |
|---|---|
static class |
EJBViewMethodSecurityAttributesService.Builder |
| Constructor and Description |
|---|
EJBViewMethodSecurityAttributesService(Map<Method,EJBMethodSecurityAttribute> securityAttributes) |
| Modifier and Type | Method and Description |
|---|---|
EJBMethodSecurityAttribute |
getSecurityAttributes(Method viewMethod)
Returns the
EJBMethodSecurityAttribute associated with the passed view method. |
static org.jboss.msc.service.ServiceName |
getServiceName(String appName,
String moduleName,
String beanName,
String viewClassName)
Returns a
ServiceName for the EJBViewMethodSecurityAttributesService |
EJBViewMethodSecurityAttributesService |
getValue() |
void |
start(org.jboss.msc.service.StartContext startContext) |
void |
stop(org.jboss.msc.service.StopContext stopContext) |
public EJBViewMethodSecurityAttributesService(Map<Method,EJBMethodSecurityAttribute> securityAttributes)
public void start(org.jboss.msc.service.StartContext startContext)
throws org.jboss.msc.service.StartException
start in interface org.jboss.msc.Serviceorg.jboss.msc.service.StartExceptionpublic void stop(org.jboss.msc.service.StopContext stopContext)
stop in interface org.jboss.msc.Servicepublic EJBViewMethodSecurityAttributesService getValue() throws IllegalStateException, IllegalArgumentException
getValue in interface org.jboss.msc.value.Value<EJBViewMethodSecurityAttributesService>IllegalStateExceptionIllegalArgumentExceptionpublic EJBMethodSecurityAttribute getSecurityAttributes(Method viewMethod)
EJBMethodSecurityAttribute associated with the passed view method. This method returns null if no security attribute is applicable for the passed methodviewMethod - public static org.jboss.msc.service.ServiceName getServiceName(String appName, String moduleName, String beanName, String viewClassName)
ServiceName for the EJBViewMethodSecurityAttributesServiceappName - The application name to which the bean belongs. Can be null if the bean is not deployed in a .earmoduleName - The module name to which the bean belongsbeanName - The bean nameviewClassName - The fully qualified class name of the EJB viewCopyright © 2022 JBoss by Red Hat. All rights reserved.