org.glassfish.config.support
Class GlassFishConfigBean

java.lang.Object
  extended by com.sun.hk2.component.AbstractInhabitantImpl<T>
      extended by com.sun.hk2.component.LazyInhabitant
          extended by org.jvnet.hk2.config.Dom
              extended by org.jvnet.hk2.config.ConfigBean
                  extended by org.glassfish.config.support.GlassFishConfigBean
All Implemented Interfaces:
com.sun.hk2.component.Holder, InvocationHandler, org.jvnet.hk2.component.Inhabitant, org.jvnet.hk2.config.ConfigView, org.jvnet.hk2.config.ObservableBean

public final class GlassFishConfigBean
extends org.jvnet.hk2.config.ConfigBean

Translated view of a configured objects where values can be represented with a @{xx.yy.zz} name to be translated using a property value translator.

Author:
Jerome Dochez

Nested Class Summary
 
Nested classes/interfaces inherited from interface com.sun.hk2.component.Holder
com.sun.hk2.component.Holder.Impl<T>
 
Field Summary
 
Fields inherited from class org.jvnet.hk2.config.Dom
document, model
 
Fields inherited from class com.sun.hk2.component.LazyInhabitant
habitat
 
Constructor Summary
GlassFishConfigBean(org.jvnet.hk2.config.Dom source, org.jvnet.hk2.config.Dom parent)
           
GlassFishConfigBean(org.jvnet.hk2.component.Habitat habitat, org.jvnet.hk2.config.DomDocument document, GlassFishConfigBean parent, org.jvnet.hk2.config.ConfigModel model, XMLStreamReader in)
           
 
Method Summary
protected
<T extends org.jvnet.hk2.config.Dom>
T
copy(T parent)
          Returns a copy of itself
<T extends org.jvnet.hk2.config.ConfigBeanProxy>
T
createProxy(Class<T> proxyType)
           
static
<T extends org.jvnet.hk2.config.ConfigBeanProxy>
T
getRawView(T s)
          Returns the translated view of a configuration object
 void initializationCompleted()
           
 String toString()
           
 
Methods inherited from class org.jvnet.hk2.config.ConfigBean
addInterceptor, allocate, getLock, getMasterView, getObjectName, getOptionalFeature, getProxy, getter, parent, setMasterView, setObjectName, setter
 
Methods inherited from class org.jvnet.hk2.config.Dom
addDefaultChildren, addLeafElement, addListener, attribute, attribute, attributes, changeLeafElement, convertName, createProxy, createWomb, digAnnotation, digAnnotation, domNodeByTypeElements, element, getAttributeNames, getElementNames, getHabitat, getInjector, getKey, getLocation, getProxyType, getSymbolSpaceRoot, inject, injectInto, insertAfter, invoke, invoke, leafElement, leafElements, nodeByTypeElement, nodeByTypeElements, nodeElement, nodeElements, rawAttribute, rawLeafElement, rawLeafElements, release, removeChild, removeLeafElement, removeListener, replaceChild, resolveReference, setLeafElements, setNodeElements, unwrap, writeTo
 
Methods inherited from class com.sun.hk2.component.LazyInhabitant
get, isInstantiated, metadata, type, typeName
 
Methods inherited from class com.sun.hk2.component.AbstractInhabitantImpl
companions, get, getSerializedMetadata, getSerializedMetadata, lead, setCompanions
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.jvnet.hk2.config.ConfigView
getProxyType
 
Methods inherited from interface java.lang.reflect.InvocationHandler
invoke
 

Constructor Detail

GlassFishConfigBean

public GlassFishConfigBean(org.jvnet.hk2.component.Habitat habitat,
                           org.jvnet.hk2.config.DomDocument document,
                           GlassFishConfigBean parent,
                           org.jvnet.hk2.config.ConfigModel model,
                           XMLStreamReader in)

GlassFishConfigBean

public GlassFishConfigBean(org.jvnet.hk2.config.Dom source,
                           org.jvnet.hk2.config.Dom parent)
Method Detail

getRawView

public static <T extends org.jvnet.hk2.config.ConfigBeanProxy> T getRawView(T s)
Returns the translated view of a configuration object

Parameters:
s - the config-api interface implementation
Returns:
the new interface implementation providing the raw view

createProxy

public <T extends org.jvnet.hk2.config.ConfigBeanProxy> T createProxy(Class<T> proxyType)
Overrides:
createProxy in class org.jvnet.hk2.config.Dom

copy

protected <T extends org.jvnet.hk2.config.Dom> T copy(T parent)
Returns a copy of itself

Returns:
a copy of itself.

initializationCompleted

public void initializationCompleted()
Overrides:
initializationCompleted in class org.jvnet.hk2.config.Dom

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2012 GlassFish Community. All Rights Reserved.