Module EJBRestrictions
Provides classes and predicates for modeling EJB Programming Restrictions (see EJB 3.0 specification, section 21.1.2).
Import path
import semmle.code.java.frameworks.javaee.ejb.EJBRestrictionsImports
Predicates
| ejbCalls | Holds if there exists a call chain from an EJB- |
| forbiddenStaticFieldUse | Gets an access to a non-final static field in callable |
| forbiddenThisUse | Gets an access to |
Classes
| ClassLoaderClass | The class |
| ConcurrentPackage | The package |
| EnableReplaceObjectMethod | A method named |
| EnableResolveObjectMethod | A method named |
| FileInputOutputClass | A class involving file input or output. |
| ForbiddenCallable | A method or constructor that may not be called from an EJB. |
| ForbiddenContainerInterferenceCallable | A method or constructor that may not be called by an EJB due to container interference. |
| ForbiddenContainerInterferenceMethod | A method that may cause EJB container interference. |
| ForbiddenFileCallable | A method or constructor involving file input or output that may not be called by an EJB. |
| ForbiddenGraphicsCallable | A method or constructor involving graphics operations that may not be called by an EJB. |
| ForbiddenNativeCallable | A method or constructor involving native code that may not be called by an EJB. |
| ForbiddenNativeCodeMethod | A method involving native code that may not be called by an EJB. |
| ForbiddenReflectionCallable | A method or constructor involving reflection that may not be called by and EJB. |
| ForbiddenSecurityConfigurationCallable | A method or constructor involving security configuration that may not be called by an EJB. |
| ForbiddenSerializationCallable | A method or constructor involving serialization that may not be called by an EJB. |
| ForbiddenSerializationMethod | A method involving serialization that may not be called from an EJB. |
| ForbiddenServerSocketCallable | A method or constructor involving server socket operations that may not be called by an EJB. |
| ForbiddenSetFactoryCallable | A method or constructor involving network factory operations that may not be called by an EJB. |
| ForbiddenSetFactoryMethod | A method involving network factory operations that may not be called from an EJB. |
| ForbiddenStaticFieldCallable | A method or constructor involving static field access that may not be called by an EJB. |
| ForbiddenSynchronizationCallable | A method or constructor involving synchronization that may not be called by an EJB. |
| ForbiddenThisCallable | A method or constructor referencing |
| ForbiddenThreadingCallable | A method or constructor involving thread operations that may not be called by an EJB. |
| GraphicsPackage | The package |
| ReflectionPackage | The package |
| ReplaceObjectMethod | A method named |
| ResolveClassMethod | A method named |
| ResolveObjectMethod | A method named |
| ResolveProxyClassMethod | A method named |
| RuntimeAddOrRemoveShutdownHookMethod | A method named |
| RuntimeExecMethod | A method named |
| RuntimeExitOrHaltMethod | A method named |
| SecurityConfigClass | A class in the package |
| SecurityManagerClass | The class |
| ServerSocketsClass | The class |
| SetSocketFactoryMethod | A method named |
| SetSocketImplFactoryMethod | A method named |
| SetUrlStreamHandlerFactoryMethod | A method named |
| SystemExitMethod | A method named |
| SystemGetSecurityManagerMethod | A method named |
| SystemInheritedChannelMethod | A method named |
| SystemOrRuntimeLoadLibraryMethod | A method named |
| SystemSetInputStreamMethod | A method named |
| SystemSetPrintStreamMethod | A method named |
| SystemSetSecurityManagerMethod | A method named |
| ThreadingClass | The class |