org.glassfish.admin.rest
Class RestConfigChangeListener

java.lang.Object
  extended by org.glassfish.admin.rest.RestConfigChangeListener
All Implemented Interfaces:
org.jvnet.hk2.config.ConfigListener

public class RestConfigChangeListener
extends java.lang.Object
implements org.jvnet.hk2.config.ConfigListener

This test listen to a property change event only injecting the parent containing the property.

Author:
Ludovic Champenois

Constructor Summary
RestConfigChangeListener(org.jvnet.hk2.component.Habitat habitat, Reloader reload, com.sun.jersey.api.core.ResourceConfig rc, ServerContext sc)
           
 
Method Summary
 org.jvnet.hk2.config.UnprocessedChangeEvents changed(java.beans.PropertyChangeEvent[] events)
           
static RestConfig getRestConfig(org.jvnet.hk2.component.Habitat habitat)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RestConfigChangeListener

public RestConfigChangeListener(org.jvnet.hk2.component.Habitat habitat,
                                Reloader reload,
                                com.sun.jersey.api.core.ResourceConfig rc,
                                ServerContext sc)
Method Detail

changed

public org.jvnet.hk2.config.UnprocessedChangeEvents changed(java.beans.PropertyChangeEvent[] events)
Specified by:
changed in interface org.jvnet.hk2.config.ConfigListener

getRestConfig

public static RestConfig getRestConfig(org.jvnet.hk2.component.Habitat habitat)


Copyright © 2012 GlassFish Community. All Rights Reserved.