com.wewebu.ow.server.ecm.eaop
Class OwThreadAdviser

java.lang.Object
  extended by com.wewebu.ow.server.ecm.eaop.OwThreadAdviser
All Implemented Interfaces:
OwAdviser

public class OwThreadAdviser
extends Object
implements OwAdviser

A thread localized advice collection.

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

Method Summary
 void add(Object... advices_p)
           
static OwThreadAdviser currentAdviser()
           
<A> List<A>
get(Class<A> advicerClass_p)
           
 void remove(Object... advices_p)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

currentAdviser

public static OwThreadAdviser currentAdviser()

add

public void add(Object... advices_p)
         throws OwInvalidOperationException
Specified by:
add in interface OwAdviser
Throws:
OwInvalidOperationException

remove

public void remove(Object... advices_p)
            throws OwInvalidOperationException
Specified by:
remove in interface OwAdviser
Throws:
OwInvalidOperationException

get

public <A> List<A> get(Class<A> advicerClass_p)
            throws OwInvalidOperationException
Specified by:
get in interface OwAdviser
Throws:
OwInvalidOperationException


Copyright © 2013 Alfresco Business Solutions. All Rights Reserved.