com.wewebu.ow.server.ecm.eaop
Class OwReflectiveCollector
java.lang.Object
com.wewebu.ow.server.ecm.eaop.OwReflectiveCollector
- All Implemented Interfaces:
- OwJoinPointResultCollector
- Direct Known Subclasses:
- OwPeerMethodCollector, OwrReturnTypeCollector
public abstract class OwReflectiveCollector
- extends Object
- implements OwJoinPointResultCollector
A result collector that uses reflection to match an abstract collect method
for each advice method call result.
Alfresco Workdesk
Copyright (c) Alfresco Software, Inc.
All rights reserved.
For licensing information read the license.txt file or
go to: http://wiki.alfresco.com
- Since:
- 4.0.0.0
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
OwReflectiveCollector
public OwReflectiveCollector()
canCollect
public boolean canCollect(Method method_p)
throws OwException
- Specified by:
canCollect
in interface OwJoinPointResultCollector
- Throws:
OwException
findCollectMethod
protected abstract Method findCollectMethod(Method method_p)
throws OwException
- Throws:
OwException
collect
public final void collect(Method method_p,
Object advice_p,
Object[] args_p,
Object result_p)
throws OwException
- Specified by:
collect
in interface OwJoinPointResultCollector
- Throws:
OwException
Copyright © 2013 Alfresco Business Solutions. All Rights Reserved.