|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eclipse.ecf.osgi.services.remoteserviceadmin.EndpointDescriptionAdvertiser
public class EndpointDescriptionAdvertiser
Default implementation of IEndpointDescriptionAdvertiser.
| Constructor Summary | |
|---|---|
EndpointDescriptionAdvertiser(EndpointDescriptionLocator endpointDescriptionLocator)
|
|
| Method Summary | |
|---|---|
org.eclipse.core.runtime.IStatus |
advertise(EndpointDescription endpointDescription)
Advertise/publish the given endpoint description. |
org.eclipse.core.runtime.IStatus |
advertise(org.osgi.service.remoteserviceadmin.EndpointDescription endpointDescription)
Advertise/publish the given endpoint description. |
void |
close()
|
protected org.eclipse.core.runtime.IStatus |
createErrorStatus(java.lang.String message)
|
protected org.eclipse.core.runtime.IStatus |
createErrorStatus(java.lang.String message,
java.lang.Throwable e)
|
protected org.eclipse.core.runtime.IStatus |
doDiscovery(EndpointDescription endpointDescription,
boolean advertise)
|
protected org.eclipse.core.runtime.IStatus |
doDiscovery(IDiscoveryAdvertiser discoveryAdvertiser,
IServiceInfo serviceInfo,
boolean advertise)
|
protected org.eclipse.core.runtime.IStatus |
doDiscovery(org.osgi.service.remoteserviceadmin.EndpointDescription endpointDescription,
boolean advertise)
|
protected IDiscoveryAdvertiser[] |
getDiscoveryAdvertisers()
|
protected IServiceInfoFactory |
getServiceInfoFactory()
|
protected void |
trace(java.lang.String methodName,
java.lang.String message)
|
org.eclipse.core.runtime.IStatus |
unadvertise(EndpointDescription endpointDescription)
Unadvertise/unpublishe the given endpoint description. |
org.eclipse.core.runtime.IStatus |
unadvertise(org.osgi.service.remoteserviceadmin.EndpointDescription endpointDescription)
Unadvertise/unpublishe the given endpoint description. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public EndpointDescriptionAdvertiser(EndpointDescriptionLocator endpointDescriptionLocator)
| Method Detail |
|---|
public org.eclipse.core.runtime.IStatus advertise(EndpointDescription endpointDescription)
IEndpointDescriptionAdvertiser
advertise in interface IEndpointDescriptionAdvertiserendpointDescription - the endpoint description to advertise. Must not be
null.
false from
IStatus.isOK(), then the advertisement failed. The
IStatus can be further inspected for exception information and/or
child statuses.IStatus
protected void trace(java.lang.String methodName,
java.lang.String message)
protected org.eclipse.core.runtime.IStatus doDiscovery(IDiscoveryAdvertiser discoveryAdvertiser,
IServiceInfo serviceInfo,
boolean advertise)
protected IServiceInfoFactory getServiceInfoFactory()
protected IDiscoveryAdvertiser[] getDiscoveryAdvertisers()
protected org.eclipse.core.runtime.IStatus createErrorStatus(java.lang.String message)
protected org.eclipse.core.runtime.IStatus createErrorStatus(java.lang.String message,
java.lang.Throwable e)
protected org.eclipse.core.runtime.IStatus doDiscovery(EndpointDescription endpointDescription,
boolean advertise)
public org.eclipse.core.runtime.IStatus unadvertise(EndpointDescription endpointDescription)
IEndpointDescriptionAdvertiser
unadvertise in interface IEndpointDescriptionAdvertiserendpointDescription - the endpoint description to unadvertise. Must not be
null.
false from
IStatus.isOK(), then the unadvertisement failed. The
IStatus can be further inspected for exception information and/or
child statuses.IStatuspublic void close()
public org.eclipse.core.runtime.IStatus advertise(org.osgi.service.remoteserviceadmin.EndpointDescription endpointDescription)
IEndpointDescriptionAdvertiser
advertise in interface IEndpointDescriptionAdvertiserendpointDescription - the endpoint description to advertise. Must not be
null.
false from
IStatus.isOK(), then the advertisement failed. The
IStatus can be further inspected for exception information and/or
child statuses.IStatus
protected org.eclipse.core.runtime.IStatus doDiscovery(org.osgi.service.remoteserviceadmin.EndpointDescription endpointDescription,
boolean advertise)
public org.eclipse.core.runtime.IStatus unadvertise(org.osgi.service.remoteserviceadmin.EndpointDescription endpointDescription)
IEndpointDescriptionAdvertiser
unadvertise in interface IEndpointDescriptionAdvertiserendpointDescription - the endpoint description to unadvertise. Must not be
null.
false from
IStatus.isOK(), then the unadvertisement failed. The
IStatus can be further inspected for exception information and/or
child statuses.IStatus
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||