org.apache.aries.blueprint.testbundlea
Class NSHandlerTwo
java.lang.Object
org.apache.aries.blueprint.testbundlea.NSHandlerTwo
- All Implemented Interfaces:
- NamespaceHandler
public class NSHandlerTwo
- extends java.lang.Object
- implements 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 java.lang.String |
NSURI
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NSURI
public static java.lang.String NSURI
NSHandlerTwo
public NSHandlerTwo()
decorate
public ComponentMetadata decorate(org.w3c.dom.Node node,
ComponentMetadata component,
ParserContext context)
- Specified by:
decorate in interface NamespaceHandler
parse
public Metadata parse(org.w3c.dom.Element element,
ParserContext context)
- Specified by:
parse in interface NamespaceHandler
getSchemaLocation
public java.net.URL getSchemaLocation(java.lang.String namespace)
- Specified by:
getSchemaLocation in interface NamespaceHandler
getManagedClasses
public java.util.Set<java.lang.Class> getManagedClasses()
- Specified by:
getManagedClasses in interface NamespaceHandler
getLog
public java.util.List<java.lang.String> getLog()
Copyright © 2009-2011 The Apache Software Foundation. All Rights Reserved.