|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.jboss.soa.esb.addressing.EPR org.jboss.soa.esb.addressing.eprs.HibernateEpr
public class HibernateEpr
This class is a helper class for using Hibernate EPRs.
Field Summary | |
---|---|
static java.lang.String |
CLASS_NAME_TAG
|
static java.lang.String |
DATA_FIELD_TAG
|
static java.lang.String |
DEFAULT_REPLY_TO_CLASS_SUFFIX
|
static java.lang.String |
DELETE_LISTENER
|
static java.lang.String |
ERROR_DEL_TAG
|
static java.lang.String |
EVENT_TAG
|
static java.lang.String |
HIBERNATE_CFG_TAG
|
static java.lang.String |
LOAD_LISTENER
|
static java.lang.String |
MESSAGE_FIELD_TAG
|
static java.lang.String |
POST_DEL_TAG
|
static java.lang.String |
SAVE_LISTENER
|
static java.lang.String |
STATUS_FIELD_TAG
|
static java.lang.String |
TIMESTAMP_FIELD_TAG
|
Constructor Summary | |
---|---|
HibernateEpr(EPR epr)
|
|
HibernateEpr(EPR epr,
org.w3c.dom.Element header)
|
Method Summary | |
---|---|
protected void |
changeClassName(java.lang.String className)
|
EPR |
copy()
Return a copy of this EPR. |
PortReference |
getAddr()
Get the EPR address. |
java.lang.String |
getClassName()
|
java.lang.String |
getDataField()
|
java.lang.String |
getEvent()
|
java.lang.String |
getHibernateCfgFile()
|
java.lang.String |
getMessageField()
|
java.lang.String |
getStatusField()
|
java.lang.String |
getTimestampColumn()
|
boolean |
isDeleteListener()
|
boolean |
isLoadListener()
|
boolean |
isSaveListener()
|
void |
setAddr(PortReference uri)
Override the address of this EPR. |
void |
setClassName(java.lang.String className)
Set the tablename that is used by this EPR. |
void |
setDataField(java.lang.String dataField)
Set the field that is used by this EPR to store message data. |
void |
setDeleteListener(boolean deleteListener)
|
void |
setEvent(java.lang.String eventName)
Set the event that is used by this EPR. |
void |
setHibernateCfgFile(java.lang.String cfgFile)
Set the tablename that is used by this EPR. |
void |
setLoadListener(boolean loadListener)
|
void |
setMessageField(java.lang.String messageFieldName)
|
void |
setSaveListener(boolean saveListener)
|
void |
setStatusField(java.lang.String statusField)
Set the status column that is used by this EPR. |
void |
setTimestampField(java.lang.String timeField)
Set the column that is used by this EPR to store timestamp when the message was inserted. |
java.lang.String |
toString()
|
static java.net.URI |
type()
|
Methods inherited from class org.jboss.soa.esb.addressing.EPR |
---|
equals, getURI, setURI |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String LOAD_LISTENER
public static final java.lang.String SAVE_LISTENER
public static final java.lang.String DELETE_LISTENER
public static final java.lang.String CLASS_NAME_TAG
public static final java.lang.String EVENT_TAG
public static final java.lang.String HIBERNATE_CFG_TAG
public static final java.lang.String MESSAGE_FIELD_TAG
public static final java.lang.String STATUS_FIELD_TAG
public static final java.lang.String DATA_FIELD_TAG
public static final java.lang.String TIMESTAMP_FIELD_TAG
public static final java.lang.String POST_DEL_TAG
public static final java.lang.String ERROR_DEL_TAG
public static final java.lang.String DEFAULT_REPLY_TO_CLASS_SUFFIX
Constructor Detail |
---|
public HibernateEpr(EPR epr)
public HibernateEpr(EPR epr, org.w3c.dom.Element header)
Method Detail |
---|
public PortReference getAddr()
EPR
getAddr
in class EPR
public void setAddr(PortReference uri)
EPR
setAddr
in class EPR
uri
- the new address.public final java.lang.String getHibernateCfgFile() throws java.net.URISyntaxException
java.net.URISyntaxException
- thrown if this EPR is malformed.public final void setHibernateCfgFile(java.lang.String cfgFile) throws java.net.URISyntaxException
cfgFile
- the table name.
java.net.URISyntaxException
- thrown if this EPR is malformed.public final void setClassName(java.lang.String className) throws java.net.URISyntaxException
className
- the table name.
java.net.URISyntaxException
- thrown if this EPR is malformed.public final java.lang.String getClassName() throws java.net.URISyntaxException
java.net.URISyntaxException
- thrown if this EPR is malformed.public final void setEvent(java.lang.String eventName) throws java.net.URISyntaxException
eventName
- the table name.
java.net.URISyntaxException
- thrown if this EPR is malformed.public final java.lang.String getEvent() throws java.net.URISyntaxException
java.net.URISyntaxException
- thrown if this EPR is malformed.public final void setStatusField(java.lang.String statusField) throws java.net.URISyntaxException
statusField
- the status field.
java.net.URISyntaxException
- thrown if this EPR is malformed.public final java.lang.String getStatusField() throws java.net.URISyntaxException
java.net.URISyntaxException
- thrown if this EPR is malformed.public final void setMessageField(java.lang.String messageFieldName) throws java.net.URISyntaxException
messageFieldName
-
java.net.URISyntaxException
- thrown if this EPR is malformed.public final java.lang.String getMessageField() throws java.net.URISyntaxException
java.net.URISyntaxException
- thrown if this EPR is malformed.public final void setTimestampField(java.lang.String timeField) throws java.net.URISyntaxException
timeField
- the column name.
java.net.URISyntaxException
- thrown if this EPR is malformed.public final java.lang.String getTimestampColumn() throws java.net.URISyntaxException
java.net.URISyntaxException
- thrown if this EPR is malformed.public final void setDataField(java.lang.String dataField) throws java.net.URISyntaxException
dataField
- the column name.
java.net.URISyntaxException
- thrown if this EPR is malformed.public final java.lang.String getDataField() throws java.net.URISyntaxException
java.net.URISyntaxException
- thrown if this EPR is malformed.public boolean isDeleteListener()
public void setDeleteListener(boolean deleteListener)
public boolean isLoadListener()
public void setLoadListener(boolean loadListener)
public boolean isSaveListener()
public void setSaveListener(boolean saveListener)
public java.lang.String toString()
toString
in class EPR
public EPR copy()
EPR
copy
in class EPR
protected final void changeClassName(java.lang.String className) throws java.net.URISyntaxException
java.net.URISyntaxException
public static final java.net.URI type()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |