|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.kuali.rice.ksb.api.registry.ServiceEndpoint.Builder
public static final class ServiceEndpoint.Builder
A builder which can be used to construct ServiceEndpoint
instances. Enforces the constraints of the ServiceEndpointContract
.
Method Summary | |
---|---|
ServiceEndpoint |
build()
Returns an instance of the object being built by this builder based on the current state of the builder. |
static ServiceEndpoint.Builder |
create(ServiceEndpointContract contract)
|
static ServiceEndpoint.Builder |
create(ServiceInfo.Builder info,
ServiceDescriptor.Builder descriptor)
|
ServiceDescriptor.Builder |
getDescriptor()
Returns the service descriptor for this endpoint. |
ServiceInfo.Builder |
getInfo()
Returns the service information for this endpoint. |
void |
setDescriptor(ServiceDescriptor.Builder descriptor)
|
void |
setInfo(ServiceInfo.Builder info)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static ServiceEndpoint.Builder create(ServiceInfo.Builder info, ServiceDescriptor.Builder descriptor)
public static ServiceEndpoint.Builder create(ServiceEndpointContract contract)
public ServiceEndpoint build()
ModelBuilder
build
in interface ModelBuilder
public ServiceInfo.Builder getInfo()
ServiceEndpointContract
getInfo
in interface ServiceEndpointContract
public ServiceDescriptor.Builder getDescriptor()
ServiceEndpointContract
getDescriptor
in interface ServiceEndpointContract
public void setInfo(ServiceInfo.Builder info)
public void setDescriptor(ServiceDescriptor.Builder descriptor)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |