org.nanocontainer.aop.dynaop
Class InstanceMixinFactory

java.lang.Object
  extended by org.nanocontainer.aop.dynaop.InstanceMixinFactory
All Implemented Interfaces:
dynaop.MixinFactory

public class InstanceMixinFactory
extends Object
implements dynaop.MixinFactory

Produces mixin advice from a mixin instance object.

Version:
$Revision: 3144 $
Author:
Stephen Molitor

Constructor Summary
InstanceMixinFactory(Object instance)
          Creates a new InstanceMixinFactory with the given mixin instance.
 
Method Summary
 Object create(dynaop.Proxy proxy)
          Returns the mixin instance passed to the constructor.
 Properties getProperties()
          Used for debugging.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

InstanceMixinFactory

public InstanceMixinFactory(Object instance)
Creates a new InstanceMixinFactory with the given mixin instance.

Parameters:
instance - the mixin instance.
Method Detail

create

public Object create(dynaop.Proxy proxy)
Returns the mixin instance passed to the constructor.

Specified by:
create in interface dynaop.MixinFactory
Parameters:
proxy - not used.
Returns:
the mixin instance object passed to the constructor.

getProperties

public Properties getProperties()
Used for debugging.

Specified by:
getProperties in interface dynaop.MixinFactory
Returns:
a set of properties useful for debugging.


Copyright © 2003-2009 Codehaus. All Rights Reserved.