{
resource = find( key );
}
catch ( ResourceException re )
{
throw new ResourceUnknownException( key.getValue( ),
resourceContext.getServiceName( ) );
/**
* You can build an EndpointReference for a Resource you create by uncommenting the following code.
* Note: You can set the EndpointReference on your Resource using the setter (not in Resource interface)