|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectRepository.RepoTokenImpl
Repository.RepoQueryImpl
Query and Notification Web Service.
Changes:
alexis.grandemange@pagebox.net
Copyright (c) 2002-2004 Alexis Grandemange
This program is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; version 2.1 of the License. This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. A copy of the GNU Lesser General Public License lesser.txt should be included in the distribution.
Nested Class Summary |
Nested classes inherited from class Repository.RepoTokenImpl |
RepoTokenImpl.Context, RepoTokenImpl.RepoTokenThread |
Nested classes inherited from class Repository.RepoQueryIF |
RepoQueryIF.AuthSub, RepoQueryIF.UrlStatus |
Field Summary |
Fields inherited from class Repository.RepoTokenImpl |
ctx, period, sec, tt |
Constructor Summary | |
RepoQueryImpl()
|
Method Summary | |
void |
destroy()
ServiceLifeCycle method. |
RepoQueryIF.AuthSub[] |
GetSubscribers(java.lang.String archive)
Query API. |
(package private) RepoQueryIF.AuthSub[] |
GetSubscribers(java.lang.String archive,
java.lang.String user)
Core implementation. |
void |
init(java.lang.Object context)
ServiceLifeCycle method. |
(package private) void |
init2(ServletContext ctx)
Common initialization stuff. |
void |
Notify(java.lang.String archive,
RepoQueryIF.UrlStatus[] subscribers)
Query API. |
void |
Notify(java.lang.String archive,
RepoQueryIF.UrlStatus[] subscribers,
java.lang.String user)
Core implementation. |
void |
NotifyFix(java.lang.String subscriber,
FixArch[] archives)
Query API. |
void |
NotifyFix(java.lang.String subscriber,
FixArch[] archives,
java.lang.String user)
Core implementation. |
Methods inherited from class Repository.RepoTokenImpl |
end, frameSend, frameSend, frameSend2, frameSend2, test, tokenInit, tokenRegister, tokenRegister, tokenUnregister, tokenUnregister |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface Repository.RepoTokenIF |
tokenRegister, tokenUnregister |
Constructor Detail |
public RepoQueryImpl()
Method Detail |
public void init(java.lang.Object context) throws ServiceException
Called at initialization.
context
- ServletEndpoint Context
ServiceException
void init2(ServletContext ctx)
ctx
- servlet contextpublic void destroy()
Called at destruction.
public RepoQueryIF.AuthSub[] GetSubscribers(java.lang.String archive)
GetSubscribers
in interface RepoQueryIF
archive
- archive name
RepoQueryIF.AuthSub[] GetSubscribers(java.lang.String archive, java.lang.String user)
archive
- archive nameuser
- user who made the request
public void Notify(java.lang.String archive, RepoQueryIF.UrlStatus[] subscribers)
Notify
in interface RepoQueryIF
archive
- archive namepublic void Notify(java.lang.String archive, RepoQueryIF.UrlStatus[] subscribers, java.lang.String user)
archive
- archive nameuser
- user who made the requestpublic void NotifyFix(java.lang.String subscriber, FixArch[] archives)
NotifyFix
in interface RepoQueryIF
subscriber
- PageBox whose setting pb was fixedarchives
- whose pb was fixedpublic void NotifyFix(java.lang.String subscriber, FixArch[] archives, java.lang.String user)
subscriber
- PageBox whose setting pb was fixedarchives
- whose pb was fixeduser
- user who made the request
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |