org.apache.cxf.management.web.logging.atom
Class AtomPullServer

java.lang.Object
  extended by org.apache.cxf.management.web.logging.atom.AbstractAtomBean
      extended by org.apache.cxf.management.web.logging.atom.AtomPullServer

public class AtomPullServer
extends AbstractAtomBean


Nested Class Summary
 
Nested classes/interfaces inherited from class org.apache.cxf.management.web.logging.atom.AbstractAtomBean
AbstractAtomBean.LoggerLevel
 
Constructor Summary
AtomPullServer()
           
 
Method Summary
 void close()
           
protected  Handler createHandler()
           
protected  int fillSubList(List<LogRecord> list, int page, SearchCondition<LogRecord> theSearch)
           
 String getAlternateEntry(int index)
           
 String getAlternateFeed(int page)
           
 org.apache.abdera.model.Entry getEntry(int index)
           
 int getNumberOfAvailableRecords()
           
 org.apache.abdera.model.Feed getXmlFeed()
           
 org.apache.abdera.model.Feed getXmlFeedWithPage(int page)
           
 void init()
          Initializes bean; creates ATOM handler based on current properties state, and attaches handler to logger(s).
protected  void initBusProperty()
           
 void publish(LogRecord record)
           
 void reset()
           
 void setEndpointAddress(String address)
           
 void setEndpointAddresses(List<String> addresses)
           
protected  void setFeedPageProperties(org.apache.abdera.model.Feed feed, int page, int lastPage)
           
 void setMaxInMemorySize(int maxInMemorySize)
           
 void setPageSize(int size)
           
 void setServerAddress(String address)
           
 void setStorage(ReadableLogStorage storage)
           
 
Methods inherited from class org.apache.cxf.management.web.logging.atom.AbstractAtomBean
checkInit, getBus, getLoggers, setBus, setLevel, setLogger, setLoggers
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AtomPullServer

public AtomPullServer()
Method Detail

setEndpointAddress

public void setEndpointAddress(String address)

setEndpointAddresses

public void setEndpointAddresses(List<String> addresses)

setServerAddress

public void setServerAddress(String address)

init

public void init()
Description copied from class: AbstractAtomBean
Initializes bean; creates ATOM handler based on current properties state, and attaches handler to logger(s).

Overrides:
init in class AbstractAtomBean

createHandler

protected Handler createHandler()
Specified by:
createHandler in class AbstractAtomBean

initBusProperty

protected void initBusProperty()

getXmlFeed

public org.apache.abdera.model.Feed getXmlFeed()

getXmlFeedWithPage

public org.apache.abdera.model.Feed getXmlFeedWithPage(int page)

getAlternateFeed

public String getAlternateFeed(int page)

getEntry

public org.apache.abdera.model.Entry getEntry(int index)

getAlternateEntry

public String getAlternateEntry(int index)

getNumberOfAvailableRecords

public int getNumberOfAvailableRecords()

fillSubList

protected int fillSubList(List<LogRecord> list,
                          int page,
                          SearchCondition<LogRecord> theSearch)

setFeedPageProperties

protected void setFeedPageProperties(org.apache.abdera.model.Feed feed,
                                     int page,
                                     int lastPage)

publish

public void publish(LogRecord record)

setPageSize

public void setPageSize(int size)

setMaxInMemorySize

public void setMaxInMemorySize(int maxInMemorySize)

setStorage

public void setStorage(ReadableLogStorage storage)

close

public void close()

reset

public void reset()


Apache CXF