org.apache.cxf.management.web.logging.atom
Class AtomPullServer
java.lang.Object
org.apache.cxf.management.web.logging.atom.AbstractAtomBean
org.apache.cxf.management.web.logging.atom.AtomPullServer
@Path(value="/logs")
public class AtomPullServer
- extends AbstractAtomBean
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AtomPullServer
public AtomPullServer()
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
@Path(value="{id}")
public org.apache.abdera.model.Feed getXmlFeedWithPage(int page)
getAlternateFeed
@Path(value="alternate/{id}")
public String getAlternateFeed(int page)
getEntry
@Path(value="entry/{id}")
public org.apache.abdera.model.Entry getEntry(int index)
getAlternateEntry
@Path(value="entry/alternate/{id}")
public String getAlternateEntry(int index)
getNumberOfAvailableRecords
@Path(value="records")
public int getNumberOfAvailableRecords()
fillSubList
protected int fillSubList(List<LogRecord> list,
int page,
org.apache.cxf.jaxrs.ext.search.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