Searched refs:LockType (Results 1 - 25 of 134) sorted by relevance

123456

/glassfish-3.1.2/ejb/javax.ejb/src/main/java/javax/ejb/
H A DLockType.java48 public enum LockType { enum
H A DLock.java68 LockType value() default LockType.WRITE;
/glassfish-3.1.2/ejb/ejb-container/src/main/java/com/sun/ejb/
H A DMethodLockInfo.java48 import javax.ejb.LockType;
60 private LockType lockType = LockType.WRITE;
68 public void setLockType(LockType type) {
78 return (lockType == LockType.READ);
82 return (lockType == LockType.WRITE);
/glassfish-3.1.2/common/glassfish-api/src/main/java/org/glassfish/api/admin/
H A DCommandLock.java65 public enum LockType { NONE, SHARED, EXCLUSIVE }; enum in interface:CommandLock
72 LockType value();
H A DAdminCommandLock.java100 * Return the appropriate Lock object for the specified LockType.
101 * The returned lock has not been locked. If the LockType is
104 * @param type the LockType
107 public Lock getLock(CommandLock.LockType type) {
108 if (type == CommandLock.LockType.SHARED)
110 if (type == CommandLock.LockType.EXCLUSIVE)
125 if (alock == null || alock.value() == CommandLock.LockType.SHARED)
127 if (alock.value() == CommandLock.LockType.EXCLUSIVE)
151 if (alock == null || alock.value() == CommandLock.LockType.SHARED)
153 else if (alock.value() == CommandLock.LockType
[all...]
/glassfish-3.1.2/cluster/admin/src/main/java/com/sun/enterprise/v3/admin/cluster/
H A DPingNodeSshCommand.java57 @CommandLock(CommandLock.LockType.NONE)
/glassfish-3.1.2/cluster/admin/src/main/java/com/sun/enterprise/v3/admin/cluster/dcom/
H A DPingNodeDcomCommand.java57 @CommandLock(CommandLock.LockType.NONE)
/glassfish-3.1.2/ejb/ejb-connector/src/main/java/org/glassfish/ejb/deployment/annotation/handlers/
H A DLockHandler.java93 LockType lockType = lockAnn.value();
111 if( lockAnn.value() == LockType.WRITE) {
175 if( lockAnn.value() == LockType.WRITE) {
/glassfish-3.1.2/ejb/ejb-container/src/main/java/com/sun/ejb/containers/
H A DCMCSingletonContainer.java52 import javax.ejb.LockType;
81 defaultMethodLockInfo.setLockType(LockType.WRITE);
/glassfish-3.1.2/connectors/admin/src/main/java/org/glassfish/connectors/admin/cli/internal/
H A DGetActivationSpecClass.java59 @CommandLock(CommandLock.LockType.NONE)
H A DGetAdminObjectInterfaceNames.java62 @CommandLock(CommandLock.LockType.NONE)
H A DGetBuiltInCustomResources.java61 @CommandLock(CommandLock.LockType.NONE)
H A DGetConnectionDefinitionNames.java62 @CommandLock(CommandLock.LockType.NONE)
H A DGetConnectionDefinitionPropertiesAndDefaults.java62 @CommandLock(CommandLock.LockType.NONE)
H A DGetMCFConfigProperties.java62 @CommandLock(CommandLock.LockType.NONE)
H A DGetMessageListenerConfigProperties.java62 @CommandLock(CommandLock.LockType.NONE)
H A DGetMessageListenerConfigPropertyTypes.java62 @CommandLock(CommandLock.LockType.NONE)
H A DGetMessageListenerTypes.java62 @CommandLock(CommandLock.LockType.NONE)
H A DGetResourceAdapterConfigProperties.java62 @CommandLock(CommandLock.LockType.NONE)
H A DGetSystemRarsAllowingPoolCreation.java62 @CommandLock(CommandLock.LockType.NONE)
/glassfish-3.1.2/core/kernel/src/main/java/com/sun/enterprise/v3/admin/
H A DStopDomainCommand.java62 @CommandLock(CommandLock.LockType.NONE)
H A DVersionCommand.java64 @CommandLock(CommandLock.LockType.NONE)
/glassfish-3.1.2/deployment/admin/src/main/java/org/glassfish/deployment/admin/
H A DGetTargetsCommand.java61 @CommandLock(CommandLock.LockType.NONE)
H A DListApplicationsCommand.java61 @CommandLock(CommandLock.LockType.NONE)
/glassfish-3.1.2/web/gui-plugin-common/src/main/java/org/glassfish/web/plugin/common/
H A DListWebContextParamCommand.java60 @CommandLock(CommandLock.LockType.NONE)

Completed in 29 milliseconds

123456