|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.jboss.resource.adapter.mail.inflow.MailActivation
The MailActivation encapsulates a MailResourceAdapter#endpointActivation
ResourceAdapter.endpointActivation(MessageEndpointFactory,javax.resource.spi.ActivationSpec)
| Field Summary | |
protected javax.resource.spi.endpoint.MessageEndpointFactory |
endpointFactory
The message endpoint factory |
static Method |
ON_MESSAGE
The MailListener.onMessage method |
protected MailResourceAdapter |
ra
The resource adapter |
protected MailActivationSpec |
spec
The activation spec for the mail folder |
| Constructor Summary | |
MailActivation(MailResourceAdapter ra,
javax.resource.spi.endpoint.MessageEndpointFactory endpointFactory,
MailActivationSpec spec)
|
|
| Method Summary | |
int |
compareTo(Object obj)
|
long |
getNextNewMsgCheckTime()
|
boolean |
isReleased()
|
void |
release()
|
void |
run()
|
void |
updateNextNewMsgCheckTime(long now)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public static final Method ON_MESSAGE
protected MailResourceAdapter ra
protected MailActivationSpec spec
protected javax.resource.spi.endpoint.MessageEndpointFactory endpointFactory
| Constructor Detail |
public MailActivation(MailResourceAdapter ra, javax.resource.spi.endpoint.MessageEndpointFactory endpointFactory, MailActivationSpec spec)
| Method Detail |
public long getNextNewMsgCheckTime()
public void updateNextNewMsgCheckTime(long now)
public int compareTo(Object obj)
compareTo in interface Comparablepublic boolean isReleased()
public void release()
release in interface javax.resource.spi.work.Workpublic void run()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||