com.sun.enterprise.v3.services.impl
Class DummyNetworkListener

java.lang.Object
  extended by com.sun.enterprise.v3.services.impl.DummyNetworkListener
All Implemented Interfaces:
org.glassfish.grizzly.config.dom.NetworkListener, org.jvnet.hk2.component.Injectable, org.jvnet.hk2.config.ConfigBeanProxy, org.jvnet.hk2.config.types.PropertyBag

public class DummyNetworkListener
extends Object
implements org.glassfish.grizzly.config.dom.NetworkListener

This is a dummy implementation of the NetworkListener interface. This is used to create a fake network-listener elements. This is used only to support lazyInit attribute of iiop and jms services through the light weight listener. Ultimately, these services will move to their own network-listener element in domain.xml (at which point we have to get rid of this fake object). But till the time IIOP and JMS service elements in domain.xml can move to use network-listener element, we will create this "fake network-listener" which in turn will help start light weight listener for these services.


Nested Class Summary
 
Nested classes/interfaces inherited from interface org.glassfish.grizzly.config.dom.NetworkListener
org.glassfish.grizzly.config.dom.NetworkListener.Duck
 
Field Summary
 
Fields inherited from interface org.glassfish.grizzly.config.dom.NetworkListener
DEFAULT_ADDRESS, DEFAULT_CONFIGURATION_FILE, ENABLED, JK_ENABLED
 
Constructor Summary
DummyNetworkListener()
           
 
Method Summary
<T extends org.jvnet.hk2.config.ConfigBeanProxy>
T
createChild(Class<T> type)
           
 org.jvnet.hk2.config.ConfigBeanProxy deepCopy(org.jvnet.hk2.config.ConfigBeanProxy parent)
           
 org.glassfish.grizzly.config.dom.Protocol findHttpProtocol()
           
 String findHttpProtocolName()
           
 org.glassfish.grizzly.config.dom.Protocol findProtocol()
           
 org.glassfish.grizzly.config.dom.ThreadPool findThreadPool()
           
 org.glassfish.grizzly.config.dom.Transport findTransport()
           
 String getAddress()
           
 String getEnabled()
           
 String getJkConfigurationFile()
           
 String getJkEnabled()
           
 String getName()
           
 org.glassfish.grizzly.config.dom.NetworkListeners getParent()
           
<T extends org.jvnet.hk2.config.ConfigBeanProxy>
T
getParent(Class<T> c)
           
 String getPort()
           
 List<org.jvnet.hk2.config.types.Property> getProperty()
           
 org.jvnet.hk2.config.types.Property getProperty(String name)
           
 String getPropertyValue(String name)
           
 String getPropertyValue(String name, String defaultValue)
           
 String getProtocol()
           
 String getThreadPool()
           
 String getTransport()
           
 void injectedInto(Object target)
           
 void setAddress(String value)
           
 void setEnabled(String enabled)
           
 void setJkConfigurationFile(String jkConfigurationFile)
           
 void setJkEnabled(String value)
           
 void setName(String value)
           
 void setPort(String value)
           
 void setProtocol(String value)
           
 void setThreadPool(String value)
           
 void setTransport(String value)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DummyNetworkListener

public DummyNetworkListener()
Method Detail

getAddress

public String getAddress()
Specified by:
getAddress in interface org.glassfish.grizzly.config.dom.NetworkListener

setAddress

public void setAddress(String value)
Specified by:
setAddress in interface org.glassfish.grizzly.config.dom.NetworkListener

getEnabled

public String getEnabled()
Specified by:
getEnabled in interface org.glassfish.grizzly.config.dom.NetworkListener

setEnabled

public void setEnabled(String enabled)
Specified by:
setEnabled in interface org.glassfish.grizzly.config.dom.NetworkListener

getName

public String getName()
Specified by:
getName in interface org.glassfish.grizzly.config.dom.NetworkListener

setName

public void setName(String value)
Specified by:
setName in interface org.glassfish.grizzly.config.dom.NetworkListener

getPort

public String getPort()
Specified by:
getPort in interface org.glassfish.grizzly.config.dom.NetworkListener

setPort

public void setPort(String value)
Specified by:
setPort in interface org.glassfish.grizzly.config.dom.NetworkListener

getProtocol

public String getProtocol()
Specified by:
getProtocol in interface org.glassfish.grizzly.config.dom.NetworkListener

setProtocol

public void setProtocol(String value)
Specified by:
setProtocol in interface org.glassfish.grizzly.config.dom.NetworkListener

getThreadPool

public String getThreadPool()
Specified by:
getThreadPool in interface org.glassfish.grizzly.config.dom.NetworkListener

setThreadPool

public void setThreadPool(String value)
Specified by:
setThreadPool in interface org.glassfish.grizzly.config.dom.NetworkListener

getTransport

public String getTransport()
Specified by:
getTransport in interface org.glassfish.grizzly.config.dom.NetworkListener

setTransport

public void setTransport(String value)
Specified by:
setTransport in interface org.glassfish.grizzly.config.dom.NetworkListener

getJkEnabled

public String getJkEnabled()
Specified by:
getJkEnabled in interface org.glassfish.grizzly.config.dom.NetworkListener

setJkEnabled

public void setJkEnabled(String value)
Specified by:
setJkEnabled in interface org.glassfish.grizzly.config.dom.NetworkListener

getJkConfigurationFile

public String getJkConfigurationFile()
Specified by:
getJkConfigurationFile in interface org.glassfish.grizzly.config.dom.NetworkListener

setJkConfigurationFile

public void setJkConfigurationFile(String jkConfigurationFile)
Specified by:
setJkConfigurationFile in interface org.glassfish.grizzly.config.dom.NetworkListener

injectedInto

public void injectedInto(Object target)
Specified by:
injectedInto in interface org.jvnet.hk2.component.Injectable

createChild

public <T extends org.jvnet.hk2.config.ConfigBeanProxy> T createChild(Class<T> type)
                                                           throws org.jvnet.hk2.config.TransactionFailure
Specified by:
createChild in interface org.jvnet.hk2.config.ConfigBeanProxy
Throws:
org.jvnet.hk2.config.TransactionFailure

findProtocol

public org.glassfish.grizzly.config.dom.Protocol findProtocol()
Specified by:
findProtocol in interface org.glassfish.grizzly.config.dom.NetworkListener

findHttpProtocolName

public String findHttpProtocolName()
Specified by:
findHttpProtocolName in interface org.glassfish.grizzly.config.dom.NetworkListener

findHttpProtocol

public org.glassfish.grizzly.config.dom.Protocol findHttpProtocol()
Specified by:
findHttpProtocol in interface org.glassfish.grizzly.config.dom.NetworkListener

findThreadPool

public org.glassfish.grizzly.config.dom.ThreadPool findThreadPool()
Specified by:
findThreadPool in interface org.glassfish.grizzly.config.dom.NetworkListener

findTransport

public org.glassfish.grizzly.config.dom.Transport findTransport()
Specified by:
findTransport in interface org.glassfish.grizzly.config.dom.NetworkListener

getParent

public org.glassfish.grizzly.config.dom.NetworkListeners getParent()
Specified by:
getParent in interface org.glassfish.grizzly.config.dom.NetworkListener
Specified by:
getParent in interface org.jvnet.hk2.config.ConfigBeanProxy

getParent

public <T extends org.jvnet.hk2.config.ConfigBeanProxy> T getParent(Class<T> c)
Specified by:
getParent in interface org.jvnet.hk2.config.ConfigBeanProxy

deepCopy

public org.jvnet.hk2.config.ConfigBeanProxy deepCopy(org.jvnet.hk2.config.ConfigBeanProxy parent)
Specified by:
deepCopy in interface org.jvnet.hk2.config.ConfigBeanProxy

getProperty

public List<org.jvnet.hk2.config.types.Property> getProperty()
Specified by:
getProperty in interface org.jvnet.hk2.config.types.PropertyBag

getProperty

public org.jvnet.hk2.config.types.Property getProperty(String name)
Specified by:
getProperty in interface org.jvnet.hk2.config.types.PropertyBag

getPropertyValue

public String getPropertyValue(String name)
Specified by:
getPropertyValue in interface org.jvnet.hk2.config.types.PropertyBag

getPropertyValue

public String getPropertyValue(String name,
                               String defaultValue)
Specified by:
getPropertyValue in interface org.jvnet.hk2.config.types.PropertyBag


Copyright © 2012. All Rights Reserved.