|
Oracle Fusion Middleware Java API Reference for Oracle WebLogic Server 12c (12.1.3) Part Number E41849-02 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |
@Retention(value=CLASS) @Target(value=java.lang.annotation.ElementType.TYPE) public @interface Session
Required Element Summary | |
---|---|
String |
ejbName
Names this Session bean. |
Optional Element Summary | |
---|---|
Constants.Bool |
allowConcurrentCalls
(True|False) Specifies whether to allow concurrent calls on that EJB. |
Constants.Bool |
allowRemoveDuringTransaction
(True|False) Specifies whether remove() can be invoked during a transaction. |
String |
beanLoadAlgorithm
Specifies the algorithm to be used for load-balancing among replicas of this bean. |
Session.CacheType |
cacheType
(NRU|LRU) Specifies the type of the cache for this stateful Session bean. |
String |
callRouterClassName
Gives class name to be used for routing home method calls. |
Constants.Bool |
clientsOnSameServer
(True|False) Specifies whether the clients are colocated with the EJB on the same server. |
String |
createAsPrincipalName
Names the principal to be used when ejbCreate would otherwise run with an anonymous principal. |
Constants.TransactionAttribute |
defaultTransaction
(NotSupported|Supports|Required|RequiresNew|Mandatory|Never) Specifies the transaction attribute to be applied to all methods that do not have a specific transaction attribute setting. |
String |
dispatchPolicy
Specifies the dispatch policy queue for this bean. |
Constants.Bool |
enableCallByReference
(True|False) Specifies whether the container will call this EJB by reference. |
String |
homeCallRouterClassName
Names class to be used for routing home method calls. |
Constants.Bool |
homeIsClusterable
(True|False) Specifies whether this bean can be deployed from multiple servers in a cluster. |
Constants.HomeLoadAlgorithm |
homeLoadAlgorithm
(RoundRobin|Random|WeightBased|RoundRobinAffinity|RandomAffinity|WeightBasedAffinity) Specifies the algorithm to use for load-balancing between replicas of this home. |
String |
idleTimeoutSeconds
Specifies the maximum duration an EJB remains cached. |
String |
initialBeansInFreePool
Specifies the initial number of beans in the free pool. |
Constants.Bool |
isClusterable
(True|False) Sets whether this bean is clusterable. |
String |
maxBeansInCache
Specifies the maximum number of beans in the cache. |
String |
maxBeansInFreePool
Specifies the maximum number of beans in the free pool. |
Constants.Bool |
methodsAreIdempotent
(True|False) Specifies whether the methods for this stateless session bean are idempotent or not. |
String |
networkAccessPoint
Assigns a custom network channel that the EJB will use for network communications. |
String |
passivateAsPrincipalName
Names the principal to be used when ejbPassivate would otherwise run with an anonymous principal. |
String |
persistentStoreDir
Specifies the directory in which to store the passivated beans. |
String |
remoteClientTimeout
remote client timeout |
String |
removeAsPrincipalName
Names the principal to be used when ejbRemove would otherwise run with an anonymous principal. |
Session.ReplicationType |
replicationType
(InMemory|None) Specifies how to replicate stateful session beans in a cluster. |
String |
runAs
Specifies the role-name for this EJB. |
String |
runAsIdentityPrincipal
Specifies the name of the principal when the role maps to several principals. |
String |
runAsPrincipalName
Specifies the name of the principal when the role maps to several principals. |
String |
serviceEndpoint
The fully-qualified name of the enterprise beans web service endpoint interface. |
String |
sessionTimeoutSeconds
Specifies the number of seconds an EJB stays alive before being passivated. |
String |
timerPersistentStore
Specifies the name of a persistent store on the server's file system where WebLogic Server stores timer objects. |
Session.SessionTransactionType |
transactionType
(Bean|Container) Specifies who manages the transactions for this EJB. |
String |
transTimeoutSeconds
Specifies the transaction timeout (in seconds). |
Session.SessionType |
type
(Stateless|Stateful) Specifies the type of the Session bean. |
Constants.Bool |
useCallerIdentity
(True|False) Specifies whether this EJB uses callers identity. |
Element Detail |
---|
public abstract String ejbName
public abstract Constants.Bool isClusterable
public abstract Session.ReplicationType replicationType
public abstract Constants.Bool clientsOnSameServer
public abstract String serviceEndpoint
public abstract Constants.Bool useCallerIdentity
public abstract String persistentStoreDir
public abstract String callRouterClassName
public abstract Constants.TransactionAttribute defaultTransaction
public abstract Constants.Bool methodsAreIdempotent
public abstract String runAsIdentityPrincipal
public abstract String runAsPrincipalName
public abstract Constants.Bool enableCallByReference
public abstract String dispatchPolicy
public abstract String passivateAsPrincipalName
public abstract String maxBeansInCache
public abstract String initialBeansInFreePool
public abstract Constants.Bool allowRemoveDuringTransaction
public abstract String idleTimeoutSeconds
public abstract Session.SessionType type
public abstract String removeAsPrincipalName
public abstract String transTimeoutSeconds
public abstract Session.SessionTransactionType transactionType
public abstract Constants.Bool allowConcurrentCalls
public abstract String maxBeansInFreePool
public abstract String sessionTimeoutSeconds
public abstract String beanLoadAlgorithm
public abstract Constants.HomeLoadAlgorithm homeLoadAlgorithm
public abstract Session.CacheType cacheType
public abstract String runAs
public abstract Constants.Bool homeIsClusterable
public abstract String homeCallRouterClassName
public abstract String createAsPrincipalName
public abstract String networkAccessPoint
public abstract String timerPersistentStore
public abstract String remoteClientTimeout
|
Copyright 1996, 2014, Oracle and/or its affiliates. All rights reserved. Oracle is a registered trademark of Oracle Corporation and/or its affiliates. Other names may be trademarks of their respective owners. Oracle Fusion Middleware Java API Reference for Oracle WebLogic Server 12c (12.1.3) Part Number E41849-02 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |