org.glassfish.loadbalancer.admin.cli.reader.impl
Class PropertyReaderImpl

java.lang.Object
  extended by org.glassfish.loadbalancer.admin.cli.reader.impl.PropertyReaderImpl
All Implemented Interfaces:
BaseReader, PropertyReader

public class PropertyReaderImpl
extends java.lang.Object
implements PropertyReader

Provides property information relavant to Load balancer tier.

Author:
Kshitiz Saxena

Method Summary
 void accept(Visitor v)
          Accepts a visitor and calls its visit method
 java.lang.String getDescription()
          Returns description of the property
 java.lang.String getName()
          Returns name of the property
static PropertyReader[] getPropertyReaders(LbConfig _lbConfig)
           
static PropertyReader[] getPropertyReaders(java.util.Properties properties)
           
 java.lang.String getValue()
          Returns value of the property
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getPropertyReaders

public static PropertyReader[] getPropertyReaders(java.util.Properties properties)

getPropertyReaders

public static PropertyReader[] getPropertyReaders(LbConfig _lbConfig)

getName

public java.lang.String getName()
                         throws LbReaderException
Returns name of the property

Specified by:
getName in interface PropertyReader
Returns:
String name of the property
Throws:
LbReaderException

getValue

public java.lang.String getValue()
                          throws LbReaderException
Returns value of the property

Specified by:
getValue in interface PropertyReader
Returns:
String name of the value
Throws:
LbReaderException

getDescription

public java.lang.String getDescription()
                                throws LbReaderException
Returns description of the property

Specified by:
getDescription in interface PropertyReader
Returns:
String description of the property
Throws:
LbReaderException

accept

public void accept(Visitor v)
            throws java.lang.Exception
Description copied from interface: BaseReader
Accepts a visitor and calls its visit method

Specified by:
accept in interface BaseReader
Throws:
java.lang.Exception


Copyright © 2012 GlassFish Community. All Rights Reserved.