public class UDDISubscriptionImpl extends AuthenticatedService implements org.uddi.v3_service.UDDISubscriptionPortType
Modifier and Type | Field and Description |
---|---|
static String |
CHUNK_TOKEN_PREFIX |
static int |
DEFAULT_CHUNKEXPIRATION_MINUTES |
static int |
DEFAULT_SUBSCRIPTIONEXPIRATION_DAYS |
AUTHTOKEN_ACTIVE, AUTHTOKEN_RETIRED, baseUrl, baseUrlSSL, ctx, df, UTF8
Constructor and Description |
---|
UDDISubscriptionImpl() |
Modifier and Type | Method and Description |
---|---|
void |
deleteSubscription(org.uddi.sub_v3.DeleteSubscription body) |
protected void |
doRenewal(Subscription existingSubscription,
org.uddi.sub_v3.Subscription apiSubscription)
Will perform the necessary logic for when a subscription is renewed (evidenced by a subscription with the same key in existence).
|
protected void |
doSubscriptionExpirationDate(org.uddi.sub_v3.Subscription apiSubscription)
Will add the expiration date to the provided subscription request.
|
protected List<?> |
getSubscriptionMatches(org.uddi.sub_v3.SubscriptionFilter subscriptionFilter,
javax.persistence.EntityManager em)
Will take a snapshot of the keys that match the subscription filter return them.
|
org.uddi.sub_v3.SubscriptionResultsList |
getSubscriptionResults(org.uddi.sub_v3.GetSubscriptionResults body) |
org.uddi.sub_v3.SubscriptionResultsList |
getSubscriptionResults(org.uddi.sub_v3.GetSubscriptionResults body,
UddiEntityPublisher publisher) |
List<org.uddi.sub_v3.Subscription> |
getSubscriptions(String authInfo) |
void |
saveSubscription(String authInfo,
Holder<List<org.uddi.sub_v3.Subscription>> subscription) |
getEntityPublisher, getNode, getRequestorsIPAddress, setContext
public static final int DEFAULT_SUBSCRIPTIONEXPIRATION_DAYS
public static final int DEFAULT_CHUNKEXPIRATION_MINUTES
public static final String CHUNK_TOKEN_PREFIX
public void deleteSubscription(org.uddi.sub_v3.DeleteSubscription body) throws org.uddi.v3_service.DispositionReportFaultMessage
deleteSubscription
in interface org.uddi.v3_service.UDDISubscriptionPortType
org.uddi.v3_service.DispositionReportFaultMessage
public org.uddi.sub_v3.SubscriptionResultsList getSubscriptionResults(org.uddi.sub_v3.GetSubscriptionResults body) throws org.uddi.v3_service.DispositionReportFaultMessage
getSubscriptionResults
in interface org.uddi.v3_service.UDDISubscriptionPortType
org.uddi.v3_service.DispositionReportFaultMessage
public org.uddi.sub_v3.SubscriptionResultsList getSubscriptionResults(org.uddi.sub_v3.GetSubscriptionResults body, UddiEntityPublisher publisher) throws org.uddi.v3_service.DispositionReportFaultMessage
org.uddi.v3_service.DispositionReportFaultMessage
public List<org.uddi.sub_v3.Subscription> getSubscriptions(String authInfo) throws org.uddi.v3_service.DispositionReportFaultMessage
getSubscriptions
in interface org.uddi.v3_service.UDDISubscriptionPortType
org.uddi.v3_service.DispositionReportFaultMessage
public void saveSubscription(String authInfo, Holder<List<org.uddi.sub_v3.Subscription>> subscription) throws org.uddi.v3_service.DispositionReportFaultMessage
saveSubscription
in interface org.uddi.v3_service.UDDISubscriptionPortType
org.uddi.v3_service.DispositionReportFaultMessage
protected void doRenewal(Subscription existingSubscription, org.uddi.sub_v3.Subscription apiSubscription) throws org.uddi.v3_service.DispositionReportFaultMessage
existingSubscription
- - existing stored subscriptionapiSubscription
- - renewal subscription requestorg.uddi.v3_service.DispositionReportFaultMessage
protected void doSubscriptionExpirationDate(org.uddi.sub_v3.Subscription apiSubscription) throws org.uddi.v3_service.DispositionReportFaultMessage
apiSubscription
- org.uddi.v3_service.DispositionReportFaultMessage
protected List<?> getSubscriptionMatches(org.uddi.sub_v3.SubscriptionFilter subscriptionFilter, javax.persistence.EntityManager em) throws org.uddi.v3_service.DispositionReportFaultMessage
subscriptionFilter
- em
- org.uddi.v3_service.DispositionReportFaultMessage
Copyright © 2004–2021 The Apache Software Foundation. All rights reserved.