|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.ow2.jasmine.interfaces.snmp.SNMPResourceAdapter
public class SNMPResourceAdapter
This class implements a connector to provide SNMP communications.
SNMPAgent| Constructor Summary | |
|---|---|
SNMPResourceAdapter()
|
|
| Method Summary | |
|---|---|
void |
endpointActivation(javax.resource.spi.endpoint.MessageEndpointFactory arg0,
javax.resource.spi.ActivationSpec arg1)
Not used |
void |
endpointDeactivation(javax.resource.spi.endpoint.MessageEndpointFactory arg0,
javax.resource.spi.ActivationSpec arg1)
Not used |
javax.transaction.xa.XAResource[] |
getXAResources(javax.resource.spi.ActivationSpec[] arg0)
Not used |
void |
setIncomingRequestAddress(java.lang.String incomingRequestAddress)
Defines the ip address of incoming requests. |
void |
setIncomingRequestPort(java.lang.String incomingRequestPort)
Defines the port of incoming requests. |
void |
setTrapDestinationAddress(java.lang.String trapDestinationAddress)
Defines ip addresses for traps destination. |
void |
setTrapDestinationPort(java.lang.String trapDestinationPort)
Defines the port of traps destination. |
void |
start(javax.resource.spi.BootstrapContext arg0)
This is called when the resource adapter instance is bootstrapped. |
void |
stop()
This is called when the resource adapter instance is undeployed or during application server shutdown. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SNMPResourceAdapter()
| Method Detail |
|---|
public void start(javax.resource.spi.BootstrapContext arg0)
throws javax.resource.spi.ResourceAdapterInternalException
start in interface javax.resource.spi.ResourceAdapterjavax.resource.spi.ResourceAdapterInternalExceptionpublic void stop()
stop in interface javax.resource.spi.ResourceAdapterpublic void setIncomingRequestAddress(java.lang.String incomingRequestAddress)
incomingRequestAddress - the ip address of incoming requests.public void setIncomingRequestPort(java.lang.String incomingRequestPort)
incomingRequestPort - the port of incoming requests.public void setTrapDestinationAddress(java.lang.String trapDestinationAddress)
trapDestinationAddress - an ip address for traps destination.public void setTrapDestinationPort(java.lang.String trapDestinationPort)
trapDestinationPort - the port of traps destination.
public void endpointActivation(javax.resource.spi.endpoint.MessageEndpointFactory arg0,
javax.resource.spi.ActivationSpec arg1)
throws javax.resource.ResourceException
endpointActivation in interface javax.resource.spi.ResourceAdapterarg0 - Not usedarg1 - Not used
javax.resource.ResourceException
public void endpointDeactivation(javax.resource.spi.endpoint.MessageEndpointFactory arg0,
javax.resource.spi.ActivationSpec arg1)
endpointDeactivation in interface javax.resource.spi.ResourceAdapterarg0 - Not usedarg1 - Not used
public javax.transaction.xa.XAResource[] getXAResources(javax.resource.spi.ActivationSpec[] arg0)
throws javax.resource.ResourceException
getXAResources in interface javax.resource.spi.ResourceAdapterarg0 - Not used
javax.resource.ResourceException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||