public final class Lock extends BodyTagTryCatchFinallyImpl
Constructor and Description |
---|
Lock() |
Modifier and Type | Method and Description |
---|---|
void |
doFinally() |
int |
doStartTag() |
void |
release() |
void |
setId(String id) |
void |
setName(String name)
set the value name
|
void |
setScope(String scope)
set the value scope
Specifies the scope as one of the following: Application, Server, or Session.
|
void |
setThrowontimeout(boolean throwontimeout)
set the value throwontimeout
Yes or No.
|
void |
setTimeout(double timeout) |
void |
setTimeout(Object oTimeout)
set the value timeout
Specifies the maximum amount of time, in seconds, to wait to obtain a lock.
|
void |
setType(String type)
set the value type
readOnly or Exclusive.
|
doCatch
doAfterBody, doInitBody, setBodyContent
doEndTag, getParent, required, required, required, required, setPageContext, setPageContext, setParent
public Lock()
public void release()
release
in interface javax.servlet.jsp.tagext.Tag
release
in class BodyTagImpl
public void setTimeout(Object oTimeout) throws PageException
timeout
- value to setPageException
public void setTimeout(double timeout)
public void setType(String type) throws ApplicationException
type
- value to setApplicationException
public void setScope(String scope) throws ApplicationException
scope
- value to setApplicationException
public void setThrowontimeout(boolean throwontimeout)
throwontimeout
- value to setpublic void setName(String name) throws ApplicationException
name
- value to setApplicationException
public int doStartTag() throws PageException
doStartTag
in interface javax.servlet.jsp.tagext.Tag
doStartTag
in class TagImpl
PageException
public void doFinally()
doFinally
in interface javax.servlet.jsp.tagext.TryCatchFinally
doFinally
in class BodyTagTryCatchFinallyImpl
Copyright © 2015 Lucee