public class EJBResource extends JavaEEResource
Modifier and Type | Field and Description |
---|---|
static String |
EJB_VERSION_1_1 |
static String |
EJB_VERSION_2_0 |
static String |
EJB_VERSION_3_0 |
callerRunAsIdentity, callerSubject, codeSource, map, policyContextID, principal, securityRoleReferences
Constructor and Description |
---|
EJBResource(Map<String,Object> map)
Create a new EJBResource.
|
Modifier and Type | Method and Description |
---|---|
Method |
getEjbMethod()
Get the EJB Method
|
String |
getEjbMethodInterface()
Get the EJB Method Interface as a String
|
RoleGroup |
getEjbMethodRoles()
Get the Roles assigned to the EJB method
|
String |
getEjbName()
Get the EJB Name
|
String |
getEjbVersion()
Get the version of EJB
|
ResourceType |
getLayer() |
boolean |
isEnforceEJBRestrictions()
Specify the EJB1.1 role ref restriction that
the rolename has to be present in the DD
|
void |
setEjbMethod(Method ejbMethod)
Set the EJB Method
|
void |
setEjbMethodInterface(String ejbMethodInterface)
Set the EJB Method Interface as a String
|
void |
setEjbMethodRoles(RoleGroup ejbMethodRoles)
Set the roles assigned to the EJB Method
|
void |
setEjbName(String ejbName)
Set the EJB Name
|
void |
setEjbVersion(String version)
Set the version of EJB
|
void |
setEnforceEJBRestrictions(boolean enforceEJBRestrictions) |
String |
toString() |
add, getCallerRunAsIdentity, getCallerSubject, getCodeSource, getMap, getPolicyContextID, getPrincipal, getSecurityRoleReferences, setCallerRunAsIdentity, setCallerSubject, setCodeSource, setPolicyContextID, setPrincipal, setSecurityRoleReferences
public static final String EJB_VERSION_1_1
public static final String EJB_VERSION_2_0
public static final String EJB_VERSION_3_0
public ResourceType getLayer()
getLayer
in interface Resource
getLayer
in class JavaEEResource
Resource.getLayer()
public String getEjbName()
public void setEjbName(String ejbName)
ejbName
- public Method getEjbMethod()
public void setEjbMethod(Method ejbMethod)
ejbMethod
- public String getEjbMethodInterface()
public void setEjbMethodInterface(String ejbMethodInterface)
ejbMethodInterface
- public RoleGroup getEjbMethodRoles()
public void setEjbMethodRoles(RoleGroup ejbMethodRoles)
ejbMethodRoles
- public boolean isEnforceEJBRestrictions()
public void setEnforceEJBRestrictions(boolean enforceEJBRestrictions)
enforceEJBRestrictions
- isEnforceEJBRestrictions()
public String getEjbVersion()
public void setEjbVersion(String version)
version
- Copyright © 2017 JBoss by Red Hat. All rights reserved.