org.apache.aries.blueprint.testbundlea
Class NSHandlerTwo

java.lang.Object
  extended by org.apache.aries.blueprint.testbundlea.NSHandlerTwo
All Implemented Interfaces:
org.apache.aries.blueprint.NamespaceHandler

public class NSHandlerTwo
extends Object
implements org.apache.aries.blueprint.NamespaceHandler

A simple example namespace handler, that understands an element, and 2 attributes When attribone is found on a bean, an interceptor is added that will track invocations. This handler is designed to exercise aspects of the NamespaceHandler capability set.


Field Summary
static String NSURI
           
 
Constructor Summary
NSHandlerTwo()
           
 
Method Summary
 org.osgi.service.blueprint.reflect.ComponentMetadata decorate(Node node, org.osgi.service.blueprint.reflect.ComponentMetadata component, org.apache.aries.blueprint.ParserContext context)
           
 List<String> getLog()
           
 Set<Class> getManagedClasses()
           
 URL getSchemaLocation(String namespace)
           
 org.osgi.service.blueprint.reflect.Metadata parse(Element element, org.apache.aries.blueprint.ParserContext context)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

NSURI

public static String NSURI
Constructor Detail

NSHandlerTwo

public NSHandlerTwo()
Method Detail

decorate

public org.osgi.service.blueprint.reflect.ComponentMetadata decorate(Node node,
                                                                     org.osgi.service.blueprint.reflect.ComponentMetadata component,
                                                                     org.apache.aries.blueprint.ParserContext context)
Specified by:
decorate in interface org.apache.aries.blueprint.NamespaceHandler

parse

public org.osgi.service.blueprint.reflect.Metadata parse(Element element,
                                                         org.apache.aries.blueprint.ParserContext context)
Specified by:
parse in interface org.apache.aries.blueprint.NamespaceHandler

getSchemaLocation

public URL getSchemaLocation(String namespace)
Specified by:
getSchemaLocation in interface org.apache.aries.blueprint.NamespaceHandler

getManagedClasses

public Set<Class> getManagedClasses()
Specified by:
getManagedClasses in interface org.apache.aries.blueprint.NamespaceHandler

getLog

public List<String> getLog()


Copyright © 2009-2011 The Apache Software Foundation. All Rights Reserved.