public class RuntimeCapabilityRegistration extends CapabilityRegistration<RuntimeCapability>
RuntimeCapability. As a runtime capability is
associated with an actual management model, the registration exposes the point in the model
that triggered the registration.| Constructor and Description |
|---|
RuntimeCapabilityRegistration(RuntimeCapability capability,
CapabilityContext context,
RegistrationPoint registrationPoint) |
RuntimeCapabilityRegistration(RuntimeCapabilityRegistration toCopy)
Copy constructor.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
addRegistrationPoint(RegistrationPoint toAdd) |
RegistrationPoint |
getOldestRegistrationPoint()
Gets the registration point that been associated with the registration for the longest period.
|
int |
getRegistrationPointCount() |
Set<RegistrationPoint> |
getRegistrationPoints()
Get all registration points associated with this registration.
|
boolean |
removeRegistrationPoint(RegistrationPoint toAdd) |
equals, getCapability, getCapabilityContext, getCapabilityId, getCapabilityName, hashCodepublic RuntimeCapabilityRegistration(RuntimeCapability capability, CapabilityContext context, RegistrationPoint registrationPoint)
public RuntimeCapabilityRegistration(RuntimeCapabilityRegistration toCopy)
toCopy - the registration to copy. Cannot be nullpublic RegistrationPoint getOldestRegistrationPoint()
null if there are no longer any registration pointspublic Set<RegistrationPoint> getRegistrationPoints()
null but may be emptypublic boolean addRegistrationPoint(RegistrationPoint toAdd)
public boolean removeRegistrationPoint(RegistrationPoint toAdd)
public int getRegistrationPointCount()
Copyright © 2015 JBoss by Red Hat. All rights reserved.