Class PropertyReaderImpl
- java.lang.Object
-
- org.glassfish.loadbalancer.admin.cli.reader.impl.PropertyReaderImpl
-
- All Implemented Interfaces:
BaseReader,PropertyReader
public class PropertyReaderImpl extends Object implements PropertyReader
Provides property information relavant to Load balancer tier.- Author:
- Kshitiz Saxena
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaccept(Visitor v)Accepts a visitor and calls its visit methodStringgetDescription()Returns description of the propertyStringgetName()Returns name of the propertystatic PropertyReader[]getPropertyReaders(Properties properties)static PropertyReader[]getPropertyReaders(LbConfig _lbConfig)StringgetValue()Returns value of the property
-
-
-
Method Detail
-
getPropertyReaders
public static PropertyReader[] getPropertyReaders(Properties properties)
-
getPropertyReaders
public static PropertyReader[] getPropertyReaders(LbConfig _lbConfig)
-
getName
public String getName() throws LbReaderException
Returns name of the property- Specified by:
getNamein interfacePropertyReader- Returns:
- String name of the property
- Throws:
LbReaderException
-
getValue
public String getValue() throws LbReaderException
Returns value of the property- Specified by:
getValuein interfacePropertyReader- Returns:
- String name of the value
- Throws:
LbReaderException
-
getDescription
public String getDescription() throws LbReaderException
Returns description of the property- Specified by:
getDescriptionin interfacePropertyReader- Returns:
- String description of the property
- Throws:
LbReaderException
-
accept
public void accept(Visitor v) throws Exception
Description copied from interface:BaseReaderAccepts a visitor and calls its visit method- Specified by:
acceptin interfaceBaseReader- Throws:
Exception
-
-