|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.compass.spring.device.ojb.SpringOjbGpsDeviceInterceptor
public class SpringOjbGpsDeviceInterceptor
Uses Spring's AOP capabilities to attach and remove lifecycle event listeners
to the PersistenceBroker (the device acts as the listener).
Uses OjbGpsDeviceUtils to perform it on the supplied
SpringOjbGpsDevice.
Mainly used as a post interceptor with transaction proxies that manage service layer operations on an OJB enabled DAO layer.
| Constructor Summary | |
|---|---|
SpringOjbGpsDeviceInterceptor()
|
|
| Method Summary | |
|---|---|
void |
afterPropertiesSet()
|
SpringOjbGpsDevice |
getOjbGpsDevice()
Removes the SpringOjbGpsDevice to be used to attach and
remove OJB lifecycle event listeners. |
Object |
invoke(org.aopalliance.intercept.MethodInvocation methodInvocation)
Wraps the method invocation with attaching and removing lifecycle event listeners from PersistenceBroker. |
void |
setOjbGpsDevice(SpringOjbGpsDevice ojbGpsDevice)
Sets the SpringOjbGpsDevice to be used to attach and
remove OJB lifecycle event listeners. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SpringOjbGpsDeviceInterceptor()
| Method Detail |
|---|
public void afterPropertiesSet()
throws Exception
afterPropertiesSet in interface org.springframework.beans.factory.InitializingBeanException
public Object invoke(org.aopalliance.intercept.MethodInvocation methodInvocation)
throws Throwable
PersistenceBroker.
invoke in interface org.aopalliance.intercept.MethodInterceptorThrowablepublic SpringOjbGpsDevice getOjbGpsDevice()
SpringOjbGpsDevice to be used to attach and
remove OJB lifecycle event listeners.
public void setOjbGpsDevice(SpringOjbGpsDevice ojbGpsDevice)
SpringOjbGpsDevice to be used to attach and
remove OJB lifecycle event listeners.
ojbGpsDevice -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||