|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.glassfish.jersey.server.model.ResourceModel
public class ResourceModel
Resource model of the deployed application which contains set of root resources. As it implements ResourceModelComponent it can be validated by component model validator which will perform
validation of the entire resource model including all sub components (resources,
resource methods ...).
| Constructor Summary | |
|---|---|
ResourceModel(List<Resource> resources)
Creates new instance from root resources. |
|
| Method Summary | |
|---|---|
void |
accept(ResourceModelVisitor visitor)
A component should call the visitor back with an appropriate visitor interface method to give it a chance to process. |
List<? extends ResourceModelComponent> |
getComponents()
Should return all existing resource model sub-components. |
List<Resource> |
getResources()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ResourceModel(List<Resource> resources)
resources - Root resource of the resource model.| Method Detail |
|---|
public List<Resource> getResources()
public void accept(ResourceModelVisitor visitor)
ResourceModelComponent
accept in interface ResourceModelComponentvisitor - resource model visitor.public List<? extends ResourceModelComponent> getComponents()
ResourceModelComponent
getComponents in interface ResourceModelComponent
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||